Project

General

Profile

Routing Table Dataset » History » Revision 11

Revision 10 (Laqin Fan, 06/22/2017 01:25 PM) → Revision 11/26 (Laqin Fan, 06/28/2017 07:52 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 **RtStatus** block: 

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

 ## RouteTable 

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

     RouteTable RouteTableInfo := 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 
 RTStatus                                      | 145                 | 0x91 
 RouteTable                                    RouteTableInfo                                | 146                 | 0x92