Project

General

Profile

Actions

ForwarderStatus » History » Revision 5

« Previous | Revision 5/20 (diff) | Next »
Junxiao Shi, 08/06/2015 02:56 PM


Forwarder Status

Forwarder Status is a module of NFD Management protocol.
It provides:

  • a dataset of forwarder version information and global counters

Forwarder Status datasets are available under namespace ndn:/localhost/nfd/status.

General Status Dataset

General Status is published as a Status Dataset at ndn:/localhost/nfd/status/general.

GeneralStatus ::= NfdVersion
                  RouterName
                  StartTimestamp
                  CurrentTimestamp
                  NNameTreeEntries
                  NFibEntries
                  NPitEntries
                  NMeasurementsEntries
                  NCsEntries
                  NInInterests
                  NInDatas
                  NInNacks
                  NOutInterests
                  NOutDatas
                  NOutNacks

NfdVersion ::= NFD-VERSION-TYPE TLV-LENGTH
                 UTF-8 string

RouterName ::= ROUTER-NAME-TYPE TLV-LENGTH
                 Name
                 Name
                 Name

(other TLVs have nonNegativeInteger as value)
  • NfdVersion: NFD version; this is usually same as nfd --version output, but the daemon MAY hide its version and return an empty string
  • RouterName: network name, site name, and router name from configuration
  • StartTimestamp: timestamp (milliseconds since UNIX epoch) when forwarder starts
  • CurrentTimestamp: timestamp (milliseconds since UNIX epoch) of current time
  • NNameTreeEntries: number of NameTree entries
  • NFibEntries: number of FIB entries
  • NPitEntries: number of PIT entries
  • NMeasurementsEntries: number of Measurements entries
  • NCsEntries: number of CS entries
  • NInInterests: number of incoming Interest packets processed since forwarder starts
  • NInDatas: number of incoming Data packets processed since forwarder starts
  • NInNacks: number of incoming Nack packets processed since forwarder starts
  • NOutInterests: number of outgoing Interest packets processed since forwarder starts
  • NOutDatas: number of outgoing Data packets processed since forwarder starts
  • NOutNacks: number of outgoing Nack packets processed since forwarder starts

TLV-TYPE assignments

Type Assigned value Assigned value (hex)
NfdVersion 128 0x80
RouterName 136 0x88
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
NInNacks 148 0x94
NOutInterests 146 0x92
NOutDatas 147 0x93
NOutNacks 149 0x95

Updated by Junxiao Shi over 8 years ago · 5 revisions