mergedlocrib

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MergedLocRIB

type MergedLocRIB struct {
	// contains filtered or unexported fields
}

MergedLocRIB provides an deduplicated routing table

func New

func New(locRIB *locRIB.LocRIB) *MergedLocRIB

New creates a new MergedLocRIB and starts it

func (*MergedLocRIB) AddRoute

func (rtm *MergedLocRIB) AddRoute(cc interface{}, r *routeapi.Route) error

AddRoute adds a route

func (*MergedLocRIB) DropAllBySrc

func (rtm *MergedLocRIB) DropAllBySrc(src interface{})

DropAllBySrc drops all routes learned from a source

func (*MergedLocRIB) Metrics

func (rtm *MergedLocRIB) Metrics() *metrics.MergedLocRIBMetrics

Metrics gets the metrics

func (*MergedLocRIB) RemoveRoute

func (rtm *MergedLocRIB) RemoveRoute(cc interface{}, r *routeapi.Route) error

RemoveRoute deletes a route

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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