Project

General

Profile

ForwarderStatus » History » Revision 2

Revision 1 (Junxiao Shi, 03/18/2014 11:49 AM) → Revision 2/20 (Alex Afanasyev, 03/18/2014 02:39 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** nonNegativeInteger: NFD version number 
 * **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