MeasurementStatus » History » Version 12
  Ashlesh  Gawande, 02/15/2018 12:33 PM 
  
| 1 | 4 | Ashlesh Gawande | # Measurement Status  | 
|---|---|---|---|
| 2 | 1 | Ashlesh Gawande | |
| 3 | 12 | Ashlesh Gawande | Measurement Status is a module of [[Management|NFD Management protocol]].  | 
| 4 | 4 | Ashlesh Gawande | 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 | 1 | Ashlesh Gawande | * **StrategyInfo** is the measurement info provided by the strategy responsible for the given name  | 
| 29 | 12 | Ashlesh Gawande | |
| 30 | Strategy returns a boost::property_tree when queried and managements formats that as JSON string for StrategyInfo.  | 
||
| 31 | 3 | Ashlesh Gawande | |
| 32 | 2 | Ashlesh Gawande | ## TLV-TYPE assignments  | 
| 33 | |||
| 34 | Type | Assigned number | Assigned number (hex)  | 
||
| 35 | ------------------------------------------- | ----------------- | ---------------------  | 
||
| 36 | MeasurementEntry | 128 | 0x80  | 
||
| 37 | StrategyInfo | 129 | 0x81  |