From a1a5ff08b62f356d77cf539dc3bbdf03133ded6f Mon Sep 17 00:00:00 2001 From: Shinpei Muraoka Date: Tue, 22 Mar 2016 09:51:46 +0900 Subject: doc/app/ofctl_rest: Add the attribute for message This patch adds attributes of the following messages. - Add the port number for get ports stats. - Add the group id for get group stats. - Add the meter id for get meter stats. - Add the meter id for get meter config. - Add the port number and queue id for get queue stats. Signed-off-by: Shinpei Muraoka Signed-off-by: FUJITA Tomonori --- doc/source/app/ofctl_rest.rst | 60 ++++++++++++++++++++++++++++++++----------- 1 file changed, 45 insertions(+), 15 deletions(-) (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 67f8511c..706061c6 100644 --- a/doc/source/app/ofctl_rest.rst +++ b/doc/source/app/ofctl_rest.rst @@ -632,10 +632,15 @@ Get ports stats Usage: - ======= =================== + ======= =========================== Method GET - URI /stats/port/ - ======= =================== + URI /stats/port/[/] + ======= =========================== + + .. NOTE:: + + Specification of port number is optional. + Response message body: @@ -762,10 +767,20 @@ Get queues stats Usage: - ======= ==================== + ======= ========================================= Method GET - URI /stats/queue/ - ======= ==================== + URI /stats/queue/[/[/]] + ======= ========================================= + + .. NOTE:: + + Specification of port number and queue id are optional. + + If you want to omitting the port number and setting the queue id, + please specify the keyword "ALL" to the port number. + + e.g. GET http://localhost:8080/stats/queue/1/ALL/1 + Response message body: @@ -892,10 +907,15 @@ Get groups stats Usage: - ======= ==================== + ======= ================================ Method GET - URI /stats/group/ - ======= ==================== + URI /stats/group/[/] + ======= ================================ + + .. NOTE:: + + Specification of group id is optional. + Response message body: @@ -1094,10 +1114,15 @@ Get meters stats Usage: - ======= ======================= + ======= ================================ Method GET - URI /stats/meter/ - ======= ======================= + URI /stats/meter/[/] + ======= ================================ + + .. NOTE:: + + Specification of meter id is optional. + Response message body: @@ -1153,10 +1178,15 @@ Get meter config stats Usage: - ======= ============================ + ======= ====================================== Method GET - URI /stats/meterconfig/ - ======= ============================ + URI /stats/meterconfig/[/] + ======= ====================================== + + .. NOTE:: + + Specification of meter id is optional. + Response message body: -- cgit v1.2.3