From 58cb365755c4a154196adbe18fad54f630a9e1f6 Mon Sep 17 00:00:00 2001 From: Minoru TAKAHASHI Date: Thu, 22 Oct 2015 17:31:37 +0900 Subject: doc/app/ofctl_rest: Add description for OFPQueueGetConfig message Signed-off-by: Minoru TAKAHASHI Signed-off-by: FUJITA Tomonori --- doc/source/app/ofctl_rest.rst | 73 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) (limited to 'doc/source/app/ofctl_rest.rst') diff --git a/doc/source/app/ofctl_rest.rst b/doc/source/app/ofctl_rest.rst index 823752fd..95a12351 100644 --- a/doc/source/app/ofctl_rest.rst +++ b/doc/source/app/ofctl_rest.rst @@ -593,6 +593,79 @@ Get queues stats } +Get queues config +----------------- + + Get queues config of the switch which specified with Datapath ID and Port in URI. + + Usage: + + ======= ================================ + Method GET + URI /stats/queueconfig// + ======= ================================ + + Response message body: + + ================ ====================================================== ======================================== + Attribute Description Example + ================ ====================================================== ======================================== + dpid Datapath ID "1" + port Port which was queried 1 + queues struct ofp_packet_queue + -- queue_id ID for the specific queue 2 + -- port Port this queue is attached to 0 + -- properties struct ofp_queue_prop_header properties [{"property": "MIN_RATE","rate": 80}] + ================ ====================================================== ======================================== + + Example of use:: + + $ curl -X GET http://localhost:8080/stats/queueconfig/1/1 + + :: + + { + "1": [ + { + "port": 1, + "queues": [ + { + "properties": [ + { + "property": "MIN_RATE", + "rate": 80 + } + ], + "port": 0, + "queue_id": 1 + }, + { + "properties": [ + { + "property": "MAX_RATE", + "rate": 120 + } + ], + "port": 2, + "queue_id": 2 + }, + { + "properties": [ + { + "property": "EXPERIMENTER", + "data": [], + "experimenter": 999 + } + ], + "port": 3, + "queue_id": 3 + } + ] + } + ] + } + + Get groups stats ---------------- -- cgit v1.2.3