MeasurementStatus » History » Version 11
Ashlesh Gawande, 02/15/2018 12:17 PM
| 1 | 4 | Ashlesh Gawande | # Measurement Status |
|---|---|---|---|
| 2 | 1 | Ashlesh Gawande | |
| 3 | 4 | Ashlesh Gawande | Measurement Status is module of [[Management|NFD Management protocol]]. |
| 4 | It provides measurement table entries for a given name prefix. |
||
| 5 | The strategy responsible for the name prefix need to support measurement queries. |
||
| 6 | |||
| 7 | 9 | Ashlesh Gawande | Measurements for a prefix is published as a [[StatusDataset|Status Dataset]] at: ndn:/localhost/nfd/measurements/query/ |
| 8 | 4 | Ashlesh Gawande | |
| 9 | 11 | Ashlesh Gawande | ## Control Parameters |
| 10 | |||
| 11 | ControlParameters fields: |
||
| 12 | |||
| 13 | Name (required) |
||
| 14 | |||
| 15 | Name is the prefix for which the measurement query is made. |
||
| 16 | A forwarder MAY impose a limit on the length of name prefix. The current limit in NFD is 32 name components. |
||
| 17 | If Name exceeds this limit, the command fails with code 414. |
||
| 18 | |||
| 19 | ## Measurement Entry Dataset |
||
| 20 | |||
| 21 | Each measurement entry is represented by **MeasurementEntry** block: |
||
| 22 | |||
| 23 | MeasurementEntry := MEASUREMENT-ENTRY-TYPE TLV-LENGTH |
||
| 24 | Name |
||
| 25 | StrategyInfo |
||
| 26 | |||
| 27 | * **Name** is the prefix for which the query was made |
||
| 28 | * **StrategyInfo** is the measurement info provided by the strategy responsible for the given name |
||
| 29 | 3 | Ashlesh Gawande | |
| 30 | 2 | Ashlesh Gawande | ## TLV-TYPE assignments |
| 31 | |||
| 32 | Type | Assigned number | Assigned number (hex) |
||
| 33 | ------------------------------------------- | ----------------- | --------------------- |
||
| 34 | MeasurementEntry | 128 | 0x80 |
||
| 35 | StrategyInfo | 129 | 0x81 |