vppdump

package
v1.0.5 Latest Latest
Warning

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

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

Documentation

Overview

Package vppdump provides helpers to dump all L3 FIBs configured in VPP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpStaticRoutes

func DumpStaticRoutes(vppChan *govppapi.Channel) (map[uint32]*StaticRoutes, error)

DumpStaticRoutes dumps l3 routes from VPP and fills them into the provided static route map.

Types

type NextHop

type NextHop struct {
	OutgoingInterfaceSwIfIdx    uint32
	OutgoingInterfaceConfigured bool
	l3nb.StaticRoutes_Route_NextHops
}

NextHop is the wrapper structure for the bridge domain interface northbound API structure.

type StaticRouteIP

type StaticRouteIP struct {
	NextHops []*NextHop
	l3nb.StaticRoutes_Route
}

StaticRouteIP is the wrapper structure for the static IP route API structure. NOTE: NextHops in StaticRoutes_Ip is overridden by the local NextHops member.

type StaticRoutes

type StaticRoutes struct {
	IP []*StaticRouteIP
}

StaticRoutes is the wrapper structure for the static routes API structure.

Jump to

Keyboard shortcuts

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