From 567ff4ec170296144f66605eb8a6a8730a34e9a0 Mon Sep 17 00:00:00 2001 From: Yusuke Iwase Date: Fri, 5 Dec 2014 09:31:19 +0900 Subject: doc/app/ofctl_rest: Add description for capabilities field in OPFMeterFeatures Signed-off-by: IWASE Yusuke Signed-off-by: FUJITA Tomonori --- doc/source/app/ofctl_rest.rst | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) (limited to 'doc/source/app') diff --git a/doc/source/app/ofctl_rest.rst b/doc/source/app/ofctl_rest.rst index 973448b7..1b9170fd 100644 --- a/doc/source/app/ofctl_rest.rst +++ b/doc/source/app/ofctl_rest.rst @@ -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 -- cgit v1.2.3