Project

General

Profile

Routing Table Dataset » History » Revision 14

Revision 13 (Ashlesh Gawande, 08/18/2017 08:10 AM) → Revision 14/26 (Ashlesh Gawande, 08/18/2017 08:10 AM)

# Routing Table Dataset 

 The routing table can be published as a [[NFD:StatusDataset|Status Dataset]] at `/$ROUTER_NAME/routing-table/list`: 

 ## Routing Table Status 


 The routing table is organized and represented as an **RoutingTable** block: 

     RoutingTable := ROUTINGTABLE-TYPE TLV-LENGTH 
                        RoutingTableEntry* 

 ## RouteTable 

 All routing table information in the routing table 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 

 ## TLV-TYPE assignments 

 Type                                          | Assigned value      | Assigned value (hex) 
 ------------------------------------------- | ----------------- | -------------------- 
 Uri                                           | 141                 | 0x8D 
 Destination                                   | 142                 | 0x8E 
 NextHop                                       | 144                 | 0x90 
 RoutingTable                                  | 145                 | 0x91 
 RouteTableEntry                               | 146                 | 0x92