[ovs-dev] [PATCH v2 09/47] connmgr: Add out_group to struct ofmonitor
Simon Horman
horms at verge.net.au
Tue Jun 10 10:27:13 UTC 2014
This is in preparation for adding out_group support to flow monitors
which is in turn in preparation for supporting OpenFlow1.4 flow monitors.
Signed-off-by: Simon Horman <horms at verge.net.au>
---
v2
* No change
---
ofproto/connmgr.c | 1 +
ofproto/connmgr.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 106ce78..0e49716 100644
--- a/ofproto/connmgr.c
+++ b/ofproto/connmgr.c
@@ -2110,6 +2110,7 @@ ofmonitor_create(const struct ofputil_flow_monitor_request *request,
m->id = request->id;
m->flags = request->flags;
m->out_port = request->out_port;
+ m->out_group = request->out_group;
m->table_id = request->table_id;
minimatch_init(&m->match, &request->match);
diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h
index c0cf6f0..44f1ebd 100644
--- a/ofproto/connmgr.h
+++ b/ofproto/connmgr.h
@@ -206,6 +206,7 @@ struct ofmonitor {
/* Matching. */
ofp_port_t out_port;
+ uint32_t out_group;
uint8_t table_id;
struct minimatch match;
};
--
2.0.0.rc2
More information about the dev
mailing list