MeasurementStatus » History » Revision 17
Revision 16 (Ashlesh Gawande, 02/15/2018 12:44 PM) → Revision 17/21 (Ashlesh Gawande, 02/15/2018 12:45 PM)
# Measurement Status
Measurement Status is a module of [[Management|NFD Management protocol]].
It provides measurement table entries for a given name prefix.
Measurements for a prefix is published as a [[StatusDataset|Status Dataset]] at: ndn:/localhost/nfd/measurements/query/
## Control Parameters
ControlParameters fields:
Name (required)
Name is the prefix for which the measurement query is made.
A forwarder MAY impose a limit on the length of name prefix. The current limit in NFD is 32 name components.
If Name exceeds this limit, the command fails with code 414.
Code 400 is returned if the command is malformed.
## Measurement Entry Dataset
Each measurement entry is represented by **MeasurementEntry** block:
MeasurementEntry := MEASUREMENT-ENTRY-TYPE TLV-LENGTH
Name
StrategyInfo
* **Name** is the prefix for which the strategy is responsible for (query maybe for a longer prefix)
* **StrategyInfo** is the measurement info provided by the strategy responsible for the given name
Strategy returns a boost::property_tree when queried and managements formats that as JSON string for StrategyInfo.
Code 501 is returned if the strategy does not support measurement queries.
## TLV-TYPE assignments
Type | Assigned number | Assigned number (hex)
------------------------------------------- | ----------------- | ---------------------
MeasurementEntry | 128 | 0x80
StrategyInfo | 129 | 0x81