ForwarderStatus » History » Version 3
Junxiao Shi, 09/22/2014 02:33 PM
1 | 1 | Junxiao Shi | # Forwarder Status |
---|---|---|---|
2 | |||
3 | **Forwarder Status** is a module of [[Management|NFD Management protocol]]. |
||
4 | It publishes version information and global counters of the forwarder. |
||
5 | |||
6 | Forwarder Status is published as a single Data packet under `ndn:/localhost/nfd/status`. |
||
7 | Consumer should send Interest `ndn:/localhost/nfd/status`, MustBeFresh=yes. |
||
8 | |||
9 | The Content of the response Data packet is a sequence of these blocks: |
||
10 | |||
11 | 3 | Junxiao Shi | * **NfdApiVersion** nonNegativeInteger: NFD API version |
12 | * **SoftwareVersion** UTF-8 string: NFD software version; this is usually same as `nfd --version` output, but the daemon MAY hide its version and return an empty string |
||
13 | 2 | Alex Afanasyev | * **StartTimestamp** nonNegativeInteger: UNIX timestamp (in milliseconds) when NFD starts |
14 | * **CurrentTimestamp** nonNegativeInteger: UNIX timestamp (in milliseconds) of current time |
||
15 | 1 | Junxiao Shi | * **NNameTreeEntries** nonNegativeInteger: number of NameTree entries |
16 | * **NFibEntries** nonNegativeInteger: number of FIB entries |
||
17 | * **NPitEntries** nonNegativeInteger: number of PIT entries |
||
18 | * **NMeasurementsEntries** nonNegativeInteger: number of Measurements entries |
||
19 | * **NCsEntries** nonNegativeInteger: number of CS entries |
||
20 | * **NInInterests** nonNegativeInteger: number of incoming Interests processed since forwarder starts |
||
21 | * **NInDatas** nonNegativeInteger: number of incoming Datas processed since forwarder starts |
||
22 | * **NOutInterests** nonNegativeInteger: number of outgoing Interests processed since forwarder starts |
||
23 | * **NOutDatas** nonNegativeInteger: number of outgoing Datas processed since forwarder starts |
||
24 | |||
25 | |||
26 | ## TLV-TYPE assignments |
||
27 | |||
28 | Type | Assigned value | Assigned value (hex) |
||
29 | ------------------------------------------- | ----------------- | -------------------- |
||
30 | 3 | Junxiao Shi | NfdApiVersion | 128 | 0x80 |
31 | SoftwareVersion | 150 | 0x96 |
||
32 | 1 | Junxiao Shi | StartTimestamp | 129 | 0x81 |
33 | CurrentTimestamp | 130 | 0x82 |
||
34 | NNameTreeEntries | 131 | 0x83 |
||
35 | NFibEntries | 132 | 0x84 |
||
36 | NPitEntries | 133 | 0x85 |
||
37 | NMeasurementsEntries | 134 | 0x86 |
||
38 | NCsEntries | 135 | 0x87 |
||
39 | NInInterests | 144 | 0x90 |
||
40 | NInDatas | 145 | 0x91 |
||
41 | NOutInterests | 146 | 0x92 |
||
42 | NOutDatas | 147 | 0x93 |