diff options
author | Simon Horman <horms@verge.net.au> | 2012-06-27 20:58:44 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-06-27 20:58:44 +0900 |
commit | f4d4802d58932ec6071b8f510f39c909547ba7b5 (patch) | |
tree | 5313a5944c0accc8f2f4ed7e4d5b68c20854f375 | |
parent | 4187f31ff44093c806bb18cbf4584361824b5386 (diff) |
of1.2: 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_2.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_2.py b/ryu/ofproto/ofproto_v1_2.py index b9d9062b..e29d5170 100644 --- a/ryu/ofproto/ofproto_v1_2.py +++ b/ryu/ofproto/ofproto_v1_2.py @@ -94,6 +94,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. |