This version adds several "Reviewed-by:"s. The major changes are:
- Improvements to "Introduce ofpacts, an abstraction of OpenFlow
actions." (see its commit log).
- Addition of Simon's "ofp-actions: Support encoding OpenFlow 1.1
instructions and actions." plus the followup "ofp-actions: Adjust
encoding OpenFlow 1.1 actions." that I wrote to show the direction
that I'd expect to take that code. (My followup would be folded in
before pushing to master.)
The next direction I intend to take this, I think, is to add some unit
tests for OF1.1 action encoding and decoding.
Ben Pfaff (11):
ofp-util: Add OFPUTIL_ACTION_INVALID to enum ofputil_action_code.
Introduce ofpacts, an abstraction of OpenFlow actions.
ofp-util: Remove unused functions.
openflow: Separate flow stats headers from their bodies.
openflow: Rename OpenFlow 1.0 statistics messages with "10" infix.
ofp-actions: Support decoding OpenFlow 1.1 instructions and actions.
ofp-actions: Adjust encoding OpenFlow 1.1 actions.
ofp-util: Refactor ofputil_decode_msg_type__() for extensibility.
ofp-util: work on OF1.1 stats messages
openflow: Separate OF1.0, OF1.1 flow_mod constants and types.
ofp-util: Work on decoding OF1.1 flow_mods.
Simon Horman (1):
ofp-actions: Support encoding OpenFlow 1.1 instructions and actions.
DESIGN | 33 +
build-aux/extract-ofp-errors | 1 +
include/openflow/nicira-ext.h | 34 +-
include/openflow/openflow-1.0.h | 144 +---
include/openflow/openflow-1.1.h | 67 +-
include/openflow/openflow-1.2.h | 6 +-
include/openflow/openflow-common.h | 128 +++-
lib/automake.mk | 2 +
lib/autopath.c | 70 +-
lib/autopath.h | 15 +-
lib/bundle.c | 277 +++---
lib/bundle.h | 26 +-
lib/compiler.h | 20 +-
lib/learn.c | 672 +++++++--------
lib/learn.h | 17 +-
lib/learning-switch.c | 114 ++--
lib/multipath.c | 160 ++--
lib/multipath.h | 18 +-
lib/nx-match.c | 200 +++--
lib/nx-match.h | 31 +-
lib/ofp-actions.c | 1728 ++++++++++++++++++++++++++++++++++++
lib/ofp-actions.h | 483 ++++++++++
lib/ofp-errors.h | 8 +-
lib/ofp-parse.c | 265 +++---
lib/ofp-parse.h | 2 +-
lib/ofp-print.c | 437 +++-------
lib/ofp-print.h | 3 -
lib/ofp-util.c | 1674 ++++++++++++++---------------------
lib/ofp-util.def | 26 +-
lib/ofp-util.h | 125 ++--
ofproto/connmgr.c | 17 +-
ofproto/fail-open.c | 14 +-
ofproto/in-band.c | 12 +-
ofproto/ofproto-dpif.c | 402 ++++-----
ofproto/ofproto-provider.h | 37 +-
ofproto/ofproto.c | 172 ++--
tests/learn.at | 4 +-
tests/test-bundle.c | 55 +-
tests/test-multipath.c | 11 +-
utilities/ovs-ofctl.c | 103 +--
40 files changed, 4660 insertions(+), 2953 deletions(-)
create mode 100644 lib/ofp-actions.c
create mode 100644 lib/ofp-actions.h
--
1.7.2.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev