Documentation
¶
Overview ¶
Package vppdump provides helpers to dump all bridge-domains, L2 FIBs and XConnect pairs configured in VPP.
Index ¶
- func DumpBridgeDomainIDs(vppChannel *govppapi.Channel) ([]uint32, error)
- func DumpBridgeDomains(vppChan *govppapi.Channel) (map[uint32]*BridgeDomain, error)
- func DumpFIBTableEntries(vppChan *govppapi.Channel) (map[string]*FIBTableEntry, error)
- func DumpXConnectPairs(vppChan *govppapi.Channel) (map[uint32]*XConnectPairs, error)
- type BridgeDomain
- type BridgeDomainInterface
- type FIBTableEntry
- type XConnectPairs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpBridgeDomainIDs ¶
DumpBridgeDomainIDs lists all configured bridge domains. Auxiliary method for LookupFIBEntries
func DumpBridgeDomains ¶
func DumpBridgeDomains(vppChan *govppapi.Channel) (map[uint32]*BridgeDomain, error)
DumpBridgeDomains dumps VPP bridge domain data into the northbound API data structure map indexed by bridge domain ID.
LIMITATIONS: - not able to dump ArpTerminationTable - missing binary API
Types ¶
type BridgeDomain ¶
type BridgeDomain struct {
Interfaces []*BridgeDomainInterface
l2nb.BridgeDomains_BridgeDomain
}
BridgeDomain is the wrapper structure for the bridge domain northbound API structure. NOTE: Interfaces in BridgeDomains_BridgeDomain is overridden by the local Interfaces member.
type BridgeDomainInterface ¶
type BridgeDomainInterface struct {
SwIfIndex uint32
l2nb.BridgeDomains_BridgeDomain_Interfaces
}
BridgeDomainInterface is the wrapper structure for the bridge domain interface northbound API structure.
type FIBTableEntry ¶
type FIBTableEntry struct {
BridgeDomainIdx uint32
OutgoingInterfaceSwIfIdx uint32
l2nb.FibTableEntries_FibTableEntry
}
FIBTableEntry is the wrapper structure for the FIB table entry northbound API structure.
Source Files
¶
- doc.go
- dump_vppcalls.go