Project

General

Profile

Routing Table Dataset » History » Revision 2

Revision 1 (Laqin Fan, 05/31/2017 01:50 PM) → Revision 2/26 (Laqin Fan, 05/31/2017 03:01 PM)

# Routing Table Dataset 
 ## Routing Table Status 

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

 ## Destination 

 All destibations in the routing table are organized and represented as an **destination** block. 

     Destination := DESTINATION-LIST-TYPE TLV-LENGTH 
                       NextHop+ 

     NextHop := NEXTHOP-TYPE TLV-LENGTH 
                    Name 
                    Uri 
                    Cost 

 ## Routing Table Status 


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

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



 Name* 
                      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