Project

General

Profile

Routing Table Dataset » History » Revision 12

Revision 11 (Laqin Fan, 06/28/2017 07:52 AM) → Revision 12/26 (Laqin Fan, 06/28/2017 02:52 PM)

# 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** **RtStatus** block: 

     RoutingTable RtStatus := ROUTINGTABLE-TYPE RT-STATUS-TYPE TLV-LENGTH 
                        RoutingTableEntry* 
                  RouteTable* 

 ## RouteTable 

 All routing table information in the routing table is organized and represented as an **RoutingTableEntry** **RouteTable** block. 

     RoutingTableEntry RouteTable := ROUTINGTABLEENTRY-TYPE ROUTINGTABLE-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) 
 ------------------------------------------- | ----------------- | -------------------- 
 LsaInfo                                       | 128                 | 0x80 
 OriginRouter                                  | 129                 | 0x81 
 SequenceNumber                                | 130                 | 0x82 
 AdjacencyLsa                                  | 131                 | 0x83 
 Adjacency                                     | 132                 | 0x84 
 CoordinateLsa                                 | 133                 | 0x85 
 Double                                        | 134                 | 0x86 
 HyperbolicRadius                              | 135                 | 0x87 
 HyperbolicAngle                               | 136                 | 0x88 
 NameLsa                                       | 137                 | 0x89 
 LsdbStatus                                    | 138                 | 0x8A 
 ExpirationPeriod                              | 139                 | 0x8B 
 Cost                                          | 140                 | 0x8C 
 Uri                                           | 141                 | 0x8D 
 Destination                                   | 142                 | 0x8E 
 NextHop                                       | 144                 | 0x90 
 RoutingTable                                  RTStatus                                      | 145                 | 0x91 
 RouteTableEntry                               RouteTable                                    | 146                 | 0x92