summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/ofproto/ofproto_v1_3.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_3.py b/ryu/ofproto/ofproto_v1_3.py
index 4699aefd..04925ee6 100644
--- a/ryu/ofproto/ofproto_v1_3.py
+++ b/ryu/ofproto/ofproto_v1_3.py
@@ -416,6 +416,14 @@ OFPGC_ADD = 0 # New group.
OFPGC_MODIFY = 1 # Modify all matching groups.
OFPGC_DELETE = 2 # Delete all matching groups.
+# enum ofp_group
+OFPG_MAX = 0xffffff00 # Last usable group number.
+#Fake groups
+OFPG_ALL = 0xfffffffc # Represents all groups for group delete commands.
+OFPG_ANY = 0xffffffff # Wildcard group used only for flow stats requests.
+ # Selects all flows regardless of group
+ # (including flows with no group).
+
# enum ofp_group_type
OFPGT_ALL = 0 # All (multicast/broadcast) group.
OFPGT_SELECT = 1 # Select group.