Project

General

Profile

Routing Table Dataset » History » Version 4

Laqin Fan, 06/08/2017 07:01 AM

1 1 Laqin Fan
# Routing Table Dataset
2 2 Laqin Fan
3
The routing table can be published as a [[NFD:StatusDataset|Status Dataset]] at `/$ROUTER_NAME/routing-table/list`:
4
5 4 Laqin Fan
## Routing Table Status
6
7
8
The routing table is organized and represented as an **RtStatus** block:
9
10
    RtStatus := RT-STATUS-TYPE TLV-LENGTH
11
                 Destination*
12
13 2 Laqin Fan
## Destination
14
15
All destibations in the routing table are organized and represented as an **destination** block.
16
17 1 Laqin Fan
    Destination := DESTINATION-LIST-TYPE TLV-LENGTH
18
                      NextHop+
19
20
    NextHop := NEXTHOP-TYPE TLV-LENGTH
21
                   Name
22
                   Uri
23 3 Laqin Fan
                   Cost
24 2 Laqin Fan
                     
25 1 Laqin Fan
26
27
28
## TLV-TYPE assignments
29
30
Type                                        | Assigned value    | Assigned value (hex)
31
------------------------------------------- | ----------------- | --------------------
32
LsaInfo                                     | 128               | 0x80
33
OriginRouter                                | 129               | 0x81
34
SequenceNumber                              | 130               | 0x82
35
AdjacencyLsa                                | 131               | 0x83
36
Adjacency                                   | 132               | 0x84
37
CoordinateLsa                               | 133               | 0x85
38
Double                                      | 134               | 0x86
39
HyperbolicRadius                            | 135               | 0x87
40
HyperbolicAngle                             | 136               | 0x88
41
NameLsa                                     | 137               | 0x89
42
LsdbStatus                                  | 138               | 0x8A
43
ExpirationPeriod                            | 139               | 0x8B
44
Cost                                        | 140               | 0x8C
45
Uri                                         | 141               | 0x8D
46 4 Laqin Fan
Destination                                 | 142               | 0x8E
47
NextHop                                     | 143               | 0x8F