From e0c446a6b43a12f33e1cbb211584e928fffbfc71 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Thu, 8 Dec 2016 16:49:00 +0900 Subject: lib/ofctl_v_*: Enable to filter flow stats by priority OpenFlow Spec does not allow to filter flow entries by priority, but when with a large amount of flow entries, filtering by priority is convenient to get statistics efficiently. This patch enables lib/ofctl_v_* modules to filter flow stats by priority. This patch is suggested by China Shenzhen TICOMM Information Technology Co. Ltd. Signed-off-by: IWASE Yusuke Signed-off-by: FUJITA Tomonori --- doc/source/app/ofctl_rest.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/source') diff --git a/doc/source/app/ofctl_rest.rst b/doc/source/app/ofctl_rest.rst index c69692c5..03f4b29f 100644 --- a/doc/source/app/ofctl_rest.rst +++ b/doc/source/app/ofctl_rest.rst @@ -248,8 +248,17 @@ Get flows stats filtered by fields cookie Require matching entries to contain this cookie value (int) 1 0 cookie_mask Mask used to restrict the cookie bits that must match (int) 1 0 match Fields to match (dict) {"in_port": 1} {} #wildcarded + priority Priority of the entry (int) (See Note) 11111 #wildcarded ============ ================================================================== =============== =============== + .. NOTE:: + + OpenFlow Spec does not allow to filter flow entries by priority, + but when with a large amount of flow entries, filtering by priority + is convenient to get statistics efficiently. + So, this app provides priority field for filtering. + + Response message body: The same as :ref:`get-all-flows-stats` -- cgit v1.2.3