Measurement Status is a module of NFD Management protocol.
It provides measurement table entries for a given name prefix.
Measurements for a prefix is published as a Status Dataset at: ndn:/localhost/nfd/measurements/query/
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 element:
MeasurementEntry = MEASUREMENT-ENTRY-TYPE TLV-LENGTH Name StrategyInfo
- Name is the prefix for which the query was made
- 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 responsible for the prefix does not support measurement queries.
|Type||Assigned number||Assigned number (hex)|