ForwarderStatus » History » Version 4
Junxiao Shi, 09/22/2014 04:23 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 | 4 | Junxiao Shi | * **NfdVersion** UTF-8 string: NFD version; this is usually same as `nfd --version` output, but the daemon MAY hide its version and return an empty string |
| 12 | 2 | Alex Afanasyev | * **StartTimestamp** nonNegativeInteger: UNIX timestamp (in milliseconds) when NFD starts |
| 13 | * **CurrentTimestamp** nonNegativeInteger: UNIX timestamp (in milliseconds) of current time |
||
| 14 | 1 | Junxiao Shi | * **NNameTreeEntries** nonNegativeInteger: number of NameTree entries |
| 15 | * **NFibEntries** nonNegativeInteger: number of FIB entries |
||
| 16 | * **NPitEntries** nonNegativeInteger: number of PIT entries |
||
| 17 | * **NMeasurementsEntries** nonNegativeInteger: number of Measurements entries |
||
| 18 | * **NCsEntries** nonNegativeInteger: number of CS entries |
||
| 19 | * **NInInterests** nonNegativeInteger: number of incoming Interests processed since forwarder starts |
||
| 20 | * **NInDatas** nonNegativeInteger: number of incoming Datas processed since forwarder starts |
||
| 21 | * **NOutInterests** nonNegativeInteger: number of outgoing Interests processed since forwarder starts |
||
| 22 | * **NOutDatas** nonNegativeInteger: number of outgoing Datas processed since forwarder starts |
||
| 23 | |||
| 24 | |||
| 25 | ## TLV-TYPE assignments |
||
| 26 | |||
| 27 | Type | Assigned value | Assigned value (hex) |
||
| 28 | 3 | Junxiao Shi | ------------------------------------------- | ----------------- | -------------------- |
| 29 | 4 | Junxiao Shi | NfdVersion | 128 | 0x80 |
| 30 | 1 | Junxiao Shi | StartTimestamp | 129 | 0x81 |
| 31 | CurrentTimestamp | 130 | 0x82 |
||
| 32 | NNameTreeEntries | 131 | 0x83 |
||
| 33 | NFibEntries | 132 | 0x84 |
||
| 34 | NPitEntries | 133 | 0x85 |
||
| 35 | NMeasurementsEntries | 134 | 0x86 |
||
| 36 | NCsEntries | 135 | 0x87 |
||
| 37 | NInInterests | 144 | 0x90 |
||
| 38 | NInDatas | 145 | 0x91 |
||
| 39 | NOutInterests | 146 | 0x92 |
||
| 40 | NOutDatas | 147 | 0x93 |