mergedlocrib

package
v0.0.3-pre4.0...-0ec3cfc Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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