Private Functions
Friends
Private Functions
Friends
This class receives changes route/fec collection.
Public Functions
Handler called when a route gets added or updated.
Handler called when a route gets deleted.
Handler called when a FEC gets added or updated.
Handler called when a FEC gets deleted.
The FIB Manager.
Public Functions
Returns the mode this manager is in. This mode is set during the construction of the manager, i.e.: `sdk.get_fib_mgr(MODE_TYPE_READ_NOTIFYING)`. If MODE_TYPE_READ_ONLY, only the getters and iterators of this manager will function.
Protected Functions
Private Members
Friends
Enums
Enums for host routes and FIB routes.
Values:
Host routes.
Unknows routing protocol.
FIB routes.
Values:
An IP route key that goes in FIB.
Public Functions
Getter for ‘prefix’: IP v4/v6 network prefix.
Setter for ‘prefix’.
Returns a string representation of the current object’s values.
Private Members
Friends
A utility stream operator that adds a string representation of fib_route_key_t to the ostream.
An IP route that goes in FIB. The “fec_id” represents the fec a.k.a adjacency associated with the route. Note FEC stands for Forwarding Equivalence Class.
Public Functions
Getter for ‘route_key’: IP v4/v6 network route key consisting of prefix.
Setter for ‘route_key’.
Getter for ‘preference’: 0..255 only, defaults to 1.
Setter for ‘preference’.
Getter for ‘fec_id’: id that links prefix to the fec a.k.a Adjacency.
Setter for ‘fec_id’.
Returns a string representation of the current object’s values.
Private Members
Friends
A utility stream operator that adds a string representation of fib_route_t to the ostream.
FEC key that goes in FIB.
Public Functions
Getter for ‘fec_id’: fec_id[56:63] denotes the feature, 0: fib Fec, 1 : resilientEcmp feature, 2: nextHopGroup feature.
Setter for ‘fec_id’.
Returns a string representation of the current object’s values.
Private Members
Friends
A utility stream operator that adds a string representation of fib_fec_key_t to the ostream.
via (nexthop) information.
Public Functions
Returns a string representation of the current object’s values.
Friends
A utility stream operator that adds a string representation of fib_via_t to the ostream.
FEC (Forwarding Equivalence Class), consists of collection (one or more) vias.
Public Functions
Getter for ‘fec_key’: fec_key consisting of fec_id.
Setter for ‘fec_key’.
Getter for ‘nexthop_group_name’: Name of the nexthop group, in case fec_type is FEC_TYPE_NEXTHOP_GROUP.
Setter for ‘nexthop_group_name’.
Getter for ‘via’: A list of vias that traffic will be distributed amongst. Duplicate vias will be weighted heavily.
Setter for ‘via’.
Prepend one via to the list.
Remove all matching via elements.
Returns a string representation of the current object’s values.
Private Members
Friends
A utility stream operator that adds a string representation of fib_fec_t to the ostream.