MeasurementStatus » History » Revision 12
« Previous |
Revision 12/21
(diff)
| Next »
Ashlesh Gawande, 02/15/2018 12:33 PM
Measurement Status¶
Measurement Status is a module of NFD Management protocol.
It provides measurement table entries for a given name prefix.
The strategy responsible for the name prefix need to support measurement queries.
Measurements for a prefix is published as a 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.
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 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.
TLV-TYPE assignments¶
Type | Assigned number | Assigned number (hex) |
---|---|---|
MeasurementEntry | 128 | 0x80 |
StrategyInfo | 129 | 0x81 |
Updated by Ashlesh Gawande over 6 years ago · 21 revisions