ForwarderStatus » History » Version 19
Davide Pesavento, 06/28/2020 02:17 PM
| 1 | 1 | Junxiao Shi | # Forwarder Status |
|---|---|---|---|
| 2 | 11 | Davide Pesavento | |
| 3 | {{>toc}} |
||
| 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 | 16 | Davide Pesavento | GeneralStatus = NfdVersion |
| 17 | StartTimestamp |
||
| 18 | CurrentTimestamp |
||
| 19 | NNameTreeEntries |
||
| 20 | NFibEntries |
||
| 21 | NPitEntries |
||
| 22 | NMeasurementsEntries |
||
| 23 | NCsEntries |
||
| 24 | NInInterests |
||
| 25 | NInData |
||
| 26 | NInNacks |
||
| 27 | NOutInterests |
||
| 28 | NOutData |
||
| 29 | NOutNacks |
||
| 30 | NSatisfiedInterests |
||
| 31 | NUnsatisfiedInterests |
||
| 32 | 5 | Junxiao Shi | |
| 33 | 18 | Davide Pesavento | NfdVersion = NFD-VERSION-TYPE TLV-LENGTH UTF-8-STRING |
| 34 | 5 | Junxiao Shi | |
| 35 | 19 | Davide Pesavento | (all other TLVs have NonNegativeInteger as value) |
| 36 | 5 | Junxiao Shi | |
| 37 | 12 | Davide Pesavento | * **NfdVersion**: NFD version; this is usually same as `nfd --version` output, but the forwarder MAY hide its version and return an empty string |
| 38 | 5 | Junxiao Shi | * **StartTimestamp**: timestamp (milliseconds since UNIX epoch) when forwarder starts |
| 39 | * **CurrentTimestamp**: timestamp (milliseconds since UNIX epoch) of current time |
||
| 40 | * **NNameTreeEntries**: number of NameTree entries |
||
| 41 | * **NFibEntries**: number of FIB entries |
||
| 42 | * **NPitEntries**: number of PIT entries |
||
| 43 | * **NMeasurementsEntries**: number of Measurements entries |
||
| 44 | * **NCsEntries**: number of CS entries |
||
| 45 | * **NInInterests**: number of incoming Interest packets processed since forwarder starts |
||
| 46 | 8 | Junxiao Shi | * **NInData**: number of incoming Data packets processed since forwarder starts |
| 47 | 5 | Junxiao Shi | * **NInNacks**: number of incoming Nack packets processed since forwarder starts |
| 48 | * **NOutInterests**: number of outgoing Interest packets processed since forwarder starts |
||
| 49 | 8 | Junxiao Shi | * **NOutData**: number of outgoing Data packets processed since forwarder starts |
| 50 | 5 | Junxiao Shi | * **NOutNacks**: number of outgoing Nack packets processed since forwarder starts |
| 51 | 13 | Ju Pan | * **NSatisfiedInterests**: number of satisfied Interests, incremented when a PIT entry that has been satisfied is being removed |
| 52 | * **NUnsatisfiedInterests**: number of unsatisfied Interests, incremented when a PIT entry that has not been satisfied is being removed |
||
| 53 | 5 | Junxiao Shi | |
| 54 | |||
| 55 | 1 | Junxiao Shi | ## TLV-TYPE assignments |
| 56 | |||
| 57 | Type | Assigned value | Assigned value (hex) |
||
| 58 | ------------------------------------------- | ----------------- | -------------------- |
||
| 59 | NfdVersion | 128 | 0x80 |
||
| 60 | 3 | Junxiao Shi | StartTimestamp | 129 | 0x81 |
| 61 | 4 | Junxiao Shi | CurrentTimestamp | 130 | 0x82 |
| 62 | 1 | Junxiao Shi | NNameTreeEntries | 131 | 0x83 |
| 63 | NFibEntries | 132 | 0x84 |
||
| 64 | NPitEntries | 133 | 0x85 |
||
| 65 | NMeasurementsEntries | 134 | 0x86 |
||
| 66 | NCsEntries | 135 | 0x87 |
||
| 67 | NInInterests | 144 | 0x90 |
||
| 68 | 8 | Junxiao Shi | NInData | 145 | 0x91 |
| 69 | 7 | Junxiao Shi | NInNacks | 151 | 0x97 |
| 70 | 1 | Junxiao Shi | NOutInterests | 146 | 0x92 |
| 71 | 8 | Junxiao Shi | NOutData | 147 | 0x93 |
| 72 | 7 | Junxiao Shi | NOutNacks | 152 | 0x98 |
| 73 | 13 | Ju Pan | NSatisfiedInterests | 153 | 0x99 |
| 74 | 15 | Davide Pesavento | NUnsatisfiedInterests | 154 | 0x9a |