vppdump

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpInterfaces

func DumpInterfaces(vppChan *govppapi.Channel) (map[uint32]*Interface, error)

DumpInterfaces dumps VPP interface data into the northbound API data structure map indexed by software interface index.

LIMITATIONS: - there is no af_packet dump binary API. We relay on naming conventions of the internal VPP interface names - ip.IPAddressDetails has wrong internal structure, as a workaround we need to handle them as notifications

Types

type Interface

type Interface struct {
	VPPInternalName string
	ifnb.Interfaces_Interface
}

Interface is the wrapper structure for the interface northbound API structure.

Jump to

Keyboard shortcuts

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