Routing Table Dataset » History » Version 13
Ashlesh Gawande, 08/18/2017 08:10 AM
1 | 1 | Laqin Fan | # Routing Table Dataset |
---|---|---|---|
2 | 2 | Laqin Fan | |
3 | The routing table can be published as a [[NFD:StatusDataset|Status Dataset]] at `/$ROUTER_NAME/routing-table/list`: |
||
4 | |||
5 | 4 | Laqin Fan | ## Routing Table Status |
6 | |||
7 | |||
8 | 12 | Laqin Fan | The routing table is organized and represented as an **RoutingTable** block: |
9 | 4 | Laqin Fan | |
10 | 12 | Laqin Fan | RoutingTable := ROUTINGTABLE-TYPE TLV-LENGTH |
11 | RoutingTableEntry* |
||
12 | 1 | Laqin Fan | |
13 | 8 | Laqin Fan | ## RouteTable |
14 | 1 | Laqin Fan | |
15 | 12 | Laqin Fan | All routing table information in the routing table is organized and represented as an **RoutingTableEntry** block. |
16 | 1 | Laqin Fan | |
17 | 12 | Laqin Fan | RoutingTableEntry := ROUTINGTABLEENTRY-TYPE TLV-LENGTH |
18 | Destination |
||
19 | NextHop+ |
||
20 | 8 | Laqin Fan | |
21 | 5 | Laqin Fan | Destination := DESTINATION-TYPE TLV-LENGTH |
22 | 8 | Laqin Fan | Name |
23 | 5 | Laqin Fan | |
24 | |||
25 | 3 | Laqin Fan | NextHop := NEXTHOP-TYPE TLV-LENGTH |
26 | 6 | Laqin Fan | Uri |
27 | Cost |
||
28 | 1 | Laqin Fan | |
29 | ## TLV-TYPE assignments |
||
30 | |||
31 | Uri | 141 | 0x8D |
||
32 | Destination | 142 | 0x8E |
||
33 | 5 | Laqin Fan | NextHop | 144 | 0x90 |
34 | 12 | Laqin Fan | RoutingTable | 145 | 0x91 |
35 | RouteTableEntry | 146 | 0x92 |