Project

General

Profile

Routing Table Dataset » History » Revision 5

Revision 4 (Laqin Fan, 06/08/2017 07:01 AM) → Revision 5/26 (Laqin Fan, 06/21/2017 02:58 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 
                  Destination* 
                  NexthopList* 

 ## Destination 

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

     Destination := DESTINATION-TYPE DESTINATION-LIST-TYPE TLV-LENGTH 
                       Name* 

                     
 ## Destination 

 All destibations in the routing table are organized and represented as an **nexthoplist** block. NextHop+ 

     NexthopList := NEXTHOPLIST-TYPE TLV-LENGTH 
                       NextHop* 

     NextHop := NEXTHOP-TYPE TLV-LENGTH 
                    Name 
                    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                                   NextHop                                       | 143                 | 0x8F 
 NextHop                                       | 144                 | 0x90