Routing Table Dataset » History » Revision 19
« Previous |
Revision 19/26
(diff)
| Next »
Laqin Fan, 01/26/2018 12:28 PM
Routing Table Dataset¶
The routing table can be published as a Status Dataset at /$ROUTER_NAME/routing-table
:
Routing Table Status¶
The routing table is organized and represented as an RoutingTable block:
RoutingTable := ROUTINGTABLE-TYPE TLV-LENGTH
RoutingTableEntry*
DryHRoutingTableEntry*
RouteTable¶
All routing table information in LS or HR mode is organized and represented as an RoutingTableEntry block.
RoutingTableEntry := ROUTINGTABLEENTRY-TYPE TLV-LENGTH
Destination
NextHop+
Destination := DESTINATION-TYPE TLV-LENGTH
Name
NextHop := NEXTHOP-TYPE TLV-LENGTH
Uri
Cost
All routing table information in LS or HR mode is organized and represented as an RoutingTableEntry block.
DryHRoutingTableEntry := DRYHROUTINGTABLEENTRY-TYPE TLV-LENGTH
Destination
NextHop+
Destination := DESTINATION-TYPE TLV-LENGTH
Name
NextHop := NEXTHOP-TYPE TLV-LENGTH
Uri
Double
Note that Double is used here as HR routing costs do have floating points (However they are installed in NFD's FIB as adjusted integers).
Also note that currently in dry run mode, HR and LS routing table are printed consecutively with no separation.
TLV-TYPE assignments¶
Type | Assigned value | Assigned value (hex) |
---|---|---|
Uri | 141 | 0x8D |
Destination | 142 | 0x8E |
NextHop | 143 | 0x8F |
RoutingTable | 144 | 0x90 |
RouteTableEntry | 145 | 0x91 |
DryRouteTableEntry | 146 | 0x92 |
Updated by Laqin Fan almost 7 years ago · 26 revisions