Documentation ¶
Overview ¶
Package l2 contains generated bindings for API file l2.api.
Contents: - 3 enums - 3 structs - 64 messages
Index ¶
- Constants
- Variables
- func AllMessages() []api.Message
- type BdFlags
- type BdIPMac
- type BdIPMacAddDel
- func (*BdIPMacAddDel) GetCrcString() string
- func (*BdIPMacAddDel) GetMessageName() string
- func (*BdIPMacAddDel) GetMessageType() api.MessageType
- func (m *BdIPMacAddDel) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacAddDel) Reset()
- func (m *BdIPMacAddDel) Size() (size int)
- func (m *BdIPMacAddDel) Unmarshal(b []byte) error
- type BdIPMacAddDelReply
- func (*BdIPMacAddDelReply) GetCrcString() string
- func (*BdIPMacAddDelReply) GetMessageName() string
- func (*BdIPMacAddDelReply) GetMessageType() api.MessageType
- func (m *BdIPMacAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacAddDelReply) Reset()
- func (m *BdIPMacAddDelReply) Size() (size int)
- func (m *BdIPMacAddDelReply) Unmarshal(b []byte) error
- type BdIPMacDetails
- func (*BdIPMacDetails) GetCrcString() string
- func (*BdIPMacDetails) GetMessageName() string
- func (*BdIPMacDetails) GetMessageType() api.MessageType
- func (m *BdIPMacDetails) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacDetails) Reset()
- func (m *BdIPMacDetails) Size() (size int)
- func (m *BdIPMacDetails) Unmarshal(b []byte) error
- type BdIPMacDump
- func (*BdIPMacDump) GetCrcString() string
- func (*BdIPMacDump) GetMessageName() string
- func (*BdIPMacDump) GetMessageType() api.MessageType
- func (m *BdIPMacDump) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacDump) Reset()
- func (m *BdIPMacDump) Size() (size int)
- func (m *BdIPMacDump) Unmarshal(b []byte) error
- type BdIPMacFlush
- func (*BdIPMacFlush) GetCrcString() string
- func (*BdIPMacFlush) GetMessageName() string
- func (*BdIPMacFlush) GetMessageType() api.MessageType
- func (m *BdIPMacFlush) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacFlush) Reset()
- func (m *BdIPMacFlush) Size() (size int)
- func (m *BdIPMacFlush) Unmarshal(b []byte) error
- type BdIPMacFlushReply
- func (*BdIPMacFlushReply) GetCrcString() string
- func (*BdIPMacFlushReply) GetMessageName() string
- func (*BdIPMacFlushReply) GetMessageType() api.MessageType
- func (m *BdIPMacFlushReply) Marshal(b []byte) ([]byte, error)
- func (m *BdIPMacFlushReply) Reset()
- func (m *BdIPMacFlushReply) Size() (size int)
- func (m *BdIPMacFlushReply) Unmarshal(b []byte) error
- type BridgeDomainAddDel
- func (*BridgeDomainAddDel) GetCrcString() string
- func (*BridgeDomainAddDel) GetMessageName() string
- func (*BridgeDomainAddDel) GetMessageType() api.MessageType
- func (m *BridgeDomainAddDel) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainAddDel) Reset()
- func (m *BridgeDomainAddDel) Size() (size int)
- func (m *BridgeDomainAddDel) Unmarshal(b []byte) error
- type BridgeDomainAddDelReply
- func (*BridgeDomainAddDelReply) GetCrcString() string
- func (*BridgeDomainAddDelReply) GetMessageName() string
- func (*BridgeDomainAddDelReply) GetMessageType() api.MessageType
- func (m *BridgeDomainAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainAddDelReply) Reset()
- func (m *BridgeDomainAddDelReply) Size() (size int)
- func (m *BridgeDomainAddDelReply) Unmarshal(b []byte) error
- type BridgeDomainAddDelV2
- func (*BridgeDomainAddDelV2) GetCrcString() string
- func (*BridgeDomainAddDelV2) GetMessageName() string
- func (*BridgeDomainAddDelV2) GetMessageType() api.MessageType
- func (m *BridgeDomainAddDelV2) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainAddDelV2) Reset()
- func (m *BridgeDomainAddDelV2) Size() (size int)
- func (m *BridgeDomainAddDelV2) Unmarshal(b []byte) error
- type BridgeDomainAddDelV2Reply
- func (*BridgeDomainAddDelV2Reply) GetCrcString() string
- func (*BridgeDomainAddDelV2Reply) GetMessageName() string
- func (*BridgeDomainAddDelV2Reply) GetMessageType() api.MessageType
- func (m *BridgeDomainAddDelV2Reply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainAddDelV2Reply) Reset()
- func (m *BridgeDomainAddDelV2Reply) Size() (size int)
- func (m *BridgeDomainAddDelV2Reply) Unmarshal(b []byte) error
- type BridgeDomainDetails
- func (*BridgeDomainDetails) GetCrcString() string
- func (*BridgeDomainDetails) GetMessageName() string
- func (*BridgeDomainDetails) GetMessageType() api.MessageType
- func (m *BridgeDomainDetails) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainDetails) Reset()
- func (m *BridgeDomainDetails) Size() (size int)
- func (m *BridgeDomainDetails) Unmarshal(b []byte) error
- type BridgeDomainDump
- func (*BridgeDomainDump) GetCrcString() string
- func (*BridgeDomainDump) GetMessageName() string
- func (*BridgeDomainDump) GetMessageType() api.MessageType
- func (m *BridgeDomainDump) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainDump) Reset()
- func (m *BridgeDomainDump) Size() (size int)
- func (m *BridgeDomainDump) Unmarshal(b []byte) error
- type BridgeDomainSetDefaultLearnLimit
- func (*BridgeDomainSetDefaultLearnLimit) GetCrcString() string
- func (*BridgeDomainSetDefaultLearnLimit) GetMessageName() string
- func (*BridgeDomainSetDefaultLearnLimit) GetMessageType() api.MessageType
- func (m *BridgeDomainSetDefaultLearnLimit) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainSetDefaultLearnLimit) Reset()
- func (m *BridgeDomainSetDefaultLearnLimit) Size() (size int)
- func (m *BridgeDomainSetDefaultLearnLimit) Unmarshal(b []byte) error
- type BridgeDomainSetDefaultLearnLimitReply
- func (*BridgeDomainSetDefaultLearnLimitReply) GetCrcString() string
- func (*BridgeDomainSetDefaultLearnLimitReply) GetMessageName() string
- func (*BridgeDomainSetDefaultLearnLimitReply) GetMessageType() api.MessageType
- func (m *BridgeDomainSetDefaultLearnLimitReply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainSetDefaultLearnLimitReply) Reset()
- func (m *BridgeDomainSetDefaultLearnLimitReply) Size() (size int)
- func (m *BridgeDomainSetDefaultLearnLimitReply) Unmarshal(b []byte) error
- type BridgeDomainSetLearnLimit
- func (*BridgeDomainSetLearnLimit) GetCrcString() string
- func (*BridgeDomainSetLearnLimit) GetMessageName() string
- func (*BridgeDomainSetLearnLimit) GetMessageType() api.MessageType
- func (m *BridgeDomainSetLearnLimit) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainSetLearnLimit) Reset()
- func (m *BridgeDomainSetLearnLimit) Size() (size int)
- func (m *BridgeDomainSetLearnLimit) Unmarshal(b []byte) error
- type BridgeDomainSetLearnLimitReply
- func (*BridgeDomainSetLearnLimitReply) GetCrcString() string
- func (*BridgeDomainSetLearnLimitReply) GetMessageName() string
- func (*BridgeDomainSetLearnLimitReply) GetMessageType() api.MessageType
- func (m *BridgeDomainSetLearnLimitReply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainSetLearnLimitReply) Reset()
- func (m *BridgeDomainSetLearnLimitReply) Size() (size int)
- func (m *BridgeDomainSetLearnLimitReply) Unmarshal(b []byte) error
- type BridgeDomainSetMacAge
- func (*BridgeDomainSetMacAge) GetCrcString() string
- func (*BridgeDomainSetMacAge) GetMessageName() string
- func (*BridgeDomainSetMacAge) GetMessageType() api.MessageType
- func (m *BridgeDomainSetMacAge) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainSetMacAge) Reset()
- func (m *BridgeDomainSetMacAge) Size() (size int)
- func (m *BridgeDomainSetMacAge) Unmarshal(b []byte) error
- type BridgeDomainSetMacAgeReply
- func (*BridgeDomainSetMacAgeReply) GetCrcString() string
- func (*BridgeDomainSetMacAgeReply) GetMessageName() string
- func (*BridgeDomainSetMacAgeReply) GetMessageType() api.MessageType
- func (m *BridgeDomainSetMacAgeReply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeDomainSetMacAgeReply) Reset()
- func (m *BridgeDomainSetMacAgeReply) Size() (size int)
- func (m *BridgeDomainSetMacAgeReply) Unmarshal(b []byte) error
- type BridgeDomainSwIf
- type BridgeFlags
- func (*BridgeFlags) GetCrcString() string
- func (*BridgeFlags) GetMessageName() string
- func (*BridgeFlags) GetMessageType() api.MessageType
- func (m *BridgeFlags) Marshal(b []byte) ([]byte, error)
- func (m *BridgeFlags) Reset()
- func (m *BridgeFlags) Size() (size int)
- func (m *BridgeFlags) Unmarshal(b []byte) error
- type BridgeFlagsReply
- func (*BridgeFlagsReply) GetCrcString() string
- func (*BridgeFlagsReply) GetMessageName() string
- func (*BridgeFlagsReply) GetMessageType() api.MessageType
- func (m *BridgeFlagsReply) Marshal(b []byte) ([]byte, error)
- func (m *BridgeFlagsReply) Reset()
- func (m *BridgeFlagsReply) Size() (size int)
- func (m *BridgeFlagsReply) Unmarshal(b []byte) error
- type BviCreate
- type BviCreateReply
- func (*BviCreateReply) GetCrcString() string
- func (*BviCreateReply) GetMessageName() string
- func (*BviCreateReply) GetMessageType() api.MessageType
- func (m *BviCreateReply) Marshal(b []byte) ([]byte, error)
- func (m *BviCreateReply) Reset()
- func (m *BviCreateReply) Size() (size int)
- func (m *BviCreateReply) Unmarshal(b []byte) error
- type BviDelete
- type BviDeleteReply
- func (*BviDeleteReply) GetCrcString() string
- func (*BviDeleteReply) GetMessageName() string
- func (*BviDeleteReply) GetMessageType() api.MessageType
- func (m *BviDeleteReply) Marshal(b []byte) ([]byte, error)
- func (m *BviDeleteReply) Reset()
- func (m *BviDeleteReply) Size() (size int)
- func (m *BviDeleteReply) Unmarshal(b []byte) error
- type L2ArpTermEvent
- func (*L2ArpTermEvent) GetCrcString() string
- func (*L2ArpTermEvent) GetMessageName() string
- func (*L2ArpTermEvent) GetMessageType() api.MessageType
- func (m *L2ArpTermEvent) Marshal(b []byte) ([]byte, error)
- func (m *L2ArpTermEvent) Reset()
- func (m *L2ArpTermEvent) Size() (size int)
- func (m *L2ArpTermEvent) Unmarshal(b []byte) error
- type L2FibClearTable
- func (*L2FibClearTable) GetCrcString() string
- func (*L2FibClearTable) GetMessageName() string
- func (*L2FibClearTable) GetMessageType() api.MessageType
- func (m *L2FibClearTable) Marshal(b []byte) ([]byte, error)
- func (m *L2FibClearTable) Reset()
- func (m *L2FibClearTable) Size() (size int)
- func (m *L2FibClearTable) Unmarshal(b []byte) error
- type L2FibClearTableReply
- func (*L2FibClearTableReply) GetCrcString() string
- func (*L2FibClearTableReply) GetMessageName() string
- func (*L2FibClearTableReply) GetMessageType() api.MessageType
- func (m *L2FibClearTableReply) Marshal(b []byte) ([]byte, error)
- func (m *L2FibClearTableReply) Reset()
- func (m *L2FibClearTableReply) Size() (size int)
- func (m *L2FibClearTableReply) Unmarshal(b []byte) error
- type L2FibTableDetails
- func (*L2FibTableDetails) GetCrcString() string
- func (*L2FibTableDetails) GetMessageName() string
- func (*L2FibTableDetails) GetMessageType() api.MessageType
- func (m *L2FibTableDetails) Marshal(b []byte) ([]byte, error)
- func (m *L2FibTableDetails) Reset()
- func (m *L2FibTableDetails) Size() (size int)
- func (m *L2FibTableDetails) Unmarshal(b []byte) error
- type L2FibTableDump
- func (*L2FibTableDump) GetCrcString() string
- func (*L2FibTableDump) GetMessageName() string
- func (*L2FibTableDump) GetMessageType() api.MessageType
- func (m *L2FibTableDump) Marshal(b []byte) ([]byte, error)
- func (m *L2FibTableDump) Reset()
- func (m *L2FibTableDump) Size() (size int)
- func (m *L2FibTableDump) Unmarshal(b []byte) error
- type L2Flags
- type L2FlagsReply
- func (*L2FlagsReply) GetCrcString() string
- func (*L2FlagsReply) GetMessageName() string
- func (*L2FlagsReply) GetMessageType() api.MessageType
- func (m *L2FlagsReply) Marshal(b []byte) ([]byte, error)
- func (m *L2FlagsReply) Reset()
- func (m *L2FlagsReply) Size() (size int)
- func (m *L2FlagsReply) Unmarshal(b []byte) error
- type L2InterfaceEfpFilter
- func (*L2InterfaceEfpFilter) GetCrcString() string
- func (*L2InterfaceEfpFilter) GetMessageName() string
- func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType
- func (m *L2InterfaceEfpFilter) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfaceEfpFilter) Reset()
- func (m *L2InterfaceEfpFilter) Size() (size int)
- func (m *L2InterfaceEfpFilter) Unmarshal(b []byte) error
- type L2InterfaceEfpFilterReply
- func (*L2InterfaceEfpFilterReply) GetCrcString() string
- func (*L2InterfaceEfpFilterReply) GetMessageName() string
- func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType
- func (m *L2InterfaceEfpFilterReply) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfaceEfpFilterReply) Reset()
- func (m *L2InterfaceEfpFilterReply) Size() (size int)
- func (m *L2InterfaceEfpFilterReply) Unmarshal(b []byte) error
- type L2InterfacePbbTagRewrite
- func (*L2InterfacePbbTagRewrite) GetCrcString() string
- func (*L2InterfacePbbTagRewrite) GetMessageName() string
- func (*L2InterfacePbbTagRewrite) GetMessageType() api.MessageType
- func (m *L2InterfacePbbTagRewrite) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfacePbbTagRewrite) Reset()
- func (m *L2InterfacePbbTagRewrite) Size() (size int)
- func (m *L2InterfacePbbTagRewrite) Unmarshal(b []byte) error
- type L2InterfacePbbTagRewriteReply
- func (*L2InterfacePbbTagRewriteReply) GetCrcString() string
- func (*L2InterfacePbbTagRewriteReply) GetMessageName() string
- func (*L2InterfacePbbTagRewriteReply) GetMessageType() api.MessageType
- func (m *L2InterfacePbbTagRewriteReply) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfacePbbTagRewriteReply) Reset()
- func (m *L2InterfacePbbTagRewriteReply) Size() (size int)
- func (m *L2InterfacePbbTagRewriteReply) Unmarshal(b []byte) error
- type L2InterfaceVlanTagRewrite
- func (*L2InterfaceVlanTagRewrite) GetCrcString() string
- func (*L2InterfaceVlanTagRewrite) GetMessageName() string
- func (*L2InterfaceVlanTagRewrite) GetMessageType() api.MessageType
- func (m *L2InterfaceVlanTagRewrite) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfaceVlanTagRewrite) Reset()
- func (m *L2InterfaceVlanTagRewrite) Size() (size int)
- func (m *L2InterfaceVlanTagRewrite) Unmarshal(b []byte) error
- type L2InterfaceVlanTagRewriteReply
- func (*L2InterfaceVlanTagRewriteReply) GetCrcString() string
- func (*L2InterfaceVlanTagRewriteReply) GetMessageName() string
- func (*L2InterfaceVlanTagRewriteReply) GetMessageType() api.MessageType
- func (m *L2InterfaceVlanTagRewriteReply) Marshal(b []byte) ([]byte, error)
- func (m *L2InterfaceVlanTagRewriteReply) Reset()
- func (m *L2InterfaceVlanTagRewriteReply) Size() (size int)
- func (m *L2InterfaceVlanTagRewriteReply) Unmarshal(b []byte) error
- type L2MacsEvent
- func (*L2MacsEvent) GetCrcString() string
- func (*L2MacsEvent) GetMessageName() string
- func (*L2MacsEvent) GetMessageType() api.MessageType
- func (m *L2MacsEvent) Marshal(b []byte) ([]byte, error)
- func (m *L2MacsEvent) Reset()
- func (m *L2MacsEvent) Size() (size int)
- func (m *L2MacsEvent) Unmarshal(b []byte) error
- type L2PatchAddDel
- func (*L2PatchAddDel) GetCrcString() string
- func (*L2PatchAddDel) GetMessageName() string
- func (*L2PatchAddDel) GetMessageType() api.MessageType
- func (m *L2PatchAddDel) Marshal(b []byte) ([]byte, error)
- func (m *L2PatchAddDel) Reset()
- func (m *L2PatchAddDel) Size() (size int)
- func (m *L2PatchAddDel) Unmarshal(b []byte) error
- type L2PatchAddDelReply
- func (*L2PatchAddDelReply) GetCrcString() string
- func (*L2PatchAddDelReply) GetMessageName() string
- func (*L2PatchAddDelReply) GetMessageType() api.MessageType
- func (m *L2PatchAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *L2PatchAddDelReply) Reset()
- func (m *L2PatchAddDelReply) Size() (size int)
- func (m *L2PatchAddDelReply) Unmarshal(b []byte) error
- type L2PortType
- type L2XconnectDetails
- func (*L2XconnectDetails) GetCrcString() string
- func (*L2XconnectDetails) GetMessageName() string
- func (*L2XconnectDetails) GetMessageType() api.MessageType
- func (m *L2XconnectDetails) Marshal(b []byte) ([]byte, error)
- func (m *L2XconnectDetails) Reset()
- func (m *L2XconnectDetails) Size() (size int)
- func (m *L2XconnectDetails) Unmarshal(b []byte) error
- type L2XconnectDump
- func (*L2XconnectDump) GetCrcString() string
- func (*L2XconnectDump) GetMessageName() string
- func (*L2XconnectDump) GetMessageType() api.MessageType
- func (m *L2XconnectDump) Marshal(b []byte) ([]byte, error)
- func (m *L2XconnectDump) Reset()
- func (m *L2XconnectDump) Size() (size int)
- func (m *L2XconnectDump) Unmarshal(b []byte) error
- type L2fibAddDel
- func (*L2fibAddDel) GetCrcString() string
- func (*L2fibAddDel) GetMessageName() string
- func (*L2fibAddDel) GetMessageType() api.MessageType
- func (m *L2fibAddDel) Marshal(b []byte) ([]byte, error)
- func (m *L2fibAddDel) Reset()
- func (m *L2fibAddDel) Size() (size int)
- func (m *L2fibAddDel) Unmarshal(b []byte) error
- type L2fibAddDelReply
- func (*L2fibAddDelReply) GetCrcString() string
- func (*L2fibAddDelReply) GetMessageName() string
- func (*L2fibAddDelReply) GetMessageType() api.MessageType
- func (m *L2fibAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibAddDelReply) Reset()
- func (m *L2fibAddDelReply) Size() (size int)
- func (m *L2fibAddDelReply) Unmarshal(b []byte) error
- type L2fibFlushAll
- func (*L2fibFlushAll) GetCrcString() string
- func (*L2fibFlushAll) GetMessageName() string
- func (*L2fibFlushAll) GetMessageType() api.MessageType
- func (m *L2fibFlushAll) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushAll) Reset()
- func (m *L2fibFlushAll) Size() (size int)
- func (m *L2fibFlushAll) Unmarshal(b []byte) error
- type L2fibFlushAllReply
- func (*L2fibFlushAllReply) GetCrcString() string
- func (*L2fibFlushAllReply) GetMessageName() string
- func (*L2fibFlushAllReply) GetMessageType() api.MessageType
- func (m *L2fibFlushAllReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushAllReply) Reset()
- func (m *L2fibFlushAllReply) Size() (size int)
- func (m *L2fibFlushAllReply) Unmarshal(b []byte) error
- type L2fibFlushBd
- func (*L2fibFlushBd) GetCrcString() string
- func (*L2fibFlushBd) GetMessageName() string
- func (*L2fibFlushBd) GetMessageType() api.MessageType
- func (m *L2fibFlushBd) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushBd) Reset()
- func (m *L2fibFlushBd) Size() (size int)
- func (m *L2fibFlushBd) Unmarshal(b []byte) error
- type L2fibFlushBdReply
- func (*L2fibFlushBdReply) GetCrcString() string
- func (*L2fibFlushBdReply) GetMessageName() string
- func (*L2fibFlushBdReply) GetMessageType() api.MessageType
- func (m *L2fibFlushBdReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushBdReply) Reset()
- func (m *L2fibFlushBdReply) Size() (size int)
- func (m *L2fibFlushBdReply) Unmarshal(b []byte) error
- type L2fibFlushInt
- func (*L2fibFlushInt) GetCrcString() string
- func (*L2fibFlushInt) GetMessageName() string
- func (*L2fibFlushInt) GetMessageType() api.MessageType
- func (m *L2fibFlushInt) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushInt) Reset()
- func (m *L2fibFlushInt) Size() (size int)
- func (m *L2fibFlushInt) Unmarshal(b []byte) error
- type L2fibFlushIntReply
- func (*L2fibFlushIntReply) GetCrcString() string
- func (*L2fibFlushIntReply) GetMessageName() string
- func (*L2fibFlushIntReply) GetMessageType() api.MessageType
- func (m *L2fibFlushIntReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibFlushIntReply) Reset()
- func (m *L2fibFlushIntReply) Size() (size int)
- func (m *L2fibFlushIntReply) Unmarshal(b []byte) error
- type L2fibSetScanDelay
- func (*L2fibSetScanDelay) GetCrcString() string
- func (*L2fibSetScanDelay) GetMessageName() string
- func (*L2fibSetScanDelay) GetMessageType() api.MessageType
- func (m *L2fibSetScanDelay) Marshal(b []byte) ([]byte, error)
- func (m *L2fibSetScanDelay) Reset()
- func (m *L2fibSetScanDelay) Size() (size int)
- func (m *L2fibSetScanDelay) Unmarshal(b []byte) error
- type L2fibSetScanDelayReply
- func (*L2fibSetScanDelayReply) GetCrcString() string
- func (*L2fibSetScanDelayReply) GetMessageName() string
- func (*L2fibSetScanDelayReply) GetMessageType() api.MessageType
- func (m *L2fibSetScanDelayReply) Marshal(b []byte) ([]byte, error)
- func (m *L2fibSetScanDelayReply) Reset()
- func (m *L2fibSetScanDelayReply) Size() (size int)
- func (m *L2fibSetScanDelayReply) Unmarshal(b []byte) error
- type MacEntry
- type MacEventAction
- type RPCService
- type RPCService_BdIPMacDumpClient
- type RPCService_BridgeDomainDumpClient
- type RPCService_L2FibTableDumpClient
- type RPCService_L2XconnectDumpClient
- type SwInterfaceSetL2Bridge
- func (*SwInterfaceSetL2Bridge) GetCrcString() string
- func (*SwInterfaceSetL2Bridge) GetMessageName() string
- func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType
- func (m *SwInterfaceSetL2Bridge) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetL2Bridge) Reset()
- func (m *SwInterfaceSetL2Bridge) Size() (size int)
- func (m *SwInterfaceSetL2Bridge) Unmarshal(b []byte) error
- type SwInterfaceSetL2BridgeReply
- func (*SwInterfaceSetL2BridgeReply) GetCrcString() string
- func (*SwInterfaceSetL2BridgeReply) GetMessageName() string
- func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetL2BridgeReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetL2BridgeReply) Reset()
- func (m *SwInterfaceSetL2BridgeReply) Size() (size int)
- func (m *SwInterfaceSetL2BridgeReply) Unmarshal(b []byte) error
- type SwInterfaceSetL2Xconnect
- func (*SwInterfaceSetL2Xconnect) GetCrcString() string
- func (*SwInterfaceSetL2Xconnect) GetMessageName() string
- func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType
- func (m *SwInterfaceSetL2Xconnect) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetL2Xconnect) Reset()
- func (m *SwInterfaceSetL2Xconnect) Size() (size int)
- func (m *SwInterfaceSetL2Xconnect) Unmarshal(b []byte) error
- type SwInterfaceSetL2XconnectReply
- func (*SwInterfaceSetL2XconnectReply) GetCrcString() string
- func (*SwInterfaceSetL2XconnectReply) GetMessageName() string
- func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetL2XconnectReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetL2XconnectReply) Reset()
- func (m *SwInterfaceSetL2XconnectReply) Size() (size int)
- func (m *SwInterfaceSetL2XconnectReply) Unmarshal(b []byte) error
- type SwInterfaceSetVpath
- func (*SwInterfaceSetVpath) GetCrcString() string
- func (*SwInterfaceSetVpath) GetMessageName() string
- func (*SwInterfaceSetVpath) GetMessageType() api.MessageType
- func (m *SwInterfaceSetVpath) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetVpath) Reset()
- func (m *SwInterfaceSetVpath) Size() (size int)
- func (m *SwInterfaceSetVpath) Unmarshal(b []byte) error
- type SwInterfaceSetVpathReply
- func (*SwInterfaceSetVpathReply) GetCrcString() string
- func (*SwInterfaceSetVpathReply) GetMessageName() string
- func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType
- func (m *SwInterfaceSetVpathReply) Marshal(b []byte) ([]byte, error)
- func (m *SwInterfaceSetVpathReply) Reset()
- func (m *SwInterfaceSetVpathReply) Size() (size int)
- func (m *SwInterfaceSetVpathReply) Unmarshal(b []byte) error
- type WantL2ArpTermEvents
- func (*WantL2ArpTermEvents) GetCrcString() string
- func (*WantL2ArpTermEvents) GetMessageName() string
- func (*WantL2ArpTermEvents) GetMessageType() api.MessageType
- func (m *WantL2ArpTermEvents) Marshal(b []byte) ([]byte, error)
- func (m *WantL2ArpTermEvents) Reset()
- func (m *WantL2ArpTermEvents) Size() (size int)
- func (m *WantL2ArpTermEvents) Unmarshal(b []byte) error
- type WantL2ArpTermEventsReply
- func (*WantL2ArpTermEventsReply) GetCrcString() string
- func (*WantL2ArpTermEventsReply) GetMessageName() string
- func (*WantL2ArpTermEventsReply) GetMessageType() api.MessageType
- func (m *WantL2ArpTermEventsReply) Marshal(b []byte) ([]byte, error)
- func (m *WantL2ArpTermEventsReply) Reset()
- func (m *WantL2ArpTermEventsReply) Size() (size int)
- func (m *WantL2ArpTermEventsReply) Unmarshal(b []byte) error
- type WantL2MacsEvents
- func (*WantL2MacsEvents) GetCrcString() string
- func (*WantL2MacsEvents) GetMessageName() string
- func (*WantL2MacsEvents) GetMessageType() api.MessageType
- func (m *WantL2MacsEvents) Marshal(b []byte) ([]byte, error)
- func (m *WantL2MacsEvents) Reset()
- func (m *WantL2MacsEvents) Size() (size int)
- func (m *WantL2MacsEvents) Unmarshal(b []byte) error
- type WantL2MacsEvents2
- func (*WantL2MacsEvents2) GetCrcString() string
- func (*WantL2MacsEvents2) GetMessageName() string
- func (*WantL2MacsEvents2) GetMessageType() api.MessageType
- func (m *WantL2MacsEvents2) Marshal(b []byte) ([]byte, error)
- func (m *WantL2MacsEvents2) Reset()
- func (m *WantL2MacsEvents2) Size() (size int)
- func (m *WantL2MacsEvents2) Unmarshal(b []byte) error
- type WantL2MacsEvents2Reply
- func (*WantL2MacsEvents2Reply) GetCrcString() string
- func (*WantL2MacsEvents2Reply) GetMessageName() string
- func (*WantL2MacsEvents2Reply) GetMessageType() api.MessageType
- func (m *WantL2MacsEvents2Reply) Marshal(b []byte) ([]byte, error)
- func (m *WantL2MacsEvents2Reply) Reset()
- func (m *WantL2MacsEvents2Reply) Size() (size int)
- func (m *WantL2MacsEvents2Reply) Unmarshal(b []byte) error
- type WantL2MacsEventsReply
- func (*WantL2MacsEventsReply) GetCrcString() string
- func (*WantL2MacsEventsReply) GetMessageName() string
- func (*WantL2MacsEventsReply) GetMessageType() api.MessageType
- func (m *WantL2MacsEventsReply) Marshal(b []byte) ([]byte, error)
- func (m *WantL2MacsEventsReply) Reset()
- func (m *WantL2MacsEventsReply) Size() (size int)
- func (m *WantL2MacsEventsReply) Unmarshal(b []byte) error
Constants ¶
const ( APIFile = "l2" APIVersion = "3.2.0" VersionCrc = 0x2720d298 )
Variables ¶
var ( BdFlags_name = map[uint32]string{ 0: "BRIDGE_API_FLAG_NONE", 1: "BRIDGE_API_FLAG_LEARN", 2: "BRIDGE_API_FLAG_FWD", 4: "BRIDGE_API_FLAG_FLOOD", 8: "BRIDGE_API_FLAG_UU_FLOOD", 16: "BRIDGE_API_FLAG_ARP_TERM", 32: "BRIDGE_API_FLAG_ARP_UFWD", } BdFlags_value = map[string]uint32{ "BRIDGE_API_FLAG_NONE": 0, "BRIDGE_API_FLAG_LEARN": 1, "BRIDGE_API_FLAG_FWD": 2, "BRIDGE_API_FLAG_FLOOD": 4, "BRIDGE_API_FLAG_UU_FLOOD": 8, "BRIDGE_API_FLAG_ARP_TERM": 16, "BRIDGE_API_FLAG_ARP_UFWD": 32, } )
var ( L2PortType_name = map[uint32]string{ 0: "L2_API_PORT_TYPE_NORMAL", 1: "L2_API_PORT_TYPE_BVI", 2: "L2_API_PORT_TYPE_UU_FWD", } L2PortType_value = map[string]uint32{ "L2_API_PORT_TYPE_NORMAL": 0, "L2_API_PORT_TYPE_BVI": 1, "L2_API_PORT_TYPE_UU_FWD": 2, } )
var ( MacEventAction_name = map[uint32]string{ 0: "MAC_EVENT_ACTION_API_ADD", 1: "MAC_EVENT_ACTION_API_DELETE", 2: "MAC_EVENT_ACTION_API_MOVE", } MacEventAction_value = map[string]uint32{ "MAC_EVENT_ACTION_API_ADD": 0, "MAC_EVENT_ACTION_API_DELETE": 1, "MAC_EVENT_ACTION_API_MOVE": 2, } )
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type BdIPMac ¶
type BdIPMac struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` IP ip_types.Address `binapi:"address,name=ip" json:"ip,omitempty"` Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"` }
BdIPMac defines type 'bd_ip_mac'.
type BdIPMacAddDel ¶
type BdIPMacAddDel struct { IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` Entry BdIPMac `binapi:"bd_ip_mac,name=entry" json:"entry,omitempty"` }
Set bridge domain ip to mac entry request
- bd_id - the bridge domain to set the flags for
- is_add - if non-zero, add the entry, else clear it
- ip - ipv4 or ipv6 address
- mac - MAC address
BdIPMacAddDel defines message 'bd_ip_mac_add_del'.
func (*BdIPMacAddDel) GetCrcString ¶
func (*BdIPMacAddDel) GetCrcString() string
func (*BdIPMacAddDel) GetMessageName ¶
func (*BdIPMacAddDel) GetMessageName() string
func (*BdIPMacAddDel) GetMessageType ¶
func (*BdIPMacAddDel) GetMessageType() api.MessageType
func (*BdIPMacAddDel) Reset ¶
func (m *BdIPMacAddDel) Reset()
func (*BdIPMacAddDel) Size ¶
func (m *BdIPMacAddDel) Size() (size int)
func (*BdIPMacAddDel) Unmarshal ¶
func (m *BdIPMacAddDel) Unmarshal(b []byte) error
type BdIPMacAddDelReply ¶
type BdIPMacAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BdIPMacAddDelReply defines message 'bd_ip_mac_add_del_reply'.
func (*BdIPMacAddDelReply) GetCrcString ¶
func (*BdIPMacAddDelReply) GetCrcString() string
func (*BdIPMacAddDelReply) GetMessageName ¶
func (*BdIPMacAddDelReply) GetMessageName() string
func (*BdIPMacAddDelReply) GetMessageType ¶
func (*BdIPMacAddDelReply) GetMessageType() api.MessageType
func (*BdIPMacAddDelReply) Reset ¶
func (m *BdIPMacAddDelReply) Reset()
func (*BdIPMacAddDelReply) Size ¶
func (m *BdIPMacAddDelReply) Size() (size int)
func (*BdIPMacAddDelReply) Unmarshal ¶
func (m *BdIPMacAddDelReply) Unmarshal(b []byte) error
type BdIPMacDetails ¶
type BdIPMacDetails struct {
Entry BdIPMac `binapi:"bd_ip_mac,name=entry" json:"entry,omitempty"`
}
bridge domain IP to MAC entry details structure
- bd_id - bridge domain table id
- is_ipv6 - if non-zero, ipv6 address, else ipv4 address
- ip_address - ipv4 or ipv6 address
- mac_address - MAC address
BdIPMacDetails defines message 'bd_ip_mac_details'.
func (*BdIPMacDetails) GetCrcString ¶
func (*BdIPMacDetails) GetCrcString() string
func (*BdIPMacDetails) GetMessageName ¶
func (*BdIPMacDetails) GetMessageName() string
func (*BdIPMacDetails) GetMessageType ¶
func (*BdIPMacDetails) GetMessageType() api.MessageType
func (*BdIPMacDetails) Reset ¶
func (m *BdIPMacDetails) Reset()
func (*BdIPMacDetails) Size ¶
func (m *BdIPMacDetails) Size() (size int)
func (*BdIPMacDetails) Unmarshal ¶
func (m *BdIPMacDetails) Unmarshal(b []byte) error
type BdIPMacDump ¶
type BdIPMacDump struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
Dump bridge domain IP to MAC entries
- bd_id - bridge domain identifier
BdIPMacDump defines message 'bd_ip_mac_dump'.
func (*BdIPMacDump) GetCrcString ¶
func (*BdIPMacDump) GetCrcString() string
func (*BdIPMacDump) GetMessageName ¶
func (*BdIPMacDump) GetMessageName() string
func (*BdIPMacDump) GetMessageType ¶
func (*BdIPMacDump) GetMessageType() api.MessageType
func (*BdIPMacDump) Reset ¶
func (m *BdIPMacDump) Reset()
func (*BdIPMacDump) Size ¶
func (m *BdIPMacDump) Size() (size int)
func (*BdIPMacDump) Unmarshal ¶
func (m *BdIPMacDump) Unmarshal(b []byte) error
type BdIPMacFlush ¶
type BdIPMacFlush struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
Flush bridge domain IP to MAC entries
- bd_id - bridge domain identifier
BdIPMacFlush defines message 'bd_ip_mac_flush'.
func (*BdIPMacFlush) GetCrcString ¶
func (*BdIPMacFlush) GetCrcString() string
func (*BdIPMacFlush) GetMessageName ¶
func (*BdIPMacFlush) GetMessageName() string
func (*BdIPMacFlush) GetMessageType ¶
func (*BdIPMacFlush) GetMessageType() api.MessageType
func (*BdIPMacFlush) Reset ¶
func (m *BdIPMacFlush) Reset()
func (*BdIPMacFlush) Size ¶
func (m *BdIPMacFlush) Size() (size int)
func (*BdIPMacFlush) Unmarshal ¶
func (m *BdIPMacFlush) Unmarshal(b []byte) error
type BdIPMacFlushReply ¶
type BdIPMacFlushReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BdIPMacFlushReply defines message 'bd_ip_mac_flush_reply'.
func (*BdIPMacFlushReply) GetCrcString ¶
func (*BdIPMacFlushReply) GetCrcString() string
func (*BdIPMacFlushReply) GetMessageName ¶
func (*BdIPMacFlushReply) GetMessageName() string
func (*BdIPMacFlushReply) GetMessageType ¶
func (*BdIPMacFlushReply) GetMessageType() api.MessageType
func (*BdIPMacFlushReply) Reset ¶
func (m *BdIPMacFlushReply) Reset()
func (*BdIPMacFlushReply) Size ¶
func (m *BdIPMacFlushReply) Size() (size int)
func (*BdIPMacFlushReply) Unmarshal ¶
func (m *BdIPMacFlushReply) Unmarshal(b []byte) error
type BridgeDomainAddDel ¶
type BridgeDomainAddDel struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` Flood bool `binapi:"bool,name=flood" json:"flood,omitempty"` UuFlood bool `binapi:"bool,name=uu_flood" json:"uu_flood,omitempty"` Forward bool `binapi:"bool,name=forward" json:"forward,omitempty"` Learn bool `binapi:"bool,name=learn" json:"learn,omitempty"` ArpTerm bool `binapi:"bool,name=arp_term" json:"arp_term,omitempty"` ArpUfwd bool `binapi:"bool,name=arp_ufwd" json:"arp_ufwd,omitempty"` MacAge uint8 `binapi:"u8,name=mac_age" json:"mac_age,omitempty"` BdTag string `binapi:"string[64],name=bd_tag" json:"bd_tag,omitempty"` IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` }
L2 bridge domain add or delete request - will be deprecated
- bd_id - the bridge domain to create
- flood - enable/disable bcast/mcast flooding in the bd
- uu_flood - enable/disable unknown unicast flood in the bd
- forward - enable/disable forwarding on all interfaces in the bd
- learn - enable/disable learning on all interfaces in the bd
- arp_term - enable/disable arp termination in the bd
- arp_ufwd - enable/disable arp unicast forwarding in the bd
- mac_age - mac aging time in min, 0 for disabled
- is_add - add or delete flag
BridgeDomainAddDel defines message 'bridge_domain_add_del'. Deprecated: the message will be removed in the future versions
func (*BridgeDomainAddDel) GetCrcString ¶
func (*BridgeDomainAddDel) GetCrcString() string
func (*BridgeDomainAddDel) GetMessageName ¶
func (*BridgeDomainAddDel) GetMessageName() string
func (*BridgeDomainAddDel) GetMessageType ¶
func (*BridgeDomainAddDel) GetMessageType() api.MessageType
func (*BridgeDomainAddDel) Reset ¶
func (m *BridgeDomainAddDel) Reset()
func (*BridgeDomainAddDel) Size ¶
func (m *BridgeDomainAddDel) Size() (size int)
func (*BridgeDomainAddDel) Unmarshal ¶
func (m *BridgeDomainAddDel) Unmarshal(b []byte) error
type BridgeDomainAddDelReply ¶
type BridgeDomainAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BridgeDomainAddDelReply defines message 'bridge_domain_add_del_reply'. Deprecated: the message will be removed in the future versions
func (*BridgeDomainAddDelReply) GetCrcString ¶
func (*BridgeDomainAddDelReply) GetCrcString() string
func (*BridgeDomainAddDelReply) GetMessageName ¶
func (*BridgeDomainAddDelReply) GetMessageName() string
func (*BridgeDomainAddDelReply) GetMessageType ¶
func (*BridgeDomainAddDelReply) GetMessageType() api.MessageType
func (*BridgeDomainAddDelReply) Marshal ¶
func (m *BridgeDomainAddDelReply) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainAddDelReply) Reset ¶
func (m *BridgeDomainAddDelReply) Reset()
func (*BridgeDomainAddDelReply) Size ¶
func (m *BridgeDomainAddDelReply) Size() (size int)
func (*BridgeDomainAddDelReply) Unmarshal ¶
func (m *BridgeDomainAddDelReply) Unmarshal(b []byte) error
type BridgeDomainAddDelV2 ¶
type BridgeDomainAddDelV2 struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` Flood bool `binapi:"bool,name=flood" json:"flood,omitempty"` UuFlood bool `binapi:"bool,name=uu_flood" json:"uu_flood,omitempty"` Forward bool `binapi:"bool,name=forward" json:"forward,omitempty"` Learn bool `binapi:"bool,name=learn" json:"learn,omitempty"` ArpTerm bool `binapi:"bool,name=arp_term" json:"arp_term,omitempty"` ArpUfwd bool `binapi:"bool,name=arp_ufwd" json:"arp_ufwd,omitempty"` MacAge uint8 `binapi:"u8,name=mac_age" json:"mac_age,omitempty"` BdTag string `binapi:"string[64],name=bd_tag" json:"bd_tag,omitempty"` IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` }
L2 bridge domain add delete request version 2
- bd_id - if the id == ~0 creates a bridge domain with an unused id if the id != ~0 the id of the bridge domain to create/delete
- flood - enable/disable bcast/mcast flooding in the bd
- uu_flood - enable/disable unknown unicast flood in the bd
- forward - enable/disable forwarding on all interfaces in the bd
- learn - enable/disable learning on all interfaces in the bd
- arp_term - enable/disable arp termination in the bd
- arp_ufwd - enable/disable arp unicast forwarding in the bd
- mac_age - mac aging time in min, 0 for disabled
- is_add - add or delete flag
BridgeDomainAddDelV2 defines message 'bridge_domain_add_del_v2'.
func (*BridgeDomainAddDelV2) GetCrcString ¶
func (*BridgeDomainAddDelV2) GetCrcString() string
func (*BridgeDomainAddDelV2) GetMessageName ¶
func (*BridgeDomainAddDelV2) GetMessageName() string
func (*BridgeDomainAddDelV2) GetMessageType ¶
func (*BridgeDomainAddDelV2) GetMessageType() api.MessageType
func (*BridgeDomainAddDelV2) Marshal ¶
func (m *BridgeDomainAddDelV2) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainAddDelV2) Reset ¶
func (m *BridgeDomainAddDelV2) Reset()
func (*BridgeDomainAddDelV2) Size ¶
func (m *BridgeDomainAddDelV2) Size() (size int)
func (*BridgeDomainAddDelV2) Unmarshal ¶
func (m *BridgeDomainAddDelV2) Unmarshal(b []byte) error
type BridgeDomainAddDelV2Reply ¶
type BridgeDomainAddDelV2Reply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` }
L2 bridge domain add delete version 2 response
- retval - return code for the set bridge flags request
- resulting_id - the id for the new bridge domain
BridgeDomainAddDelV2Reply defines message 'bridge_domain_add_del_v2_reply'.
func (*BridgeDomainAddDelV2Reply) GetCrcString ¶
func (*BridgeDomainAddDelV2Reply) GetCrcString() string
func (*BridgeDomainAddDelV2Reply) GetMessageName ¶
func (*BridgeDomainAddDelV2Reply) GetMessageName() string
func (*BridgeDomainAddDelV2Reply) GetMessageType ¶
func (*BridgeDomainAddDelV2Reply) GetMessageType() api.MessageType
func (*BridgeDomainAddDelV2Reply) Marshal ¶
func (m *BridgeDomainAddDelV2Reply) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainAddDelV2Reply) Reset ¶
func (m *BridgeDomainAddDelV2Reply) Reset()
func (*BridgeDomainAddDelV2Reply) Size ¶
func (m *BridgeDomainAddDelV2Reply) Size() (size int)
func (*BridgeDomainAddDelV2Reply) Unmarshal ¶
func (m *BridgeDomainAddDelV2Reply) Unmarshal(b []byte) error
type BridgeDomainDetails ¶
type BridgeDomainDetails struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` Flood bool `binapi:"bool,name=flood" json:"flood,omitempty"` UuFlood bool `binapi:"bool,name=uu_flood" json:"uu_flood,omitempty"` Forward bool `binapi:"bool,name=forward" json:"forward,omitempty"` Learn bool `binapi:"bool,name=learn" json:"learn,omitempty"` ArpTerm bool `binapi:"bool,name=arp_term" json:"arp_term,omitempty"` ArpUfwd bool `binapi:"bool,name=arp_ufwd" json:"arp_ufwd,omitempty"` MacAge uint8 `binapi:"u8,name=mac_age" json:"mac_age,omitempty"` BdTag string `binapi:"string[64],name=bd_tag" json:"bd_tag,omitempty"` BviSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=bvi_sw_if_index" json:"bvi_sw_if_index,omitempty"` UuFwdSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=uu_fwd_sw_if_index" json:"uu_fwd_sw_if_index,omitempty"` NSwIfs uint32 `binapi:"u32,name=n_sw_ifs" json:"-"` SwIfDetails []BridgeDomainSwIf `binapi:"bridge_domain_sw_if[n_sw_ifs],name=sw_if_details" json:"sw_if_details,omitempty"` }
L2 bridge domain operational state response
- bd_id - the bridge domain id
- flood - bcast/mcast flooding state on all interfaces in the bd
- uu_flood - unknown unicast flooding state on all interfaces in the bd
- forward - forwarding state on all interfaces in the bd
- learn - learning state on all interfaces in the bd
- arp_term - arp termination state on all interfaces in the bd
- arp_ufwd - arp unicast forwarding state on all interfaces in the bd
- mac_age - mac aging time in min, 0 for disabled
- bd_tag - optional textual tag for the bridge domain
- n_sw_ifs - number of sw_if_index's in the domain
BridgeDomainDetails defines message 'bridge_domain_details'.
func (*BridgeDomainDetails) GetCrcString ¶
func (*BridgeDomainDetails) GetCrcString() string
func (*BridgeDomainDetails) GetMessageName ¶
func (*BridgeDomainDetails) GetMessageName() string
func (*BridgeDomainDetails) GetMessageType ¶
func (*BridgeDomainDetails) GetMessageType() api.MessageType
func (*BridgeDomainDetails) Marshal ¶
func (m *BridgeDomainDetails) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainDetails) Reset ¶
func (m *BridgeDomainDetails) Reset()
func (*BridgeDomainDetails) Size ¶
func (m *BridgeDomainDetails) Size() (size int)
func (*BridgeDomainDetails) Unmarshal ¶
func (m *BridgeDomainDetails) Unmarshal(b []byte) error
type BridgeDomainDump ¶
type BridgeDomainDump struct { BdID uint32 `binapi:"u32,name=bd_id,default=4294967295" json:"bd_id,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"` }
L2 bridge domain request operational state details
- bd_id - the bridge domain id desired or ~0 to request all bds
- sw_if_index - filter by sw_if_index UNIMPLEMENTED
BridgeDomainDump defines message 'bridge_domain_dump'.
func (*BridgeDomainDump) GetCrcString ¶
func (*BridgeDomainDump) GetCrcString() string
func (*BridgeDomainDump) GetMessageName ¶
func (*BridgeDomainDump) GetMessageName() string
func (*BridgeDomainDump) GetMessageType ¶
func (*BridgeDomainDump) GetMessageType() api.MessageType
func (*BridgeDomainDump) Reset ¶
func (m *BridgeDomainDump) Reset()
func (*BridgeDomainDump) Size ¶
func (m *BridgeDomainDump) Size() (size int)
func (*BridgeDomainDump) Unmarshal ¶
func (m *BridgeDomainDump) Unmarshal(b []byte) error
type BridgeDomainSetDefaultLearnLimit ¶
type BridgeDomainSetDefaultLearnLimit struct {
LearnLimit uint32 `binapi:"u32,name=learn_limit" json:"learn_limit,omitempty"`
}
L2 bridge domain set default learn limit
- learn limit - maximum number of entries by default for bridge domains
BridgeDomainSetDefaultLearnLimit defines message 'bridge_domain_set_default_learn_limit'.
func (*BridgeDomainSetDefaultLearnLimit) GetCrcString ¶
func (*BridgeDomainSetDefaultLearnLimit) GetCrcString() string
func (*BridgeDomainSetDefaultLearnLimit) GetMessageName ¶
func (*BridgeDomainSetDefaultLearnLimit) GetMessageName() string
func (*BridgeDomainSetDefaultLearnLimit) GetMessageType ¶
func (*BridgeDomainSetDefaultLearnLimit) GetMessageType() api.MessageType
func (*BridgeDomainSetDefaultLearnLimit) Marshal ¶
func (m *BridgeDomainSetDefaultLearnLimit) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainSetDefaultLearnLimit) Reset ¶
func (m *BridgeDomainSetDefaultLearnLimit) Reset()
func (*BridgeDomainSetDefaultLearnLimit) Size ¶
func (m *BridgeDomainSetDefaultLearnLimit) Size() (size int)
func (*BridgeDomainSetDefaultLearnLimit) Unmarshal ¶
func (m *BridgeDomainSetDefaultLearnLimit) Unmarshal(b []byte) error
type BridgeDomainSetDefaultLearnLimitReply ¶
type BridgeDomainSetDefaultLearnLimitReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BridgeDomainSetDefaultLearnLimitReply defines message 'bridge_domain_set_default_learn_limit_reply'.
func (*BridgeDomainSetDefaultLearnLimitReply) GetCrcString ¶
func (*BridgeDomainSetDefaultLearnLimitReply) GetCrcString() string
func (*BridgeDomainSetDefaultLearnLimitReply) GetMessageName ¶
func (*BridgeDomainSetDefaultLearnLimitReply) GetMessageName() string
func (*BridgeDomainSetDefaultLearnLimitReply) GetMessageType ¶
func (*BridgeDomainSetDefaultLearnLimitReply) GetMessageType() api.MessageType
func (*BridgeDomainSetDefaultLearnLimitReply) Marshal ¶
func (m *BridgeDomainSetDefaultLearnLimitReply) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainSetDefaultLearnLimitReply) Reset ¶
func (m *BridgeDomainSetDefaultLearnLimitReply) Reset()
func (*BridgeDomainSetDefaultLearnLimitReply) Size ¶
func (m *BridgeDomainSetDefaultLearnLimitReply) Size() (size int)
func (*BridgeDomainSetDefaultLearnLimitReply) Unmarshal ¶
func (m *BridgeDomainSetDefaultLearnLimitReply) Unmarshal(b []byte) error
type BridgeDomainSetLearnLimit ¶
type BridgeDomainSetLearnLimit struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` LearnLimit uint32 `binapi:"u32,name=learn_limit" json:"learn_limit,omitempty"` }
L2 bridge domain set learn limit
- bd_id - the bridge domain idenntifier
- learn limit - maximum number of entries for this bd
BridgeDomainSetLearnLimit defines message 'bridge_domain_set_learn_limit'.
func (*BridgeDomainSetLearnLimit) GetCrcString ¶
func (*BridgeDomainSetLearnLimit) GetCrcString() string
func (*BridgeDomainSetLearnLimit) GetMessageName ¶
func (*BridgeDomainSetLearnLimit) GetMessageName() string
func (*BridgeDomainSetLearnLimit) GetMessageType ¶
func (*BridgeDomainSetLearnLimit) GetMessageType() api.MessageType
func (*BridgeDomainSetLearnLimit) Marshal ¶
func (m *BridgeDomainSetLearnLimit) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainSetLearnLimit) Reset ¶
func (m *BridgeDomainSetLearnLimit) Reset()
func (*BridgeDomainSetLearnLimit) Size ¶
func (m *BridgeDomainSetLearnLimit) Size() (size int)
func (*BridgeDomainSetLearnLimit) Unmarshal ¶
func (m *BridgeDomainSetLearnLimit) Unmarshal(b []byte) error
type BridgeDomainSetLearnLimitReply ¶
type BridgeDomainSetLearnLimitReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BridgeDomainSetLearnLimitReply defines message 'bridge_domain_set_learn_limit_reply'.
func (*BridgeDomainSetLearnLimitReply) GetCrcString ¶
func (*BridgeDomainSetLearnLimitReply) GetCrcString() string
func (*BridgeDomainSetLearnLimitReply) GetMessageName ¶
func (*BridgeDomainSetLearnLimitReply) GetMessageName() string
func (*BridgeDomainSetLearnLimitReply) GetMessageType ¶
func (*BridgeDomainSetLearnLimitReply) GetMessageType() api.MessageType
func (*BridgeDomainSetLearnLimitReply) Marshal ¶
func (m *BridgeDomainSetLearnLimitReply) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainSetLearnLimitReply) Reset ¶
func (m *BridgeDomainSetLearnLimitReply) Reset()
func (*BridgeDomainSetLearnLimitReply) Size ¶
func (m *BridgeDomainSetLearnLimitReply) Size() (size int)
func (*BridgeDomainSetLearnLimitReply) Unmarshal ¶
func (m *BridgeDomainSetLearnLimitReply) Unmarshal(b []byte) error
type BridgeDomainSetMacAge ¶
type BridgeDomainSetMacAge struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` MacAge uint8 `binapi:"u8,name=mac_age" json:"mac_age,omitempty"` }
L2 bridge domain set mac age
- bd_id - the bridge domain to create
- mac_age - mac aging time in min, 0 for disabled
BridgeDomainSetMacAge defines message 'bridge_domain_set_mac_age'.
func (*BridgeDomainSetMacAge) GetCrcString ¶
func (*BridgeDomainSetMacAge) GetCrcString() string
func (*BridgeDomainSetMacAge) GetMessageName ¶
func (*BridgeDomainSetMacAge) GetMessageName() string
func (*BridgeDomainSetMacAge) GetMessageType ¶
func (*BridgeDomainSetMacAge) GetMessageType() api.MessageType
func (*BridgeDomainSetMacAge) Marshal ¶
func (m *BridgeDomainSetMacAge) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainSetMacAge) Reset ¶
func (m *BridgeDomainSetMacAge) Reset()
func (*BridgeDomainSetMacAge) Size ¶
func (m *BridgeDomainSetMacAge) Size() (size int)
func (*BridgeDomainSetMacAge) Unmarshal ¶
func (m *BridgeDomainSetMacAge) Unmarshal(b []byte) error
type BridgeDomainSetMacAgeReply ¶
type BridgeDomainSetMacAgeReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BridgeDomainSetMacAgeReply defines message 'bridge_domain_set_mac_age_reply'.
func (*BridgeDomainSetMacAgeReply) GetCrcString ¶
func (*BridgeDomainSetMacAgeReply) GetCrcString() string
func (*BridgeDomainSetMacAgeReply) GetMessageName ¶
func (*BridgeDomainSetMacAgeReply) GetMessageName() string
func (*BridgeDomainSetMacAgeReply) GetMessageType ¶
func (*BridgeDomainSetMacAgeReply) GetMessageType() api.MessageType
func (*BridgeDomainSetMacAgeReply) Marshal ¶
func (m *BridgeDomainSetMacAgeReply) Marshal(b []byte) ([]byte, error)
func (*BridgeDomainSetMacAgeReply) Reset ¶
func (m *BridgeDomainSetMacAgeReply) Reset()
func (*BridgeDomainSetMacAgeReply) Size ¶
func (m *BridgeDomainSetMacAgeReply) Size() (size int)
func (*BridgeDomainSetMacAgeReply) Unmarshal ¶
func (m *BridgeDomainSetMacAgeReply) Unmarshal(b []byte) error
type BridgeDomainSwIf ¶
type BridgeDomainSwIf struct { Context uint32 `binapi:"u32,name=context" json:"context,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Shg uint8 `binapi:"u8,name=shg" json:"shg,omitempty"` }
BridgeDomainSwIf defines type 'bridge_domain_sw_if'.
type BridgeFlags ¶
type BridgeFlags struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` IsSet bool `binapi:"bool,name=is_set" json:"is_set,omitempty"` Flags BdFlags `binapi:"bd_flags,name=flags" json:"flags,omitempty"` }
Set bridge flags request
- bd_id - the bridge domain to set the flags for
- is_set - if non-zero, set the flags, else clear them
- flags - flags that are non-zero to set or clear
BridgeFlags defines message 'bridge_flags'.
func (*BridgeFlags) GetCrcString ¶
func (*BridgeFlags) GetCrcString() string
func (*BridgeFlags) GetMessageName ¶
func (*BridgeFlags) GetMessageName() string
func (*BridgeFlags) GetMessageType ¶
func (*BridgeFlags) GetMessageType() api.MessageType
func (*BridgeFlags) Reset ¶
func (m *BridgeFlags) Reset()
func (*BridgeFlags) Size ¶
func (m *BridgeFlags) Size() (size int)
func (*BridgeFlags) Unmarshal ¶
func (m *BridgeFlags) Unmarshal(b []byte) error
type BridgeFlagsReply ¶
type BridgeFlagsReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` ResultingFeatureBitmap uint32 `binapi:"u32,name=resulting_feature_bitmap" json:"resulting_feature_bitmap,omitempty"` }
Set bridge flags response
- retval - return code for the set bridge flags request
- resulting_feature_bitmap - the internal L2 feature bitmap after the request is implemented
BridgeFlagsReply defines message 'bridge_flags_reply'.
func (*BridgeFlagsReply) GetCrcString ¶
func (*BridgeFlagsReply) GetCrcString() string
func (*BridgeFlagsReply) GetMessageName ¶
func (*BridgeFlagsReply) GetMessageName() string
func (*BridgeFlagsReply) GetMessageType ¶
func (*BridgeFlagsReply) GetMessageType() api.MessageType
func (*BridgeFlagsReply) Reset ¶
func (m *BridgeFlagsReply) Reset()
func (*BridgeFlagsReply) Size ¶
func (m *BridgeFlagsReply) Size() (size int)
func (*BridgeFlagsReply) Unmarshal ¶
func (m *BridgeFlagsReply) Unmarshal(b []byte) error
type BviCreate ¶
type BviCreate struct { Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"` UserInstance uint32 `binapi:"u32,name=user_instance,default=4294967295" json:"user_instance,omitempty"` }
Create BVI interface instance request
- mac_address - mac addr to assign to the interface if none-zero
- user_instance - requested instance, ~0 => dynamically allocate
BviCreate defines message 'bvi_create'.
func (*BviCreate) GetCrcString ¶
func (*BviCreate) GetMessageName ¶
func (*BviCreate) GetMessageType ¶
func (*BviCreate) GetMessageType() api.MessageType
type BviCreateReply ¶
type BviCreateReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` }
Create BVI interface instance response
- sw_if_index - sw index of the interface that was created
- retval - return code for the request
BviCreateReply defines message 'bvi_create_reply'.
func (*BviCreateReply) GetCrcString ¶
func (*BviCreateReply) GetCrcString() string
func (*BviCreateReply) GetMessageName ¶
func (*BviCreateReply) GetMessageName() string
func (*BviCreateReply) GetMessageType ¶
func (*BviCreateReply) GetMessageType() api.MessageType
func (*BviCreateReply) Reset ¶
func (m *BviCreateReply) Reset()
func (*BviCreateReply) Size ¶
func (m *BviCreateReply) Size() (size int)
func (*BviCreateReply) Unmarshal ¶
func (m *BviCreateReply) Unmarshal(b []byte) error
type BviDelete ¶
type BviDelete struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
Delete BVI interface request
- sw_if_index - sw index of the interface that was created
BviDelete defines message 'bvi_delete'.
func (*BviDelete) GetCrcString ¶
func (*BviDelete) GetMessageName ¶
func (*BviDelete) GetMessageType ¶
func (*BviDelete) GetMessageType() api.MessageType
type BviDeleteReply ¶
type BviDeleteReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
BviDeleteReply defines message 'bvi_delete_reply'.
func (*BviDeleteReply) GetCrcString ¶
func (*BviDeleteReply) GetCrcString() string
func (*BviDeleteReply) GetMessageName ¶
func (*BviDeleteReply) GetMessageName() string
func (*BviDeleteReply) GetMessageType ¶
func (*BviDeleteReply) GetMessageType() api.MessageType
func (*BviDeleteReply) Reset ¶
func (m *BviDeleteReply) Reset()
func (*BviDeleteReply) Size ¶
func (m *BviDeleteReply) Size() (size int)
func (*BviDeleteReply) Unmarshal ¶
func (m *BviDeleteReply) Unmarshal(b []byte) error
type L2ArpTermEvent ¶
type L2ArpTermEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` IP ip_types.Address `binapi:"address,name=ip" json:"ip,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"` }
Tell client about an IP4 ARP resolution event or
MAC/IP info from ARP requests in L2 BDs - pid - client pid registered to receive notification - ip - IP address of new ARP term entry - sw_if_index - interface of new ARP term entry - mac - MAC address of new ARP term entry
L2ArpTermEvent defines message 'l2_arp_term_event'.
func (*L2ArpTermEvent) GetCrcString ¶
func (*L2ArpTermEvent) GetCrcString() string
func (*L2ArpTermEvent) GetMessageName ¶
func (*L2ArpTermEvent) GetMessageName() string
func (*L2ArpTermEvent) GetMessageType ¶
func (*L2ArpTermEvent) GetMessageType() api.MessageType
func (*L2ArpTermEvent) Reset ¶
func (m *L2ArpTermEvent) Reset()
func (*L2ArpTermEvent) Size ¶
func (m *L2ArpTermEvent) Size() (size int)
func (*L2ArpTermEvent) Unmarshal ¶
func (m *L2ArpTermEvent) Unmarshal(b []byte) error
type L2FibClearTable ¶
type L2FibClearTable struct{}
L2 fib clear table request, clear all mac entries in the l2 fib L2FibClearTable defines message 'l2_fib_clear_table'.
func (*L2FibClearTable) GetCrcString ¶
func (*L2FibClearTable) GetCrcString() string
func (*L2FibClearTable) GetMessageName ¶
func (*L2FibClearTable) GetMessageName() string
func (*L2FibClearTable) GetMessageType ¶
func (*L2FibClearTable) GetMessageType() api.MessageType
func (*L2FibClearTable) Reset ¶
func (m *L2FibClearTable) Reset()
func (*L2FibClearTable) Size ¶
func (m *L2FibClearTable) Size() (size int)
func (*L2FibClearTable) Unmarshal ¶
func (m *L2FibClearTable) Unmarshal(b []byte) error
type L2FibClearTableReply ¶
type L2FibClearTableReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2FibClearTableReply defines message 'l2_fib_clear_table_reply'.
func (*L2FibClearTableReply) GetCrcString ¶
func (*L2FibClearTableReply) GetCrcString() string
func (*L2FibClearTableReply) GetMessageName ¶
func (*L2FibClearTableReply) GetMessageName() string
func (*L2FibClearTableReply) GetMessageType ¶
func (*L2FibClearTableReply) GetMessageType() api.MessageType
func (*L2FibClearTableReply) Marshal ¶
func (m *L2FibClearTableReply) Marshal(b []byte) ([]byte, error)
func (*L2FibClearTableReply) Reset ¶
func (m *L2FibClearTableReply) Reset()
func (*L2FibClearTableReply) Size ¶
func (m *L2FibClearTableReply) Size() (size int)
func (*L2FibClearTableReply) Unmarshal ¶
func (m *L2FibClearTableReply) Unmarshal(b []byte) error
type L2FibTableDetails ¶
type L2FibTableDetails struct { BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` StaticMac bool `binapi:"bool,name=static_mac" json:"static_mac,omitempty"` FilterMac bool `binapi:"bool,name=filter_mac" json:"filter_mac,omitempty"` BviMac bool `binapi:"bool,name=bvi_mac" json:"bvi_mac,omitempty"` }
l2 fib table details structure
- bd_id - the l2 fib / bridge domain table id
- mac - the entry's mac address
- sw_if_index - index of the interface
- static_mac - the entry is statically configured.
- filter_mac - the entry is a mac filter entry.
- bvi_mac - the mac address is a bridge virtual interface
L2FibTableDetails defines message 'l2_fib_table_details'.
func (*L2FibTableDetails) GetCrcString ¶
func (*L2FibTableDetails) GetCrcString() string
func (*L2FibTableDetails) GetMessageName ¶
func (*L2FibTableDetails) GetMessageName() string
func (*L2FibTableDetails) GetMessageType ¶
func (*L2FibTableDetails) GetMessageType() api.MessageType
func (*L2FibTableDetails) Reset ¶
func (m *L2FibTableDetails) Reset()
func (*L2FibTableDetails) Size ¶
func (m *L2FibTableDetails) Size() (size int)
func (*L2FibTableDetails) Unmarshal ¶
func (m *L2FibTableDetails) Unmarshal(b []byte) error
type L2FibTableDump ¶
type L2FibTableDump struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
Dump l2 fib (aka bridge domain) table
- bd_id - the l2 fib / bridge domain table identifier
L2FibTableDump defines message 'l2_fib_table_dump'.
func (*L2FibTableDump) GetCrcString ¶
func (*L2FibTableDump) GetCrcString() string
func (*L2FibTableDump) GetMessageName ¶
func (*L2FibTableDump) GetMessageName() string
func (*L2FibTableDump) GetMessageType ¶
func (*L2FibTableDump) GetMessageType() api.MessageType
func (*L2FibTableDump) Reset ¶
func (m *L2FibTableDump) Reset()
func (*L2FibTableDump) Size ¶
func (m *L2FibTableDump) Size() (size int)
func (*L2FibTableDump) Unmarshal ¶
func (m *L2FibTableDump) Unmarshal(b []byte) error
type L2Flags ¶
type L2Flags struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IsSet bool `binapi:"bool,name=is_set" json:"is_set,omitempty"` FeatureBitmap uint32 `binapi:"u32,name=feature_bitmap" json:"feature_bitmap,omitempty"` }
Set interface L2 flags (such as L2_LEARN, L2_FWD,
L2_FLOOD, L2_UU_FLOOD, or L2_ARP_TERM bits). This can be used to disable one or more of the features represented by the flag bits on an interface to override what is set as default for all interfaces in the bridge domain - sw_if_index - interface - is_set - if non-zero, set the bits, else clear them - feature_bitmap - non-zero bits (as above) to set or clear
L2Flags defines message 'l2_flags'.
func (*L2Flags) GetCrcString ¶
func (*L2Flags) GetMessageName ¶
func (*L2Flags) GetMessageType ¶
func (*L2Flags) GetMessageType() api.MessageType
type L2FlagsReply ¶
type L2FlagsReply struct { Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` ResultingFeatureBitmap uint32 `binapi:"u32,name=resulting_feature_bitmap" json:"resulting_feature_bitmap,omitempty"` }
Set interface L2 flags response
- retval - return code for the set l2 bits request
- resulting_feature_bitmap - the internal l2 feature bitmap after the request is implemented
L2FlagsReply defines message 'l2_flags_reply'.
func (*L2FlagsReply) GetCrcString ¶
func (*L2FlagsReply) GetCrcString() string
func (*L2FlagsReply) GetMessageName ¶
func (*L2FlagsReply) GetMessageName() string
func (*L2FlagsReply) GetMessageType ¶
func (*L2FlagsReply) GetMessageType() api.MessageType
func (*L2FlagsReply) Reset ¶
func (m *L2FlagsReply) Reset()
func (*L2FlagsReply) Size ¶
func (m *L2FlagsReply) Size() (size int)
func (*L2FlagsReply) Unmarshal ¶
func (m *L2FlagsReply) Unmarshal(b []byte) error
type L2InterfaceEfpFilter ¶
type L2InterfaceEfpFilter struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` EnableDisable bool `binapi:"bool,name=enable_disable,default=true" json:"enable_disable,omitempty"` }
L2 interface ethernet flow point filtering enable/disable request
- sw_if_index - interface to enable/disable filtering on
- enable_disable - if non-zero enable filtering, else disable
L2InterfaceEfpFilter defines message 'l2_interface_efp_filter'.
func (*L2InterfaceEfpFilter) GetCrcString ¶
func (*L2InterfaceEfpFilter) GetCrcString() string
func (*L2InterfaceEfpFilter) GetMessageName ¶
func (*L2InterfaceEfpFilter) GetMessageName() string
func (*L2InterfaceEfpFilter) GetMessageType ¶
func (*L2InterfaceEfpFilter) GetMessageType() api.MessageType
func (*L2InterfaceEfpFilter) Marshal ¶
func (m *L2InterfaceEfpFilter) Marshal(b []byte) ([]byte, error)
func (*L2InterfaceEfpFilter) Reset ¶
func (m *L2InterfaceEfpFilter) Reset()
func (*L2InterfaceEfpFilter) Size ¶
func (m *L2InterfaceEfpFilter) Size() (size int)
func (*L2InterfaceEfpFilter) Unmarshal ¶
func (m *L2InterfaceEfpFilter) Unmarshal(b []byte) error
type L2InterfaceEfpFilterReply ¶
type L2InterfaceEfpFilterReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2InterfaceEfpFilterReply defines message 'l2_interface_efp_filter_reply'.
func (*L2InterfaceEfpFilterReply) GetCrcString ¶
func (*L2InterfaceEfpFilterReply) GetCrcString() string
func (*L2InterfaceEfpFilterReply) GetMessageName ¶
func (*L2InterfaceEfpFilterReply) GetMessageName() string
func (*L2InterfaceEfpFilterReply) GetMessageType ¶
func (*L2InterfaceEfpFilterReply) GetMessageType() api.MessageType
func (*L2InterfaceEfpFilterReply) Marshal ¶
func (m *L2InterfaceEfpFilterReply) Marshal(b []byte) ([]byte, error)
func (*L2InterfaceEfpFilterReply) Reset ¶
func (m *L2InterfaceEfpFilterReply) Reset()
func (*L2InterfaceEfpFilterReply) Size ¶
func (m *L2InterfaceEfpFilterReply) Size() (size int)
func (*L2InterfaceEfpFilterReply) Unmarshal ¶
func (m *L2InterfaceEfpFilterReply) Unmarshal(b []byte) error
type L2InterfacePbbTagRewrite ¶
type L2InterfacePbbTagRewrite struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` VtrOp uint32 `binapi:"u32,name=vtr_op" json:"vtr_op,omitempty"` OuterTag uint16 `binapi:"u16,name=outer_tag" json:"outer_tag,omitempty"` BDmac ethernet_types.MacAddress `binapi:"mac_address,name=b_dmac" json:"b_dmac,omitempty"` BSmac ethernet_types.MacAddress `binapi:"mac_address,name=b_smac" json:"b_smac,omitempty"` BVlanid uint16 `binapi:"u16,name=b_vlanid" json:"b_vlanid,omitempty"` ISid uint32 `binapi:"u32,name=i_sid" json:"i_sid,omitempty"` }
L2 interface pbb tag rewrite configure request
- sw_if_index - interface the operation is applied to
- vtr_op - Choose from l2_vtr_op_t enum values
- inner_tag - needed for translate_qinq vtr op only
- outer_tag - needed for translate_qinq vtr op only
- b_dmac - B-tag remote mac address, needed for any push or translate_qinq vtr op
- b_smac - B-tag local mac address, needed for any push or translate qinq vtr op
- b_vlanid - B-tag vlanid, needed for any push or translate qinq vtr op
- i_sid - I-tag service id, needed for any push or translate qinq vtr op
L2InterfacePbbTagRewrite defines message 'l2_interface_pbb_tag_rewrite'.
func (*L2InterfacePbbTagRewrite) GetCrcString ¶
func (*L2InterfacePbbTagRewrite) GetCrcString() string
func (*L2InterfacePbbTagRewrite) GetMessageName ¶
func (*L2InterfacePbbTagRewrite) GetMessageName() string
func (*L2InterfacePbbTagRewrite) GetMessageType ¶
func (*L2InterfacePbbTagRewrite) GetMessageType() api.MessageType
func (*L2InterfacePbbTagRewrite) Marshal ¶
func (m *L2InterfacePbbTagRewrite) Marshal(b []byte) ([]byte, error)
func (*L2InterfacePbbTagRewrite) Reset ¶
func (m *L2InterfacePbbTagRewrite) Reset()
func (*L2InterfacePbbTagRewrite) Size ¶
func (m *L2InterfacePbbTagRewrite) Size() (size int)
func (*L2InterfacePbbTagRewrite) Unmarshal ¶
func (m *L2InterfacePbbTagRewrite) Unmarshal(b []byte) error
type L2InterfacePbbTagRewriteReply ¶
type L2InterfacePbbTagRewriteReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2InterfacePbbTagRewriteReply defines message 'l2_interface_pbb_tag_rewrite_reply'.
func (*L2InterfacePbbTagRewriteReply) GetCrcString ¶
func (*L2InterfacePbbTagRewriteReply) GetCrcString() string
func (*L2InterfacePbbTagRewriteReply) GetMessageName ¶
func (*L2InterfacePbbTagRewriteReply) GetMessageName() string
func (*L2InterfacePbbTagRewriteReply) GetMessageType ¶
func (*L2InterfacePbbTagRewriteReply) GetMessageType() api.MessageType
func (*L2InterfacePbbTagRewriteReply) Marshal ¶
func (m *L2InterfacePbbTagRewriteReply) Marshal(b []byte) ([]byte, error)
func (*L2InterfacePbbTagRewriteReply) Reset ¶
func (m *L2InterfacePbbTagRewriteReply) Reset()
func (*L2InterfacePbbTagRewriteReply) Size ¶
func (m *L2InterfacePbbTagRewriteReply) Size() (size int)
func (*L2InterfacePbbTagRewriteReply) Unmarshal ¶
func (m *L2InterfacePbbTagRewriteReply) Unmarshal(b []byte) error
type L2InterfaceVlanTagRewrite ¶
type L2InterfaceVlanTagRewrite struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` VtrOp uint32 `binapi:"u32,name=vtr_op" json:"vtr_op,omitempty"` PushDot1q uint32 `binapi:"u32,name=push_dot1q" json:"push_dot1q,omitempty"` Tag1 uint32 `binapi:"u32,name=tag1" json:"tag1,omitempty"` Tag2 uint32 `binapi:"u32,name=tag2" json:"tag2,omitempty"` }
L2 interface vlan tag rewrite configure request
- sw_if_index - interface the operation is applied to
- vtr_op - Choose from l2_vtr_op_t enum values
- push_dot1q - first pushed flag dot1q id set, else dot1ad
- tag1 - Needed for any push or translate vtr op
- tag2 - Needed for any push 2 or translate x-2 vtr ops
L2InterfaceVlanTagRewrite defines message 'l2_interface_vlan_tag_rewrite'.
func (*L2InterfaceVlanTagRewrite) GetCrcString ¶
func (*L2InterfaceVlanTagRewrite) GetCrcString() string
func (*L2InterfaceVlanTagRewrite) GetMessageName ¶
func (*L2InterfaceVlanTagRewrite) GetMessageName() string
func (*L2InterfaceVlanTagRewrite) GetMessageType ¶
func (*L2InterfaceVlanTagRewrite) GetMessageType() api.MessageType
func (*L2InterfaceVlanTagRewrite) Marshal ¶
func (m *L2InterfaceVlanTagRewrite) Marshal(b []byte) ([]byte, error)
func (*L2InterfaceVlanTagRewrite) Reset ¶
func (m *L2InterfaceVlanTagRewrite) Reset()
func (*L2InterfaceVlanTagRewrite) Size ¶
func (m *L2InterfaceVlanTagRewrite) Size() (size int)
func (*L2InterfaceVlanTagRewrite) Unmarshal ¶
func (m *L2InterfaceVlanTagRewrite) Unmarshal(b []byte) error
type L2InterfaceVlanTagRewriteReply ¶
type L2InterfaceVlanTagRewriteReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2InterfaceVlanTagRewriteReply defines message 'l2_interface_vlan_tag_rewrite_reply'.
func (*L2InterfaceVlanTagRewriteReply) GetCrcString ¶
func (*L2InterfaceVlanTagRewriteReply) GetCrcString() string
func (*L2InterfaceVlanTagRewriteReply) GetMessageName ¶
func (*L2InterfaceVlanTagRewriteReply) GetMessageName() string
func (*L2InterfaceVlanTagRewriteReply) GetMessageType ¶
func (*L2InterfaceVlanTagRewriteReply) GetMessageType() api.MessageType
func (*L2InterfaceVlanTagRewriteReply) Marshal ¶
func (m *L2InterfaceVlanTagRewriteReply) Marshal(b []byte) ([]byte, error)
func (*L2InterfaceVlanTagRewriteReply) Reset ¶
func (m *L2InterfaceVlanTagRewriteReply) Reset()
func (*L2InterfaceVlanTagRewriteReply) Size ¶
func (m *L2InterfaceVlanTagRewriteReply) Size() (size int)
func (*L2InterfaceVlanTagRewriteReply) Unmarshal ¶
func (m *L2InterfaceVlanTagRewriteReply) Unmarshal(b []byte) error
type L2MacsEvent ¶
type L2MacsEvent struct { PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` NMacs uint32 `binapi:"u32,name=n_macs" json:"-"` Mac []MacEntry `binapi:"mac_entry[n_macs],name=mac" json:"mac,omitempty"` }
L2 MAC event for a list of learned or aged MACs
- pid - client pid registered to receive notification
- n_macs - number of learned/aged MAC entries
- mac - array of learned/aged MAC entries
L2MacsEvent defines message 'l2_macs_event'.
func (*L2MacsEvent) GetCrcString ¶
func (*L2MacsEvent) GetCrcString() string
func (*L2MacsEvent) GetMessageName ¶
func (*L2MacsEvent) GetMessageName() string
func (*L2MacsEvent) GetMessageType ¶
func (*L2MacsEvent) GetMessageType() api.MessageType
func (*L2MacsEvent) Reset ¶
func (m *L2MacsEvent) Reset()
func (*L2MacsEvent) Size ¶
func (m *L2MacsEvent) Size() (size int)
func (*L2MacsEvent) Unmarshal ¶
func (m *L2MacsEvent) Unmarshal(b []byte) error
type L2PatchAddDel ¶
type L2PatchAddDel struct { RxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` TxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` }
L2 interface patch add / del request
- rx_sw_if_index - receive side interface
- tx_sw_if_index - transmit side interface
- is_add - if non-zero set up the interface patch, else remove it
L2PatchAddDel defines message 'l2_patch_add_del'.
func (*L2PatchAddDel) GetCrcString ¶
func (*L2PatchAddDel) GetCrcString() string
func (*L2PatchAddDel) GetMessageName ¶
func (*L2PatchAddDel) GetMessageName() string
func (*L2PatchAddDel) GetMessageType ¶
func (*L2PatchAddDel) GetMessageType() api.MessageType
func (*L2PatchAddDel) Reset ¶
func (m *L2PatchAddDel) Reset()
func (*L2PatchAddDel) Size ¶
func (m *L2PatchAddDel) Size() (size int)
func (*L2PatchAddDel) Unmarshal ¶
func (m *L2PatchAddDel) Unmarshal(b []byte) error
type L2PatchAddDelReply ¶
type L2PatchAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2PatchAddDelReply defines message 'l2_patch_add_del_reply'.
func (*L2PatchAddDelReply) GetCrcString ¶
func (*L2PatchAddDelReply) GetCrcString() string
func (*L2PatchAddDelReply) GetMessageName ¶
func (*L2PatchAddDelReply) GetMessageName() string
func (*L2PatchAddDelReply) GetMessageType ¶
func (*L2PatchAddDelReply) GetMessageType() api.MessageType
func (*L2PatchAddDelReply) Reset ¶
func (m *L2PatchAddDelReply) Reset()
func (*L2PatchAddDelReply) Size ¶
func (m *L2PatchAddDelReply) Size() (size int)
func (*L2PatchAddDelReply) Unmarshal ¶
func (m *L2PatchAddDelReply) Unmarshal(b []byte) error
type L2PortType ¶
type L2PortType uint32
L2PortType defines enum 'l2_port_type'.
const ( L2_API_PORT_TYPE_NORMAL L2PortType = 0 L2_API_PORT_TYPE_BVI L2PortType = 1 L2_API_PORT_TYPE_UU_FWD L2PortType = 2 )
func (L2PortType) String ¶
func (x L2PortType) String() string
type L2XconnectDetails ¶
type L2XconnectDetails struct { RxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` TxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"` }
Reply to l2_xconnect_dump
- rx_sw_if_index - Receive interface index
- tx_sw_if_index - Transmit interface index
L2XconnectDetails defines message 'l2_xconnect_details'.
func (*L2XconnectDetails) GetCrcString ¶
func (*L2XconnectDetails) GetCrcString() string
func (*L2XconnectDetails) GetMessageName ¶
func (*L2XconnectDetails) GetMessageName() string
func (*L2XconnectDetails) GetMessageType ¶
func (*L2XconnectDetails) GetMessageType() api.MessageType
func (*L2XconnectDetails) Reset ¶
func (m *L2XconnectDetails) Reset()
func (*L2XconnectDetails) Size ¶
func (m *L2XconnectDetails) Size() (size int)
func (*L2XconnectDetails) Unmarshal ¶
func (m *L2XconnectDetails) Unmarshal(b []byte) error
type L2XconnectDump ¶
type L2XconnectDump struct{}
Dump L2 XConnects L2XconnectDump defines message 'l2_xconnect_dump'.
func (*L2XconnectDump) GetCrcString ¶
func (*L2XconnectDump) GetCrcString() string
func (*L2XconnectDump) GetMessageName ¶
func (*L2XconnectDump) GetMessageName() string
func (*L2XconnectDump) GetMessageType ¶
func (*L2XconnectDump) GetMessageType() api.MessageType
func (*L2XconnectDump) Reset ¶
func (m *L2XconnectDump) Reset()
func (*L2XconnectDump) Size ¶
func (m *L2XconnectDump) Size() (size int)
func (*L2XconnectDump) Unmarshal ¶
func (m *L2XconnectDump) Unmarshal(b []byte) error
type L2fibAddDel ¶
type L2fibAddDel struct { Mac ethernet_types.MacAddress `binapi:"mac_address,name=mac" json:"mac,omitempty"` BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` IsAdd bool `binapi:"bool,name=is_add,default=true" json:"is_add,omitempty"` StaticMac bool `binapi:"bool,name=static_mac" json:"static_mac,omitempty"` FilterMac bool `binapi:"bool,name=filter_mac" json:"filter_mac,omitempty"` BviMac bool `binapi:"bool,name=bvi_mac" json:"bvi_mac,omitempty"` }
L2 FIB add entry request
- mac - the entry's mac address
- bd_id - the entry's bridge domain id
- sw_if_index - the interface
- is_add - If non zero add the entry, else delete it
- static_mac -
- filter_mac -
- bvi_mac -
L2fibAddDel defines message 'l2fib_add_del'.
func (*L2fibAddDel) GetCrcString ¶
func (*L2fibAddDel) GetCrcString() string
func (*L2fibAddDel) GetMessageName ¶
func (*L2fibAddDel) GetMessageName() string
func (*L2fibAddDel) GetMessageType ¶
func (*L2fibAddDel) GetMessageType() api.MessageType
func (*L2fibAddDel) Reset ¶
func (m *L2fibAddDel) Reset()
func (*L2fibAddDel) Size ¶
func (m *L2fibAddDel) Size() (size int)
func (*L2fibAddDel) Unmarshal ¶
func (m *L2fibAddDel) Unmarshal(b []byte) error
type L2fibAddDelReply ¶
type L2fibAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibAddDelReply defines message 'l2fib_add_del_reply'.
func (*L2fibAddDelReply) GetCrcString ¶
func (*L2fibAddDelReply) GetCrcString() string
func (*L2fibAddDelReply) GetMessageName ¶
func (*L2fibAddDelReply) GetMessageName() string
func (*L2fibAddDelReply) GetMessageType ¶
func (*L2fibAddDelReply) GetMessageType() api.MessageType
func (*L2fibAddDelReply) Reset ¶
func (m *L2fibAddDelReply) Reset()
func (*L2fibAddDelReply) Size ¶
func (m *L2fibAddDelReply) Size() (size int)
func (*L2fibAddDelReply) Unmarshal ¶
func (m *L2fibAddDelReply) Unmarshal(b []byte) error
type L2fibFlushAll ¶
type L2fibFlushAll struct{}
L2 FIB flush all entries L2fibFlushAll defines message 'l2fib_flush_all'.
func (*L2fibFlushAll) GetCrcString ¶
func (*L2fibFlushAll) GetCrcString() string
func (*L2fibFlushAll) GetMessageName ¶
func (*L2fibFlushAll) GetMessageName() string
func (*L2fibFlushAll) GetMessageType ¶
func (*L2fibFlushAll) GetMessageType() api.MessageType
func (*L2fibFlushAll) Reset ¶
func (m *L2fibFlushAll) Reset()
func (*L2fibFlushAll) Size ¶
func (m *L2fibFlushAll) Size() (size int)
func (*L2fibFlushAll) Unmarshal ¶
func (m *L2fibFlushAll) Unmarshal(b []byte) error
type L2fibFlushAllReply ¶
type L2fibFlushAllReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibFlushAllReply defines message 'l2fib_flush_all_reply'.
func (*L2fibFlushAllReply) GetCrcString ¶
func (*L2fibFlushAllReply) GetCrcString() string
func (*L2fibFlushAllReply) GetMessageName ¶
func (*L2fibFlushAllReply) GetMessageName() string
func (*L2fibFlushAllReply) GetMessageType ¶
func (*L2fibFlushAllReply) GetMessageType() api.MessageType
func (*L2fibFlushAllReply) Reset ¶
func (m *L2fibFlushAllReply) Reset()
func (*L2fibFlushAllReply) Size ¶
func (m *L2fibFlushAllReply) Size() (size int)
func (*L2fibFlushAllReply) Unmarshal ¶
func (m *L2fibFlushAllReply) Unmarshal(b []byte) error
type L2fibFlushBd ¶
type L2fibFlushBd struct {
BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"`
}
L2 FIB flush bridge domain entries
- bd_id - the entry's bridge domain id
L2fibFlushBd defines message 'l2fib_flush_bd'.
func (*L2fibFlushBd) GetCrcString ¶
func (*L2fibFlushBd) GetCrcString() string
func (*L2fibFlushBd) GetMessageName ¶
func (*L2fibFlushBd) GetMessageName() string
func (*L2fibFlushBd) GetMessageType ¶
func (*L2fibFlushBd) GetMessageType() api.MessageType
func (*L2fibFlushBd) Reset ¶
func (m *L2fibFlushBd) Reset()
func (*L2fibFlushBd) Size ¶
func (m *L2fibFlushBd) Size() (size int)
func (*L2fibFlushBd) Unmarshal ¶
func (m *L2fibFlushBd) Unmarshal(b []byte) error
type L2fibFlushBdReply ¶
type L2fibFlushBdReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibFlushBdReply defines message 'l2fib_flush_bd_reply'.
func (*L2fibFlushBdReply) GetCrcString ¶
func (*L2fibFlushBdReply) GetCrcString() string
func (*L2fibFlushBdReply) GetMessageName ¶
func (*L2fibFlushBdReply) GetMessageName() string
func (*L2fibFlushBdReply) GetMessageType ¶
func (*L2fibFlushBdReply) GetMessageType() api.MessageType
func (*L2fibFlushBdReply) Reset ¶
func (m *L2fibFlushBdReply) Reset()
func (*L2fibFlushBdReply) Size ¶
func (m *L2fibFlushBdReply) Size() (size int)
func (*L2fibFlushBdReply) Unmarshal ¶
func (m *L2fibFlushBdReply) Unmarshal(b []byte) error
type L2fibFlushInt ¶
type L2fibFlushInt struct {
SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
}
L2 FIB flush interface entries
- bd_id - the entry's bridge domain id
L2fibFlushInt defines message 'l2fib_flush_int'.
func (*L2fibFlushInt) GetCrcString ¶
func (*L2fibFlushInt) GetCrcString() string
func (*L2fibFlushInt) GetMessageName ¶
func (*L2fibFlushInt) GetMessageName() string
func (*L2fibFlushInt) GetMessageType ¶
func (*L2fibFlushInt) GetMessageType() api.MessageType
func (*L2fibFlushInt) Reset ¶
func (m *L2fibFlushInt) Reset()
func (*L2fibFlushInt) Size ¶
func (m *L2fibFlushInt) Size() (size int)
func (*L2fibFlushInt) Unmarshal ¶
func (m *L2fibFlushInt) Unmarshal(b []byte) error
type L2fibFlushIntReply ¶
type L2fibFlushIntReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibFlushIntReply defines message 'l2fib_flush_int_reply'.
func (*L2fibFlushIntReply) GetCrcString ¶
func (*L2fibFlushIntReply) GetCrcString() string
func (*L2fibFlushIntReply) GetMessageName ¶
func (*L2fibFlushIntReply) GetMessageName() string
func (*L2fibFlushIntReply) GetMessageType ¶
func (*L2fibFlushIntReply) GetMessageType() api.MessageType
func (*L2fibFlushIntReply) Reset ¶
func (m *L2fibFlushIntReply) Reset()
func (*L2fibFlushIntReply) Size ¶
func (m *L2fibFlushIntReply) Size() (size int)
func (*L2fibFlushIntReply) Unmarshal ¶
func (m *L2fibFlushIntReply) Unmarshal(b []byte) error
type L2fibSetScanDelay ¶
type L2fibSetScanDelay struct {
ScanDelay uint16 `binapi:"u16,name=scan_delay,default=10" json:"scan_delay,omitempty"`
}
set l2 table scan delay
- scan_delay - event scan delay in 10 msec unit
L2fibSetScanDelay defines message 'l2fib_set_scan_delay'.
func (*L2fibSetScanDelay) GetCrcString ¶
func (*L2fibSetScanDelay) GetCrcString() string
func (*L2fibSetScanDelay) GetMessageName ¶
func (*L2fibSetScanDelay) GetMessageName() string
func (*L2fibSetScanDelay) GetMessageType ¶
func (*L2fibSetScanDelay) GetMessageType() api.MessageType
func (*L2fibSetScanDelay) Reset ¶
func (m *L2fibSetScanDelay) Reset()
func (*L2fibSetScanDelay) Size ¶
func (m *L2fibSetScanDelay) Size() (size int)
func (*L2fibSetScanDelay) Unmarshal ¶
func (m *L2fibSetScanDelay) Unmarshal(b []byte) error
type L2fibSetScanDelayReply ¶
type L2fibSetScanDelayReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
L2fibSetScanDelayReply defines message 'l2fib_set_scan_delay_reply'.
func (*L2fibSetScanDelayReply) GetCrcString ¶
func (*L2fibSetScanDelayReply) GetCrcString() string
func (*L2fibSetScanDelayReply) GetMessageName ¶
func (*L2fibSetScanDelayReply) GetMessageName() string
func (*L2fibSetScanDelayReply) GetMessageType ¶
func (*L2fibSetScanDelayReply) GetMessageType() api.MessageType
func (*L2fibSetScanDelayReply) Marshal ¶
func (m *L2fibSetScanDelayReply) Marshal(b []byte) ([]byte, error)
func (*L2fibSetScanDelayReply) Reset ¶
func (m *L2fibSetScanDelayReply) Reset()
func (*L2fibSetScanDelayReply) Size ¶
func (m *L2fibSetScanDelayReply) Size() (size int)
func (*L2fibSetScanDelayReply) Unmarshal ¶
func (m *L2fibSetScanDelayReply) Unmarshal(b []byte) error
type MacEntry ¶
type MacEntry struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` MacAddr ethernet_types.MacAddress `binapi:"mac_address,name=mac_addr" json:"mac_addr,omitempty"` Action MacEventAction `binapi:"mac_event_action,name=action" json:"action,omitempty"` Flags uint8 `binapi:"u8,name=flags" json:"flags,omitempty"` }
MacEntry defines type 'mac_entry'.
type MacEventAction ¶
type MacEventAction uint32
MacEventAction defines enum 'mac_event_action'.
const ( MAC_EVENT_ACTION_API_ADD MacEventAction = 0 MAC_EVENT_ACTION_API_DELETE MacEventAction = 1 MAC_EVENT_ACTION_API_MOVE MacEventAction = 2 )
func (MacEventAction) String ¶
func (x MacEventAction) String() string
type RPCService ¶
type RPCService interface { BdIPMacAddDel(ctx context.Context, in *BdIPMacAddDel) (*BdIPMacAddDelReply, error) BdIPMacDump(ctx context.Context, in *BdIPMacDump) (RPCService_BdIPMacDumpClient, error) BdIPMacFlush(ctx context.Context, in *BdIPMacFlush) (*BdIPMacFlushReply, error) BridgeDomainAddDel(ctx context.Context, in *BridgeDomainAddDel) (*BridgeDomainAddDelReply, error) BridgeDomainAddDelV2(ctx context.Context, in *BridgeDomainAddDelV2) (*BridgeDomainAddDelV2Reply, error) BridgeDomainDump(ctx context.Context, in *BridgeDomainDump) (RPCService_BridgeDomainDumpClient, error) BridgeDomainSetDefaultLearnLimit(ctx context.Context, in *BridgeDomainSetDefaultLearnLimit) (*BridgeDomainSetDefaultLearnLimitReply, error) BridgeDomainSetLearnLimit(ctx context.Context, in *BridgeDomainSetLearnLimit) (*BridgeDomainSetLearnLimitReply, error) BridgeDomainSetMacAge(ctx context.Context, in *BridgeDomainSetMacAge) (*BridgeDomainSetMacAgeReply, error) BridgeFlags(ctx context.Context, in *BridgeFlags) (*BridgeFlagsReply, error) BviCreate(ctx context.Context, in *BviCreate) (*BviCreateReply, error) BviDelete(ctx context.Context, in *BviDelete) (*BviDeleteReply, error) L2FibClearTable(ctx context.Context, in *L2FibClearTable) (*L2FibClearTableReply, error) L2FibTableDump(ctx context.Context, in *L2FibTableDump) (RPCService_L2FibTableDumpClient, error) L2Flags(ctx context.Context, in *L2Flags) (*L2FlagsReply, error) L2InterfaceEfpFilter(ctx context.Context, in *L2InterfaceEfpFilter) (*L2InterfaceEfpFilterReply, error) L2InterfacePbbTagRewrite(ctx context.Context, in *L2InterfacePbbTagRewrite) (*L2InterfacePbbTagRewriteReply, error) L2InterfaceVlanTagRewrite(ctx context.Context, in *L2InterfaceVlanTagRewrite) (*L2InterfaceVlanTagRewriteReply, error) L2PatchAddDel(ctx context.Context, in *L2PatchAddDel) (*L2PatchAddDelReply, error) L2XconnectDump(ctx context.Context, in *L2XconnectDump) (RPCService_L2XconnectDumpClient, error) L2fibAddDel(ctx context.Context, in *L2fibAddDel) (*L2fibAddDelReply, error) L2fibFlushAll(ctx context.Context, in *L2fibFlushAll) (*L2fibFlushAllReply, error) L2fibFlushBd(ctx context.Context, in *L2fibFlushBd) (*L2fibFlushBdReply, error) L2fibFlushInt(ctx context.Context, in *L2fibFlushInt) (*L2fibFlushIntReply, error) L2fibSetScanDelay(ctx context.Context, in *L2fibSetScanDelay) (*L2fibSetScanDelayReply, error) SwInterfaceSetL2Bridge(ctx context.Context, in *SwInterfaceSetL2Bridge) (*SwInterfaceSetL2BridgeReply, error) SwInterfaceSetL2Xconnect(ctx context.Context, in *SwInterfaceSetL2Xconnect) (*SwInterfaceSetL2XconnectReply, error) SwInterfaceSetVpath(ctx context.Context, in *SwInterfaceSetVpath) (*SwInterfaceSetVpathReply, error) WantL2ArpTermEvents(ctx context.Context, in *WantL2ArpTermEvents) (*WantL2ArpTermEventsReply, error) WantL2MacsEvents(ctx context.Context, in *WantL2MacsEvents) (*WantL2MacsEventsReply, error) WantL2MacsEvents2(ctx context.Context, in *WantL2MacsEvents2) (*WantL2MacsEvents2Reply, error) }
RPCService defines RPC service l2.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_BdIPMacDumpClient ¶
type RPCService_BdIPMacDumpClient interface { Recv() (*BdIPMacDetails, error) api.Stream }
type RPCService_BridgeDomainDumpClient ¶
type RPCService_BridgeDomainDumpClient interface { Recv() (*BridgeDomainDetails, error) api.Stream }
type RPCService_L2FibTableDumpClient ¶
type RPCService_L2FibTableDumpClient interface { Recv() (*L2FibTableDetails, error) api.Stream }
type RPCService_L2XconnectDumpClient ¶
type RPCService_L2XconnectDumpClient interface { Recv() (*L2XconnectDetails, error) api.Stream }
type SwInterfaceSetL2Bridge ¶
type SwInterfaceSetL2Bridge struct { RxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` BdID uint32 `binapi:"u32,name=bd_id" json:"bd_id,omitempty"` PortType L2PortType `binapi:"l2_port_type,name=port_type" json:"port_type,omitempty"` Shg uint8 `binapi:"u8,name=shg" json:"shg,omitempty"` Enable bool `binapi:"bool,name=enable,default=true" json:"enable,omitempty"` }
Interface bridge mode request
- rx_sw_if_index - the interface
- bd_id - bridge domain id
- port_type - port_mode, see #l2_port_type
- shg - Split horizon group, for bridge mode only
- enable - Enable beige mode if not 0, else set to L3 mode
SwInterfaceSetL2Bridge defines message 'sw_interface_set_l2_bridge'.
func (*SwInterfaceSetL2Bridge) GetCrcString ¶
func (*SwInterfaceSetL2Bridge) GetCrcString() string
func (*SwInterfaceSetL2Bridge) GetMessageName ¶
func (*SwInterfaceSetL2Bridge) GetMessageName() string
func (*SwInterfaceSetL2Bridge) GetMessageType ¶
func (*SwInterfaceSetL2Bridge) GetMessageType() api.MessageType
func (*SwInterfaceSetL2Bridge) Marshal ¶
func (m *SwInterfaceSetL2Bridge) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetL2Bridge) Reset ¶
func (m *SwInterfaceSetL2Bridge) Reset()
func (*SwInterfaceSetL2Bridge) Size ¶
func (m *SwInterfaceSetL2Bridge) Size() (size int)
func (*SwInterfaceSetL2Bridge) Unmarshal ¶
func (m *SwInterfaceSetL2Bridge) Unmarshal(b []byte) error
type SwInterfaceSetL2BridgeReply ¶
type SwInterfaceSetL2BridgeReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetL2BridgeReply defines message 'sw_interface_set_l2_bridge_reply'.
func (*SwInterfaceSetL2BridgeReply) GetCrcString ¶
func (*SwInterfaceSetL2BridgeReply) GetCrcString() string
func (*SwInterfaceSetL2BridgeReply) GetMessageName ¶
func (*SwInterfaceSetL2BridgeReply) GetMessageName() string
func (*SwInterfaceSetL2BridgeReply) GetMessageType ¶
func (*SwInterfaceSetL2BridgeReply) GetMessageType() api.MessageType
func (*SwInterfaceSetL2BridgeReply) Marshal ¶
func (m *SwInterfaceSetL2BridgeReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetL2BridgeReply) Reset ¶
func (m *SwInterfaceSetL2BridgeReply) Reset()
func (*SwInterfaceSetL2BridgeReply) Size ¶
func (m *SwInterfaceSetL2BridgeReply) Size() (size int)
func (*SwInterfaceSetL2BridgeReply) Unmarshal ¶
func (m *SwInterfaceSetL2BridgeReply) Unmarshal(b []byte) error
type SwInterfaceSetL2Xconnect ¶
type SwInterfaceSetL2Xconnect struct { RxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=rx_sw_if_index" json:"rx_sw_if_index,omitempty"` TxSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=tx_sw_if_index" json:"tx_sw_if_index,omitempty"` Enable bool `binapi:"bool,name=enable,default=true" json:"enable,omitempty"` }
Set L2 XConnect between two interfaces request
- rx_sw_if_index - Receive interface index
- tx_sw_if_index - Transmit interface index
- enable - enable xconnect if not 0, else set to L3 mode
SwInterfaceSetL2Xconnect defines message 'sw_interface_set_l2_xconnect'.
func (*SwInterfaceSetL2Xconnect) GetCrcString ¶
func (*SwInterfaceSetL2Xconnect) GetCrcString() string
func (*SwInterfaceSetL2Xconnect) GetMessageName ¶
func (*SwInterfaceSetL2Xconnect) GetMessageName() string
func (*SwInterfaceSetL2Xconnect) GetMessageType ¶
func (*SwInterfaceSetL2Xconnect) GetMessageType() api.MessageType
func (*SwInterfaceSetL2Xconnect) Marshal ¶
func (m *SwInterfaceSetL2Xconnect) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetL2Xconnect) Reset ¶
func (m *SwInterfaceSetL2Xconnect) Reset()
func (*SwInterfaceSetL2Xconnect) Size ¶
func (m *SwInterfaceSetL2Xconnect) Size() (size int)
func (*SwInterfaceSetL2Xconnect) Unmarshal ¶
func (m *SwInterfaceSetL2Xconnect) Unmarshal(b []byte) error
type SwInterfaceSetL2XconnectReply ¶
type SwInterfaceSetL2XconnectReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetL2XconnectReply defines message 'sw_interface_set_l2_xconnect_reply'.
func (*SwInterfaceSetL2XconnectReply) GetCrcString ¶
func (*SwInterfaceSetL2XconnectReply) GetCrcString() string
func (*SwInterfaceSetL2XconnectReply) GetMessageName ¶
func (*SwInterfaceSetL2XconnectReply) GetMessageName() string
func (*SwInterfaceSetL2XconnectReply) GetMessageType ¶
func (*SwInterfaceSetL2XconnectReply) GetMessageType() api.MessageType
func (*SwInterfaceSetL2XconnectReply) Marshal ¶
func (m *SwInterfaceSetL2XconnectReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetL2XconnectReply) Reset ¶
func (m *SwInterfaceSetL2XconnectReply) Reset()
func (*SwInterfaceSetL2XconnectReply) Size ¶
func (m *SwInterfaceSetL2XconnectReply) Size() (size int)
func (*SwInterfaceSetL2XconnectReply) Unmarshal ¶
func (m *SwInterfaceSetL2XconnectReply) Unmarshal(b []byte) error
type SwInterfaceSetVpath ¶
type SwInterfaceSetVpath struct { SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` Enable bool `binapi:"bool,name=enable,default=4.294967295e+09" json:"enable,omitempty"` }
Interface set vpath request
- sw_if_index - interface used to reach neighbor
- enable - if non-zero enable, else disable
SwInterfaceSetVpath defines message 'sw_interface_set_vpath'.
func (*SwInterfaceSetVpath) GetCrcString ¶
func (*SwInterfaceSetVpath) GetCrcString() string
func (*SwInterfaceSetVpath) GetMessageName ¶
func (*SwInterfaceSetVpath) GetMessageName() string
func (*SwInterfaceSetVpath) GetMessageType ¶
func (*SwInterfaceSetVpath) GetMessageType() api.MessageType
func (*SwInterfaceSetVpath) Marshal ¶
func (m *SwInterfaceSetVpath) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetVpath) Reset ¶
func (m *SwInterfaceSetVpath) Reset()
func (*SwInterfaceSetVpath) Size ¶
func (m *SwInterfaceSetVpath) Size() (size int)
func (*SwInterfaceSetVpath) Unmarshal ¶
func (m *SwInterfaceSetVpath) Unmarshal(b []byte) error
type SwInterfaceSetVpathReply ¶
type SwInterfaceSetVpathReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SwInterfaceSetVpathReply defines message 'sw_interface_set_vpath_reply'.
func (*SwInterfaceSetVpathReply) GetCrcString ¶
func (*SwInterfaceSetVpathReply) GetCrcString() string
func (*SwInterfaceSetVpathReply) GetMessageName ¶
func (*SwInterfaceSetVpathReply) GetMessageName() string
func (*SwInterfaceSetVpathReply) GetMessageType ¶
func (*SwInterfaceSetVpathReply) GetMessageType() api.MessageType
func (*SwInterfaceSetVpathReply) Marshal ¶
func (m *SwInterfaceSetVpathReply) Marshal(b []byte) ([]byte, error)
func (*SwInterfaceSetVpathReply) Reset ¶
func (m *SwInterfaceSetVpathReply) Reset()
func (*SwInterfaceSetVpathReply) Size ¶
func (m *SwInterfaceSetVpathReply) Size() (size int)
func (*SwInterfaceSetVpathReply) Unmarshal ¶
func (m *SwInterfaceSetVpathReply) Unmarshal(b []byte) error
type WantL2ArpTermEvents ¶
type WantL2ArpTermEvents struct { Enable bool `binapi:"bool,name=enable" json:"enable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
Register for IP4 ARP resolution event on receiving ARP reply or
MAC/IP info from ARP requests in L2 BDs - enable - 1 => register for events, 0 => cancel registration - pid - sender's pid
WantL2ArpTermEvents defines message 'want_l2_arp_term_events'.
func (*WantL2ArpTermEvents) GetCrcString ¶
func (*WantL2ArpTermEvents) GetCrcString() string
func (*WantL2ArpTermEvents) GetMessageName ¶
func (*WantL2ArpTermEvents) GetMessageName() string
func (*WantL2ArpTermEvents) GetMessageType ¶
func (*WantL2ArpTermEvents) GetMessageType() api.MessageType
func (*WantL2ArpTermEvents) Marshal ¶
func (m *WantL2ArpTermEvents) Marshal(b []byte) ([]byte, error)
func (*WantL2ArpTermEvents) Reset ¶
func (m *WantL2ArpTermEvents) Reset()
func (*WantL2ArpTermEvents) Size ¶
func (m *WantL2ArpTermEvents) Size() (size int)
func (*WantL2ArpTermEvents) Unmarshal ¶
func (m *WantL2ArpTermEvents) Unmarshal(b []byte) error
type WantL2ArpTermEventsReply ¶
type WantL2ArpTermEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantL2ArpTermEventsReply defines message 'want_l2_arp_term_events_reply'.
func (*WantL2ArpTermEventsReply) GetCrcString ¶
func (*WantL2ArpTermEventsReply) GetCrcString() string
func (*WantL2ArpTermEventsReply) GetMessageName ¶
func (*WantL2ArpTermEventsReply) GetMessageName() string
func (*WantL2ArpTermEventsReply) GetMessageType ¶
func (*WantL2ArpTermEventsReply) GetMessageType() api.MessageType
func (*WantL2ArpTermEventsReply) Marshal ¶
func (m *WantL2ArpTermEventsReply) Marshal(b []byte) ([]byte, error)
func (*WantL2ArpTermEventsReply) Reset ¶
func (m *WantL2ArpTermEventsReply) Reset()
func (*WantL2ArpTermEventsReply) Size ¶
func (m *WantL2ArpTermEventsReply) Size() (size int)
func (*WantL2ArpTermEventsReply) Unmarshal ¶
func (m *WantL2ArpTermEventsReply) Unmarshal(b []byte) error
type WantL2MacsEvents ¶
type WantL2MacsEvents struct { LearnLimit uint32 `binapi:"u32,name=learn_limit,default=1000" json:"learn_limit,omitempty"` ScanDelay uint8 `binapi:"u8,name=scan_delay,default=10" json:"scan_delay,omitempty"` MaxMacsInEvent uint8 `binapi:"u8,name=max_macs_in_event,default=10" json:"max_macs_in_event,omitempty"` EnableDisable bool `binapi:"bool,name=enable_disable,default=true" json:"enable_disable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
Register to receive L2 MAC events for learned and aged MAC
- learn_limit - MAC learn limit
- scan_delay - event scan delay in 10 msec unit
- max_macs_in_event - in units of 10 mac entries
- enable_disable - 1 => register for MAC events, 0 => cancel registration
- pid - sender's pid
WantL2MacsEvents defines message 'want_l2_macs_events'. Deprecated: the message will be removed in the future versions
func (*WantL2MacsEvents) GetCrcString ¶
func (*WantL2MacsEvents) GetCrcString() string
func (*WantL2MacsEvents) GetMessageName ¶
func (*WantL2MacsEvents) GetMessageName() string
func (*WantL2MacsEvents) GetMessageType ¶
func (*WantL2MacsEvents) GetMessageType() api.MessageType
func (*WantL2MacsEvents) Reset ¶
func (m *WantL2MacsEvents) Reset()
func (*WantL2MacsEvents) Size ¶
func (m *WantL2MacsEvents) Size() (size int)
func (*WantL2MacsEvents) Unmarshal ¶
func (m *WantL2MacsEvents) Unmarshal(b []byte) error
type WantL2MacsEvents2 ¶
type WantL2MacsEvents2 struct { MaxMacsInEvent uint8 `binapi:"u8,name=max_macs_in_event,default=10" json:"max_macs_in_event,omitempty"` EnableDisable bool `binapi:"bool,name=enable_disable,default=true" json:"enable_disable,omitempty"` PID uint32 `binapi:"u32,name=pid" json:"pid,omitempty"` }
Register to receive L2 MAC events for learned and aged MAC
- max_macs_in_event - in units of 10 mac entries
- enable_disable - 1 => register for MAC events, 0 => cancel registration
- pid - sender's pid
WantL2MacsEvents2 defines message 'want_l2_macs_events2'.
func (*WantL2MacsEvents2) GetCrcString ¶
func (*WantL2MacsEvents2) GetCrcString() string
func (*WantL2MacsEvents2) GetMessageName ¶
func (*WantL2MacsEvents2) GetMessageName() string
func (*WantL2MacsEvents2) GetMessageType ¶
func (*WantL2MacsEvents2) GetMessageType() api.MessageType
func (*WantL2MacsEvents2) Reset ¶
func (m *WantL2MacsEvents2) Reset()
func (*WantL2MacsEvents2) Size ¶
func (m *WantL2MacsEvents2) Size() (size int)
func (*WantL2MacsEvents2) Unmarshal ¶
func (m *WantL2MacsEvents2) Unmarshal(b []byte) error
type WantL2MacsEvents2Reply ¶
type WantL2MacsEvents2Reply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantL2MacsEvents2Reply defines message 'want_l2_macs_events2_reply'.
func (*WantL2MacsEvents2Reply) GetCrcString ¶
func (*WantL2MacsEvents2Reply) GetCrcString() string
func (*WantL2MacsEvents2Reply) GetMessageName ¶
func (*WantL2MacsEvents2Reply) GetMessageName() string
func (*WantL2MacsEvents2Reply) GetMessageType ¶
func (*WantL2MacsEvents2Reply) GetMessageType() api.MessageType
func (*WantL2MacsEvents2Reply) Marshal ¶
func (m *WantL2MacsEvents2Reply) Marshal(b []byte) ([]byte, error)
func (*WantL2MacsEvents2Reply) Reset ¶
func (m *WantL2MacsEvents2Reply) Reset()
func (*WantL2MacsEvents2Reply) Size ¶
func (m *WantL2MacsEvents2Reply) Size() (size int)
func (*WantL2MacsEvents2Reply) Unmarshal ¶
func (m *WantL2MacsEvents2Reply) Unmarshal(b []byte) error
type WantL2MacsEventsReply ¶
type WantL2MacsEventsReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
WantL2MacsEventsReply defines message 'want_l2_macs_events_reply'. Deprecated: the message will be removed in the future versions
func (*WantL2MacsEventsReply) GetCrcString ¶
func (*WantL2MacsEventsReply) GetCrcString() string
func (*WantL2MacsEventsReply) GetMessageName ¶
func (*WantL2MacsEventsReply) GetMessageName() string
func (*WantL2MacsEventsReply) GetMessageType ¶
func (*WantL2MacsEventsReply) GetMessageType() api.MessageType
func (*WantL2MacsEventsReply) Marshal ¶
func (m *WantL2MacsEventsReply) Marshal(b []byte) ([]byte, error)
func (*WantL2MacsEventsReply) Reset ¶
func (m *WantL2MacsEventsReply) Reset()
func (*WantL2MacsEventsReply) Size ¶
func (m *WantL2MacsEventsReply) Size() (size int)
func (*WantL2MacsEventsReply) Unmarshal ¶
func (m *WantL2MacsEventsReply) Unmarshal(b []byte) error