Open vSwitch has supported multiple tables in OpenFlow for some time
now (especially if the now-obsolete "wdp" branch counts), but the
software switch has only implemented a single table.  This series adds
support for multiple tables to the software switch.

Actually adding multiple table support is a fairly small part of this
series, and pretty straightforward.  The bulk of this series is cleanups
and additional infrastructure that makes it much easier to unit test
action translation in the software switch.

Ben Pfaff (8):
  odp-util: Format VLAN headers more like other headers in ODP flow
    output.
  odp-util: New function odp_flow_key_from_string().
  ofproto-dpif: Make ofproto/trace accept an odp_flow in place of a
    packet.
  ofproto: Make ->construct() and ->destruct() more symmetrical.
  ofproto: Allow ->rule_choose_table() to be NULL regardless of table
    count.
  ofproto: New helper macro OFPROTO_FOR_EACH_TABLE.
  ofproto-dpif: Add multiple table support.
  New action NXAST_RESUBMIT_TABLE.

 include/openflow/nicira-ext.h |   52 +++++--
 lib/odp-util.c                |  309 ++++++++++++++++++++++++++++++++++++++++-
 lib/odp-util.h                |    1 +
 lib/ofp-parse.c               |   39 +++++-
 lib/ofp-print.c               |   13 ++
 lib/ofp-util.c                |   15 ++
 lib/ofp-util.h                |    1 +
 lib/packets.h                 |   33 +++++
 ofproto/ofproto-dpif.c        |  196 ++++++++++++++++++---------
 ofproto/ofproto-provider.h    |   50 ++++---
 ofproto/ofproto-unixctl.man   |   24 +++
 ofproto/ofproto.c             |   27 +++--
 tests/automake.mk             |    8 +
 tests/odp.at                  |   40 ++++++
 tests/ofproto-dpif.at         |   19 +++
 tests/ovs-ofctl.at            |    3 +
 tests/test-odp.c              |   85 +++++++++++
 tests/testsuite.at            |    2 +
 utilities/ovs-ofctl.8.in      |   14 ++-
 19 files changed, 815 insertions(+), 116 deletions(-)
 create mode 100644 tests/odp.at
 create mode 100644 tests/ofproto-dpif.at
 create mode 100644 tests/test-odp.c

-- 
1.7.4.4

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to