Project

General

Profile

Routing Table Dataset » History » Version 2

Laqin Fan, 05/31/2017 03:01 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
## Destination
6
7
All destibations in the routing table are organized and represented as an **destination** block.
8
9
    Destination := DESTINATION-LIST-TYPE TLV-LENGTH
10
                      NextHop+
11
12
    NextHop := NEXTHOP-TYPE TLV-LENGTH
13
                   Name
14
                   Uri
15
                   Cost
16
17 1 Laqin Fan
## Routing Table Status
18
19
20
The routing table is organized and represented as an **RtStatus** block:
21
22
    RtStatus := RT-STATUS-TYPE TLV-LENGTH
23 2 Laqin Fan
                     Destination*
24
                     
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