Project

General

Profile

ForwarderStatus » History » Version 8

Junxiao Shi, 03/31/2017 07:37 PM

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