brcomsubrole

package
v0.0.0-...-9649b88 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BridgeRole

type BridgeRole struct {
}

func (*BridgeRole) AddBridge

func (this *BridgeRole) AddBridge(bridge string, properties ...string)

func (*BridgeRole) ForceAddBridge

func (this *BridgeRole) ForceAddBridge(bridge string, properties ...string) (string, error)

func (*BridgeRole) OfctlExec

func (this *BridgeRole) OfctlExec(args ...string) (string, error)

func (*BridgeRole) VsctlExec

func (this *BridgeRole) VsctlExec(args ...string) (string, error)

type PortRole

type PortRole struct {
	BridgeRole BridgeRole
}

func (*PortRole) AddPort

func (this *PortRole) AddPort(bridge string, port string, ofPort uint, properties ...string) (string, error)

func (*PortRole) DeletePort

func (this *PortRole) DeletePort(port string) (string, error)

DeletePort removes an interface from the bridge. (It is an error if the interface is not currently a bridge port.)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL