metrics

package
v0.0.3-pre7 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RIBMetrics

type RIBMetrics struct {
	// Name of the RIB
	Name string

	// AFI is the identifier for the address family
	AFI uint16

	// SAFI is the identifier for the sub address family
	SAFI uint8

	// Number of routes in the RIB
	RouteCount uint64
}

RIBMetrics represents metrics of a RIB in a VRF

type VRFMetrics

type VRFMetrics struct {
	// Name of the VRF
	Name string

	// RD is the route distinguisher
	RD uint64

	// RIBs returns the RIB specific metrics
	RIBs []*RIBMetrics
}

VRFMetrics represents a collection of metrics of one VRF

Jump to

Keyboard shortcuts

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