summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2012-06-27 20:59:44 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2012-06-27 20:59:44 +0900
commitacdf0f08eaed4c1d7bbfbc287f27c533b7a48615 (patch)
tree63bd72ee141a0632b09f834b4cd2be9032c8c65c
parentf4d4802d58932ec6071b8f510f39c909547ba7b5 (diff)
of1.3: Add OFPQ_ALL
This is used in a queue statistics request to request statistics of all queues. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py
index b5008e6f..5d8b3751 100644
--- a/ryu/ofproto/ofproto_v1_3.py
+++ b/ryu/ofproto/ofproto_v1_3.py
@@ -99,6 +99,9 @@ OFPP_CONTROLLER = 0xfffffffd # Send to controller.
OFPP_LOCAL = 0xfffffffe # Local openflow "port".
OFPP_ANY = 0xffffffff # Not associated with a physical port.
+# All ones is used to indicate all queues in a port (for stats retrieval).
+OFPQ_ALL = 0xffffffff
+
# enum ofp_port_features
OFPPF_10MB_HD = 1 << 0 # 10 Mb half-duplex rate support.
OFPPF_10MB_FD = 1 << 1 # 10 Mb full-duplex rate support.