Actions
ForwarderStatus » History » Revision 4
« Previous |
Revision 4/20
(diff)
| Next »
Junxiao Shi, 09/22/2014 04:23 PM
Forwarder Status¶
Forwarder Status is a module of NFD Management protocol.
It publishes version information and global counters of the forwarder.
Forwarder Status is published as a single Data packet under ndn:/localhost/nfd/status
.
Consumer should send Interest ndn:/localhost/nfd/status
, MustBeFresh=yes.
The Content of the response Data packet is a sequence of these blocks:
- 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 - StartTimestamp nonNegativeInteger: UNIX timestamp (in milliseconds) when NFD starts
- CurrentTimestamp nonNegativeInteger: UNIX timestamp (in milliseconds) of current time
- NNameTreeEntries nonNegativeInteger: number of NameTree entries
- NFibEntries nonNegativeInteger: number of FIB entries
- NPitEntries nonNegativeInteger: number of PIT entries
- NMeasurementsEntries nonNegativeInteger: number of Measurements entries
- NCsEntries nonNegativeInteger: number of CS entries
- NInInterests nonNegativeInteger: number of incoming Interests processed since forwarder starts
- NInDatas nonNegativeInteger: number of incoming Datas processed since forwarder starts
- NOutInterests nonNegativeInteger: number of outgoing Interests processed since forwarder starts
- NOutDatas nonNegativeInteger: number of outgoing Datas processed since forwarder starts
TLV-TYPE assignments¶
Type | Assigned value | Assigned value (hex) |
---|---|---|
NfdVersion | 128 | 0x80 |
StartTimestamp | 129 | 0x81 |
CurrentTimestamp | 130 | 0x82 |
NNameTreeEntries | 131 | 0x83 |
NFibEntries | 132 | 0x84 |
NPitEntries | 133 | 0x85 |
NMeasurementsEntries | 134 | 0x86 |
NCsEntries | 135 | 0x87 |
NInInterests | 144 | 0x90 |
NInDatas | 145 | 0x91 |
NOutInterests | 146 | 0x92 |
NOutDatas | 147 | 0x93 |
Updated by Junxiao Shi about 10 years ago · 20 revisions