Route

Keys

Leafs

Children

Enum Classes

class RoutingState.RoutingInstance.Ribs.Rib.Routes.Route

Bases: Entity

Class Hierarchy: RoutingState RoutingInstance Ribs Rib Routes Route

This class represents state data.

A RIB route entry. This data node MUST be augmented

with information specific for routes of each address

family.

destination_prefix(key)

Destination IP address with prefix

type: str

config: False

route_preference

This route attribute, also known as administrative distance, allows for selecting the preferred route among routes with the same destination prefix. A smaller value means a more preferred route

type: int

range: 0..4294967295

config: False

metric

Route metric

type: int

range: 0..4294967295

config: False

next_hop

Route’s next-hop attribute

type: NextHop

config: False

source_protocol

Type of the routing protocol from which the route originated

type: one of the below values: Ospf

mandatory: True

config: False

active

Presence of this leaf indicates that the route is preferred among all routes in the same RIB that have the same destination prefix

type: Empty

config: False

last_updated

Time stamp of the last modification of the route. If the route was never modified, it is the time when the route was inserted into the RIB

type: str

pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2})

config: False

update_source

Update source for the route

type: str

config: False

tag

OSPF route tag

type: int

range: 0..4294967295

config: False

default value: 0

route_type

OSPF route type

type: RouteType

config: False