Project

General

Profile

ForwarderStatus » History » Version 10

Davide Pesavento, 02/09/2018 02:29 PM

1 10 Davide Pesavento
{{>toc}}
2 1 Junxiao Shi
3 10 Davide Pesavento
# Forwarder Status
4 9 Davide Pesavento
5 1 Junxiao Shi
**Forwarder Status** is a module of [[Management|NFD Management protocol]].
6 5 Junxiao Shi
It provides:
7 1 Junxiao Shi
8 5 Junxiao Shi
* a dataset of forwarder version information and global counters
9 1 Junxiao Shi
10 5 Junxiao Shi
Forwarder Status datasets are available under namespace `ndn:/localhost/nfd/status`.
11 1 Junxiao Shi
12 5 Junxiao Shi
## General Status Dataset
13 1 Junxiao Shi
14 5 Junxiao Shi
General Status is published as a [[StatusDataset|Status Dataset]] at `ndn:/localhost/nfd/status/general`.
15 1 Junxiao Shi
16 5 Junxiao Shi
    GeneralStatus ::= NfdVersion
17
                      StartTimestamp
18
                      CurrentTimestamp
19
                      NNameTreeEntries
20
                      NFibEntries
21
                      NPitEntries
22
                      NMeasurementsEntries
23
                      NCsEntries
24
                      NInInterests
25 8 Junxiao Shi
                      NInData
26 5 Junxiao Shi
                      NInNacks
27
                      NOutInterests
28 8 Junxiao Shi
                      NOutData
29 5 Junxiao Shi
                      NOutNacks
30
31
    NfdVersion ::= NFD-VERSION-TYPE TLV-LENGTH
32
                     UTF-8 string
33
34
    (other TLVs have nonNegativeInteger as value)
35
36
* **NfdVersion**: NFD version; this is usually same as `nfd --version` output, but the daemon MAY hide its version and return an empty string
37
* **StartTimestamp**: timestamp (milliseconds since UNIX epoch) when forwarder starts
38
* **CurrentTimestamp**: timestamp (milliseconds since UNIX epoch) of current time
39
* **NNameTreeEntries**: number of NameTree entries
40
* **NFibEntries**: number of FIB entries
41
* **NPitEntries**: number of PIT entries
42
* **NMeasurementsEntries**: number of Measurements entries
43
* **NCsEntries**: number of CS entries
44
* **NInInterests**: number of incoming Interest packets processed since forwarder starts
45 8 Junxiao Shi
* **NInData**: number of incoming Data packets processed since forwarder starts
46 5 Junxiao Shi
* **NInNacks**: number of incoming Nack packets processed since forwarder starts
47
* **NOutInterests**: number of outgoing Interest packets processed since forwarder starts
48 8 Junxiao Shi
* **NOutData**: number of outgoing Data packets processed since forwarder starts
49 5 Junxiao Shi
* **NOutNacks**: number of outgoing Nack packets processed since forwarder starts
50
51
52 1 Junxiao Shi
## TLV-TYPE assignments
53
54
Type                                        | Assigned value    | Assigned value (hex)
55
------------------------------------------- | ----------------- | --------------------
56
NfdVersion                                  | 128               | 0x80
57 3 Junxiao Shi
StartTimestamp                              | 129               | 0x81
58 4 Junxiao Shi
CurrentTimestamp                            | 130               | 0x82
59 1 Junxiao Shi
NNameTreeEntries                            | 131               | 0x83
60
NFibEntries                                 | 132               | 0x84
61
NPitEntries                                 | 133               | 0x85
62
NMeasurementsEntries                        | 134               | 0x86
63
NCsEntries                                  | 135               | 0x87
64
NInInterests                                | 144               | 0x90
65 8 Junxiao Shi
NInData                                     | 145               | 0x91
66 7 Junxiao Shi
NInNacks                                    | 151               | 0x97
67 1 Junxiao Shi
NOutInterests                               | 146               | 0x92
68 8 Junxiao Shi
NOutData                                    | 147               | 0x93
69 7 Junxiao Shi
NOutNacks                                   | 152               | 0x98