Project

General

Profile

Routing Table Dataset » History » Revision 9

Revision 8 (Laqin Fan, 06/21/2017 03:53 PM) → Revision 9/26 (Laqin Fan, 06/21/2017 05:14 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 **RtStatus** block: 

     RtStatus := RT-STATUS-TYPE TLV-LENGTH 
                  RouteTableInfo* 

 ## RouteTable 

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

     RouteTableInfo := ROUTINGTABLE-TYPE TLV-LENGTH 
                          Destination 
                          NextHop* NexthopList* 

     Destination := DESTINATION-TYPE TLV-LENGTH 
                         Name                 


                     

     NexthopList := NEXTHOPLIST-TYPE TLV-LENGTH 
                       NextHop* 

     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 
 NexthopList                                   | 143                 | 0x8F 
 NextHop                                       | 144                 | 0x90 
 RTStatus                                      | 145                 | 0x91 
 RouteTableInfo                                | 146                 | 0x92