RoutingInstance

Keys

Leafs

Children

class RoutingState.RoutingInstance

Bases: Entity

Class Hierarchy: RoutingState RoutingInstance

This class represents state data.

Each list entry is a container for state data of a routing

instance.

An implementation MUST support routing instance(s) of the

type ‘rt:default-routing-instance’, and MAY support other

types. An implementation MAY restrict the number of routing

instances of each supported type.

An implementation SHOULD create at least one

system-controlled instance, and MAY allow the clients to

create user-controlled routing instances in

configuration.

name(key)

The name of the routing instance. For system-controlled instances the name is persistent, i.e., it SHOULD NOT change across reboots

type: str

config: False

type

The routing instance type

type: one of the below values: DefaultRoutingInstance

config: False

router_id

A 32-bit number in the form of a dotted quad that is used by some routing protocols identifying a router

type: str

pattern: (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])

config: False

interfaces

Network layer interfaces belonging to the routing instance

type: Interfaces

config: False

routing_protocols

Container for the list of routing protocol instances

type: RoutingProtocols

config: False

ribs

Container for RIBs

type: Ribs

config: False