[ovs-dev] [vlans v2 0/5] Implement native VLANs, add lots of tests

Ben Pfaff blp at nicira.com
Sat Sep 24 00:17:50 UTC 2011


This second version of the "vlans" series adds two commits at the
beginning that fix up some internal ugliness and bugs in the OFPP_NORMAL
handling of vlans in ofproto-dpif.  I've also fixed how mirroring to
VLANs works in the final commit, as well as increasing the stringency
of the tests to ensure that priority-tagged packets are handled the
way that OVS has always done.

Ben Pfaff (5):
  ofproto-dpif: Fix VLAN and other field handling in OFPP_NORMAL.
  ofproto-dpif: Get rid of OFP_VLAN_NONE pollution.
  ofproto-dpif: Add tests for VLAN handling.
  bitmap: New function to allocate a bitmap initialized to all-1-bits.
  Implement "native VLAN" feature.

 NEWS                         |    3 +
 lib/bitmap.c                 |   21 ++++-
 lib/bitmap.h                 |    2 +
 ofproto/ofproto-dpif.c       |  255 +++++++++++++++++++++++++++++-------------
 ofproto/ofproto.h            |   26 ++++-
 tests/automake.mk            |    1 +
 tests/compare-odp-actions.pl |   66 +++++++++++
 tests/ofproto-dpif.at        |  146 ++++++++++++++++++++++++
 tests/ofproto-macros.at      |   43 +++++++
 vswitchd/bridge.c            |   33 +++++-
 vswitchd/vswitch.ovsschema   |    8 +-
 vswitchd/vswitch.xml         |  110 +++++++++++++------
 12 files changed, 593 insertions(+), 121 deletions(-)
 create mode 100644 tests/compare-odp-actions.pl

-- 
1.7.4.4




More information about the dev mailing list