Project

General

Profile

Routing Table Dataset » History » Version 12

Laqin Fan, 06/28/2017 02:52 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 12 Laqin Fan
The routing table is organized and represented as an **RoutingTable** block:
9 4 Laqin Fan
10 12 Laqin Fan
    RoutingTable := ROUTINGTABLE-TYPE TLV-LENGTH
11
                       RoutingTableEntry*
12 1 Laqin Fan
13 8 Laqin Fan
## RouteTable
14 1 Laqin Fan
15 12 Laqin Fan
All routing table information in the routing table is organized and represented as an **RoutingTableEntry** block.
16 1 Laqin Fan
17 12 Laqin Fan
    RoutingTableEntry := ROUTINGTABLEENTRY-TYPE TLV-LENGTH
18
                            Destination
19
                            NextHop+
20 8 Laqin Fan
21 5 Laqin Fan
    Destination := DESTINATION-TYPE TLV-LENGTH
22 8 Laqin Fan
                        Name                
23 5 Laqin Fan
24
25 3 Laqin Fan
    NextHop := NEXTHOP-TYPE TLV-LENGTH
26 6 Laqin Fan
                      Uri
27
                      Cost
28 1 Laqin Fan
29
30
## TLV-TYPE assignments
31
32
Type                                        | Assigned value    | Assigned value (hex)
33
------------------------------------------- | ----------------- | --------------------
34
LsaInfo                                     | 128               | 0x80
35
OriginRouter                                | 129               | 0x81
36
SequenceNumber                              | 130               | 0x82
37
AdjacencyLsa                                | 131               | 0x83
38
Adjacency                                   | 132               | 0x84
39
CoordinateLsa                               | 133               | 0x85
40
Double                                      | 134               | 0x86
41
HyperbolicRadius                            | 135               | 0x87
42
HyperbolicAngle                             | 136               | 0x88
43
NameLsa                                     | 137               | 0x89
44
LsdbStatus                                  | 138               | 0x8A
45
ExpirationPeriod                            | 139               | 0x8B
46
Cost                                        | 140               | 0x8C
47
Uri                                         | 141               | 0x8D
48
Destination                                 | 142               | 0x8E
49 5 Laqin Fan
NextHop                                     | 144               | 0x90
50 12 Laqin Fan
RoutingTable                                | 145               | 0x91
51
RouteTableEntry                             | 146               | 0x92