Documentation ¶
Index ¶
- type BrintRole
- func (this *BrintRole) AddBridge(properties ...string)
- func (this *BrintRole) AddPort(port string, ofPort uint, properties ...string) (string, error)
- func (this *BrintRole) DecRefCount(networkID, podNs, podName string) error
- func (this *BrintRole) DelPortTable(portID string) error
- func (this *BrintRole) DelTenantNetworkTable(networkID string) error
- func (this *BrintRole) GetDefaultGwIP() string
- func (this *BrintRole) GetDefaultGwNetworkID() string
- func (this *BrintRole) GetPortTable(portID string) (string, error)
- func (this *BrintRole) GetTenantNetworkTable(networkID string) (*brintsubrole.TenantNetworkValue, error)
- func (this *BrintRole) GetVlanID(networkID string) (string, error)
- func (this *BrintRole) IncRefCount(networkID, podNs, podName string) error
- func (this *BrintRole) InsertPortTable(portID, portName string) error
- func (this *BrintRole) InsertTenantNetworkTable(networkID string, vni int, vlanID string) error
- func (this *BrintRole) LoadTenantNetworkTable() error
- func (this *BrintRole) NeedDelTenantNetworkTable(networkID string) bool
- type BrtunRole
- func (this *BrtunRole) AddNetwork(networkID string, vni int, vlanID string) error
- func (this *BrtunRole) AddPort(port string, ofPort uint, properties ...string) (string, error)
- func (this *BrtunRole) RemoveNetwork(networkID string) error
- func (this *BrtunRole) StartSync()
- func (this *BrtunRole) SyncSwitch(cfg *jason.Object) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrintRole ¶
type BrintRole struct { brintsubrole.PortRole // contains filtered or unexported fields }
func (*BrintRole) DecRefCount ¶
func (*BrintRole) DelPortTable ¶
func (*BrintRole) DelTenantNetworkTable ¶
func (*BrintRole) GetDefaultGwIP ¶
func (*BrintRole) GetDefaultGwNetworkID ¶
func (*BrintRole) GetTenantNetworkTable ¶
func (*BrintRole) IncRefCount ¶
func (*BrintRole) InsertPortTable ¶
func (*BrintRole) InsertTenantNetworkTable ¶
func (*BrintRole) LoadTenantNetworkTable ¶
func (*BrintRole) NeedDelTenantNetworkTable ¶
type BrtunRole ¶
type BrtunRole struct { BridgeRole brcomsubrole.BridgeRole PortRole brcomsubrole.PortRole SyncClientRole brtunsubrole.SyncClientRole }
func (*BrtunRole) AddNetwork ¶
func (*BrtunRole) RemoveNetwork ¶
Click to show internal directories.
Click to hide internal directories.