vppdump

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2017 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpBridgeDomainIDs

func DumpBridgeDomainIDs(vppChannel *govppapi.Channel) ([]uint32, error)

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

func DumpFIBTableEntries

func DumpFIBTableEntries(vppChan *govppapi.Channel) (map[string]*FIBTableEntry, error)

DumpFIBTableEntries dumps VPP FIB table entries into the northbound API data structure map indexed by destination MAC address.

func DumpXConnectPairs

func DumpXConnectPairs(vppChan *govppapi.Channel) (map[uint32]*XConnectPairs, error)

DumpXConnectPairs dumps VPP xconnect pair data into the northbound API data structure map indexed by rx interface index.

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.

type XConnectPairs

type XConnectPairs struct {
	ReceiveInterfaceSwIfIdx  uint32
	TransmitInterfaceSwIfIdx uint32
}

XConnectPairs is the wrapper structure for the l2 xconnect northbound API structure.

Jump to

Keyboard shortcuts

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