ForwarderStatus » History » Version 5
Junxiao Shi, 08/06/2015 02:56 PM
1 | 1 | Junxiao Shi | # Forwarder Status |
---|---|---|---|
2 | |||
3 | **Forwarder Status** is a module of [[Management|NFD Management protocol]]. |
||
4 | 5 | Junxiao Shi | It provides: |
5 | 1 | Junxiao Shi | |
6 | 5 | Junxiao Shi | * a dataset of forwarder version information and global counters |
7 | 1 | Junxiao Shi | |
8 | 5 | Junxiao Shi | Forwarder Status datasets are available under namespace `ndn:/localhost/nfd/status`. |
9 | 1 | Junxiao Shi | |
10 | 5 | Junxiao Shi | ## General Status Dataset |
11 | 1 | Junxiao Shi | |
12 | 5 | Junxiao Shi | General Status is published as a [[StatusDataset|Status Dataset]] at `ndn:/localhost/nfd/status/general`. |
13 | 1 | Junxiao Shi | |
14 | 5 | Junxiao Shi | GeneralStatus ::= NfdVersion |
15 | RouterName |
||
16 | StartTimestamp |
||
17 | CurrentTimestamp |
||
18 | NNameTreeEntries |
||
19 | NFibEntries |
||
20 | NPitEntries |
||
21 | NMeasurementsEntries |
||
22 | NCsEntries |
||
23 | NInInterests |
||
24 | NInDatas |
||
25 | NInNacks |
||
26 | NOutInterests |
||
27 | NOutDatas |
||
28 | NOutNacks |
||
29 | |||
30 | NfdVersion ::= NFD-VERSION-TYPE TLV-LENGTH |
||
31 | UTF-8 string |
||
32 | |||
33 | RouterName ::= ROUTER-NAME-TYPE TLV-LENGTH |
||
34 | Name |
||
35 | Name |
||
36 | Name |
||
37 | |||
38 | (other TLVs have nonNegativeInteger as value) |
||
39 | |||
40 | * **NfdVersion**: NFD version; this is usually same as `nfd --version` output, but the daemon MAY hide its version and return an empty string |
||
41 | * **RouterName**: network name, site name, and router name from configuration |
||
42 | * **StartTimestamp**: timestamp (milliseconds since UNIX epoch) when forwarder starts |
||
43 | * **CurrentTimestamp**: timestamp (milliseconds since UNIX epoch) of current time |
||
44 | * **NNameTreeEntries**: number of NameTree entries |
||
45 | * **NFibEntries**: number of FIB entries |
||
46 | * **NPitEntries**: number of PIT entries |
||
47 | * **NMeasurementsEntries**: number of Measurements entries |
||
48 | * **NCsEntries**: number of CS entries |
||
49 | * **NInInterests**: number of incoming Interest packets processed since forwarder starts |
||
50 | * **NInDatas**: number of incoming Data packets processed since forwarder starts |
||
51 | * **NInNacks**: number of incoming Nack packets processed since forwarder starts |
||
52 | * **NOutInterests**: number of outgoing Interest packets processed since forwarder starts |
||
53 | * **NOutDatas**: number of outgoing Data packets processed since forwarder starts |
||
54 | * **NOutNacks**: number of outgoing Nack packets processed since forwarder starts |
||
55 | |||
56 | |||
57 | 1 | Junxiao Shi | ## TLV-TYPE assignments |
58 | |||
59 | Type | Assigned value | Assigned value (hex) |
||
60 | ------------------------------------------- | ----------------- | -------------------- |
||
61 | NfdVersion | 128 | 0x80 |
||
62 | 5 | Junxiao Shi | RouterName | 136 | 0x88 |
63 | 3 | Junxiao Shi | StartTimestamp | 129 | 0x81 |
64 | 4 | Junxiao Shi | CurrentTimestamp | 130 | 0x82 |
65 | 1 | Junxiao Shi | NNameTreeEntries | 131 | 0x83 |
66 | NFibEntries | 132 | 0x84 |
||
67 | NPitEntries | 133 | 0x85 |
||
68 | NMeasurementsEntries | 134 | 0x86 |
||
69 | NCsEntries | 135 | 0x87 |
||
70 | NInInterests | 144 | 0x90 |
||
71 | NInDatas | 145 | 0x91 |
||
72 | 5 | Junxiao Shi | NInNacks | 148 | 0x94 |
73 | 1 | Junxiao Shi | NOutInterests | 146 | 0x92 |
74 | NOutDatas | 147 | 0x93 |
||
75 | 5 | Junxiao Shi | NOutNacks | 149 | 0x95 |