doc/app/ofctl_rest: Add description for capabilities field in OPFMeterFeatures

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Yusuke Iwase 2014-12-05 09:31:19 +09:00 committed by FUJITA Tomonori
parent 9ecfa8f3be
commit 567ff4ec17

View File

@ -681,15 +681,16 @@ Get meter features stats
Response message body:
=========== ============================================ =========
Attribute Description Example
=========== ============================================ =========
dpid Datapath ID "1"
max_meter Maximum number of meters 256
band_types Bitmaps of (1 << OFPMBT_*) values supported ['DROP']
max_bands Maximum bands per meters 16
max_color Maximum color value 8
=========== ============================================ =========
============= ============================================ ===========================
Attribute Description Example
============= ============================================ ===========================
dpid Datapath ID "1"
max_meter Maximum number of meters 256
band_types Bitmaps of (1 << OFPMBT_*) values supported ["DROP"]
capabilities Bitmaps of "ofp_meter_flags" ["KBPS", "BURST", "STATS"]
max_bands Maximum bands per meters 16
max_color Maximum color value 8
============= ============================================ ===========================
Example of use::
@ -702,7 +703,12 @@ Get meter features stats
{
"max_meter": 256,
"band_types": [
'DROP'
"DROP"
],
"capabilities": [
"KBPS",
"BURST",
"STATS"
],
"max_bands": 16,
"max_color": 8