Route¶
Leafs
active
address_family
ietf_ipv4_unicast_routing_destination_prefix
ietf_ipv6_unicast_routing_destination_prefix
last_updated
source_protocol
Children
-
class
FibRoute.Output.
Route
¶ Bases:
Entity
Class Hierarchy:
FibRoute
Output
Route
This class represents configuration data.
The active FIB route for the specified destination.
If the routing instance has no active FIB route for the
destination address, no output is returned - the server
SHALL send an <rpc-reply> containing a single element
<ok>.
Address family specific modules MUST augment this list
with appropriate route contents.
-
source_protocol
¶ Type of the routing protocol from which the route originated
type: one of the below values:
Ospf
mandatory: True
-
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
-
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})
-
ietf_ipv4_unicast_routing_destination_prefix
¶ IPv4 destination prefix
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])/(([0-9])|([1-2][0-9])|(3[0-2]))
-
ietf_ipv6_unicast_routing_destination_prefix
¶ IPv6 destination prefix
type: str
pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))
-