[ovs-dev] [PATCH v8 08/16] ofproto: Add enum ofp_group_capabilities

Simon Horman horms at verge.net.au
Wed Oct 30 09:17:12 UTC 2013


These values will be used by subsequent patches

Signed-off-by: Simon Horman <horms at verge.net.au>

---

v8
* First post
---
 include/openflow/openflow-common.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/openflow/openflow-common.h b/include/openflow/openflow-common.h
index 93cc2c4..a38f1e3 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. */
 };
-- 
1.8.4




More information about the dev mailing list