The first five patches here are ready for review. The rest need
work. I've indicated changes from v2 in the individual patches.
This is also available from git://benpfaff.org/openvswitch in the
of1.1 branch.
Ben Pfaff (13):
nicira-ext: Fix typo in comment.
openflow: Move enums for "packet_out" and "flow_mod" to common
header.
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: Add decoding and encoding OF1.1 instructions and
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.
ofp-msgs: New approach to encoding and decoding OpenFlow headers.
DESIGN | 33 +
build-aux/extract-ofp-errors | 1 +
build-aux/{extract-ofp-errors => extract-ofp-msgs} | 39 +-
include/openflow/nicira-ext.h | 80 +-
include/openflow/openflow-1.0.h | 197 +--
include/openflow/openflow-1.1.h | 115 +-
include/openflow/openflow-1.2.h | 23 +-
include/openflow/openflow-common.h | 171 +-
lib/automake.mk | 11 +
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 | 215 +--
lib/multipath.c | 160 +-
lib/multipath.h | 18 +-
lib/nx-match.c | 200 +-
lib/nx-match.h | 31 +-
lib/ofp-actions.c | 1805 ++++++++++++++++++
lib/ofp-actions.h | 489 +++++
lib/ofp-errors.c | 46 +-
lib/ofp-errors.h | 12 +-
lib/ofp-msgs.c | 602 ++++++
lib/ofp-msgs.h | 319 ++++
lib/ofp-parse.c | 265 ++--
lib/ofp-parse.h | 2 +-
lib/ofp-print.c | 606 ++-----
lib/ofp-print.h | 3 -
lib/ofp-util.c | 1997 +++++---------------
lib/ofp-util.def | 26 +-
lib/ofp-util.h | 202 +--
lib/rconn.c | 67 +-
lib/stream.c | 4 +-
lib/vconn.c | 65 +-
ofproto/connmgr.c | 28 +-
ofproto/fail-open.c | 14 +-
ofproto/in-band.c | 12 +-
ofproto/ofproto-dpif.c | 399 ++---
ofproto/ofproto-provider.h | 37 +-
ofproto/ofproto.c | 283 ++--
tests/automake.mk | 1 +
tests/learn.at | 4 +-
tests/ofp-actions.at | 190 ++
tests/test-bundle.c | 55 +-
tests/test-multipath.c | 11 +-
tests/test-vconn.c | 68 +-
tests/testsuite.at | 1 +
utilities/ovs-ofctl.c | 371 +++--
51 files changed, 6184 insertions(+), 4191 deletions(-)
copy build-aux/{extract-ofp-errors => extract-ofp-msgs} (90%)
create mode 100644 lib/ofp-actions.c
create mode 100644 lib/ofp-actions.h
create mode 100644 lib/ofp-msgs.c
create mode 100644 lib/ofp-msgs.h
create mode 100644 tests/ofp-actions.at
--
1.7.2.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev