Rib

Keys

Leafs

Children

class RoutingState.RoutingInstance.Ribs.Rib

Bases: Entity

Class Hierarchy: RoutingState RoutingInstance Ribs Rib

This class represents state data.

Each entry represents a RIB identified by the ‘name’

key. All routes in a RIB MUST belong to the same address

family.

For each routing instance, an implementation SHOULD

provide one system-controlled default RIB for each

supported address family.

name(key)

The name of the RIB

type: str

config: False

address_family

Address family

type: one of the below values: Ipv4

mandatory: True

config: False

default_rib

This flag has the value of ‘true’ if and only if the RIB is the default RIB for the given address family. A default RIB always receives direct routes. By default it also receives routes from all routing protocols

type: bool

config: False

default value: true

routes

Current content of the RIB

type: Routes

config: False