LocRib

Leafs

Children

class BgpRib.AfiSafis.AfiSafi.Ipv4Unicast.LocRib

Bases: Entity

Class Hierarchy : BgpRib AfiSafis AfiSafi Ipv4Unicast LocRib

This class represents state data.

Main routing table on the router, containing best-path

selections for each prefix. The loc-rib may contain

multiple routes for the same prefix (it is a read-only,

unkeyed list). The best-path leaf should be set to true

for the route selected by the best-path selection process.

Note that multiple paths may be used or advertised even if

only one path is marked as best, e.g., when using BGP

add-paths. An implementation may choose to mark multiple

paths in the RIB as best path by setting the flag to true for

multiple entries.

num_routes

Number of route entries in the table

type: int

range: 0..18446744073709551615

config: False

routes

Enclosing container for list of routes in the routing table

type: Routes

config: False