Project

General

Profile

ForwarderStatus » History » Version 1

Junxiao Shi, 03/18/2014 11:49 AM

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
* **NfdVersion** nonNegativeInteger: NFD version number
12
* **StartTimestamp** nonNegativeInteger: UNIX timestamp when NFD starts
13
* **CurrentTimestamp** nonNegativeInteger: UNIX timestamp of current time
14
* **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
26
## TLV-TYPE assignments
27
28
Type                                        | Assigned value    | Assigned value (hex)
29
------------------------------------------- | ----------------- | --------------------
30
NfdVersion                                  | 128               | 0x80
31
StartTimestamp                              | 129               | 0x81
32
CurrentTimestamp                            | 130               | 0x82
33
NNameTreeEntries                            | 131               | 0x83
34
NFibEntries                                 | 132               | 0x84
35
NPitEntries                                 | 133               | 0x85
36
NMeasurementsEntries                        | 134               | 0x86
37
NCsEntries                                  | 135               | 0x87
38
NInInterests                                | 144               | 0x90
39
NInDatas                                    | 145               | 0x91
40
NOutInterests                               | 146               | 0x92
41
NOutDatas                                   | 147               | 0x93