[ovs-dev] [learning 0/6] first draft of "learning" series
Ben Pfaff
blp at nicira.com
Wed Aug 17 16:00:14 PDT 2011
This series adds a new "learn" action that controllers can use to
do more flexible learning than is possible by outputting to the
OFPP_NORMAL port. The final commit is still more or less untested;
I'm working on that now. I think that the rest are ready for
review.
Ben Pfaff (6):
ofp-util: New function for parsing key-value pairs.
ofproto: Avoid using list_size() to compute length of 'pending' list.
ofproto: Add 'ofproto' parameter to most flow_mod functions.
ofproto: Mark some parameters 'const'.
meta-flow: New library for working with fields by id.
Implement new "learn" action.
include/openflow/nicira-ext.h | 193 +++++-
lib/automake.mk | 4 +
lib/learn.c | 585 ++++++++++++++
lib/learn.h | 40 +
lib/meta-flow.c | 1739 +++++++++++++++++++++++++++++++++++++++++
lib/meta-flow.h | 207 +++++
lib/nx-match.c | 362 +--------
lib/nx-match.def | 83 +--
lib/nx-match.h | 3 +-
lib/ofp-parse.c | 480 +-----------
lib/ofp-print.c | 5 +
lib/ofp-util.c | 75 ++
lib/ofp-util.def | 1 +
lib/ofp-util.h | 3 +
ofproto/ofproto-dpif.c | 26 +
ofproto/ofproto-provider.h | 15 +
ofproto/ofproto.c | 179 +++--
utilities/ovs-ofctl.8.in | 57 ++
18 files changed, 3151 insertions(+), 906 deletions(-)
create mode 100644 lib/learn.c
create mode 100644 lib/learn.h
create mode 100644 lib/meta-flow.c
create mode 100644 lib/meta-flow.h
--
1.7.4.4
More information about the dev
mailing list