Until now, the "learn" action and the flows that it creates have had no
connection. From time to time, someone asks for the ability to have the
flows created by a "learn" action deleted when the "learn" action itself is
destroyed. This request finally rose in importance enough to actually
implement it, and this series does so.
Ben Pfaff (16):
ofproto-dpif: Remove unused struct dpif_completion.
ovs-ofctl: Document 'cookie' argument to learn action.
ovs-ofctl: Support "send_flow_rem" in "learn" actions.
ofp-actions: Store cookie in network byte order in struct
ofpact_learn.
ofproto: Fix memory leak in ofproto_destroy().
ofproto-dpif-rid: Fix memory leak in recirc_id_pool_destroy().
ofproto: Merge do_add_flow() and oftable_insert_rule() into
add_flow().
ofproto: Only initiate flow table modifications if they will succeed.
ofproto: Make ofproto_rule_is_hidden() public, and rename.
ofproto: Move logic for collecting read-only rules into rule_criteria.
ofproto: Combine "struct ofconn *" and "const struct ofp_header *"
args.
ofproto: Do straightforward removal of asynchronous flow operations.
ofproto: Additional simplifications.
ofproto: Make hole in struct rule_actions by not caching
provider_meter_id.
ofproto: Reduce duplication in deletion logic.
Implement learned flow deletion.
CONTRIBUTING | 6 +-
NEWS | 3 +
include/openflow/nicira-ext.h | 44 +-
lib/learn.c | 40 +-
lib/ofp-actions.h | 4 +-
ofproto/connmgr.c | 142 +---
ofproto/connmgr.h | 8 +-
ofproto/in-band.c | 12 +-
ofproto/ofproto-dpif-rid.c | 1 +
ofproto/ofproto-dpif.c | 12 +-
ofproto/ofproto-provider.h | 217 ++----
ofproto/ofproto.c | 1517 ++++++++++++++---------------------------
tests/learn.at | 138 +++-
utilities/ovs-ofctl.8.in | 16 +-
14 files changed, 851 insertions(+), 1309 deletions(-)
--
1.9.1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev