summaryrefslogtreecommitdiff
path: root/include/openflow/openflow-common.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2013-10-30 18:17:12 +0900
committerBen Pfaff <blp@nicira.com>2013-11-02 11:56:04 -0700
commitf2e99d5dd4b52339d4e8f35625e4f8bc3d12c2e7 (patch)
treee0f24592ea4d59802f5cdd373ac7288c17dd073c /include/openflow/openflow-common.h
parentddc627ad44758181661ab0bafe77632b620d6f32 (diff)
downloadopenvswitch-f2e99d5dd4b52339d4e8f35625e4f8bc3d12c2e7.tar.gz
ofproto: Add enum ofp_group_capabilities
These values will be used by subsequent patches Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/openflow/openflow-common.h')
-rw-r--r--include/openflow/openflow-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/openflow/openflow-common.h b/include/openflow/openflow-common.h
index 93cc2c48e..a38f1e3ec 100644
--- a/include/openflow/openflow-common.h
+++ b/include/openflow/openflow-common.h
@@ -435,6 +435,14 @@ enum ofp_group {
OFPG_ANY = 0xffffffff /* Wildcard, for flow stats requests. */
};
+/* Group configuration flags */
+enum ofp_group_capabilities {
+ OFPGFC_SELECT_WEIGHT = 1 << 0, /* Support weight for select groups */
+ OFPGFC_SELECT_LIVENESS = 1 << 1, /* Support liveness for select groups */
+ OFPGFC_CHAINING = 1 << 2, /* Support chaining groups */
+ OFPGFC_CHAINING_CHECKS = 1 << 3, /* Check chaining for loops and delete */
+};
+
enum ofp_hello_elem_type {
OFPHET_VERSIONBITMAP = 1, /* Bitmap of version supported. */
};