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
Click to show internal directories.
Click to hide internal directories.