[ovs-dev] [PATCH v2 10/47] connmgr: Support monitor out_group

Simon Horman horms at verge.net.au
Tue Jun 10 10:27:14 UTC 2014


Filter updates based on the out_group of a flow monitor.
This is analogous to the existing treatment of out_port.

This is 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 +
 1 file changed, 1 insertion(+)

diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 0e49716..07576b6 100644
--- a/ofproto/connmgr.c
+++ b/ofproto/connmgr.c
@@ -2191,6 +2191,7 @@ ofmonitor_report(struct connmgr *mgr, struct rule *rule,
             if (m->flags & update
                 && (m->table_id == 0xff || m->table_id == rule->table_id)
                 && ofoperation_has_out_port(rule->pending, m->out_port)
+                && ofoperation_has_out_group(rule->pending, m->out_group)
                 && (ofconn == abbrev_ofconn || !(m->flags & OFPFMF14_ONLY_OWN))
                 && cls_rule_is_loose_match(&rule->cr, &m->match)) {
                 flags |= m->flags;
-- 
2.0.0.rc2




More information about the dev mailing list