Project

General

Profile

ForwarderStatus » History » Revision 4

Revision 3 (Junxiao Shi, 09/22/2014 02:33 PM) → Revision 4/20 (Junxiao Shi, 09/22/2014 04:23 PM)

# Forwarder Status 

 **Forwarder Status** is a module of [[Management|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** **NfdApiVersion** nonNegativeInteger: NFD API version 
 * **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 
 * **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                                    NfdApiVersion                                 | 128                 | 0x80 
 SoftwareVersion                               | 150                 | 0x96 
 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