Project

General

Profile

Routing Table Dataset » History » Version 6

Laqin Fan, 06/21/2017 02:59 PM

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 5 Laqin Fan
                 NexthopList*
13 4 Laqin Fan
14 2 Laqin Fan
## Destination
15
16
All destibations in the routing table are organized and represented as an **destination** block.
17 1 Laqin Fan
18 5 Laqin Fan
    Destination := DESTINATION-TYPE TLV-LENGTH
19
                      Name*
20 1 Laqin Fan
21 5 Laqin Fan
                     
22
## Destination
23
24 6 Laqin Fan
All nexthoplist in the routing table are organized and represented as an **nexthoplist** block.
25 5 Laqin Fan
26
    NexthopList := NEXTHOPLIST-TYPE TLV-LENGTH
27
                      NextHop*
28
29 3 Laqin Fan
    NextHop := NEXTHOP-TYPE TLV-LENGTH
30 6 Laqin Fan
                      Uri
31
                      Cost
32 1 Laqin Fan
33
34
## TLV-TYPE assignments
35
36
Type                                        | Assigned value    | Assigned value (hex)
37
------------------------------------------- | ----------------- | --------------------
38
LsaInfo                                     | 128               | 0x80
39
OriginRouter                                | 129               | 0x81
40
SequenceNumber                              | 130               | 0x82
41
AdjacencyLsa                                | 131               | 0x83
42
Adjacency                                   | 132               | 0x84
43
CoordinateLsa                               | 133               | 0x85
44
Double                                      | 134               | 0x86
45
HyperbolicRadius                            | 135               | 0x87
46
HyperbolicAngle                             | 136               | 0x88
47
NameLsa                                     | 137               | 0x89
48
LsdbStatus                                  | 138               | 0x8A
49
ExpirationPeriod                            | 139               | 0x8B
50
Cost                                        | 140               | 0x8C
51
Uri                                         | 141               | 0x8D
52
Destination                                 | 142               | 0x8E
53 5 Laqin Fan
NexthopList                                 | 143               | 0x8F
54
NextHop                                     | 144               | 0x90