[ovs-git] Open vSwitch: tests: Add detailed test for OF1.0 match decoding and encoding. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jul 18 04:22:18 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  96628ae85fe26ac86d35bca5f4c288e56048c3d6 (commit)
       via  41ca9a1e89c861823e6b73d3a207fdfbd95423e7 (commit)
      from  699dddf180a458300c4a26830f1a7bc8467de32d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 96628ae85fe26ac86d35bca5f4c288e56048c3d6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=96628ae85fe26ac86d35bca5f4c288e56048c3d6
Author: Ben Pfaff <blp at nicira.com>
		
tests: Add detailed test for OF1.0 match decoding and encoding.
		
This follows the form of the OF1.1 match decoding and encoding test that I
wrote a while back, which seems to be a good form to use.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Tested-by: Simon Horman <horms at verge.net.au>


commit 41ca9a1e89c861823e6b73d3a207fdfbd95423e7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=41ca9a1e89c861823e6b73d3a207fdfbd95423e7
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: Wildcard VLAN PCP in OF1.0 matches when 802.1Q not present.
		
When an output OF1.0 match uses OFP_VLAN_NONE to match only when the 802.1Q
header is not present, it is somewhat contradictory to specify any value
for the VLAN PCP, since none can be present without an 802.1Q header, but
the match output by Open vSwitch did so.  This fixes it.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Tested-by: Simon Horman <horms at verge.net.au>


-----------------------------------------------------------------------

Summary of changes:
 lib/ofp-util.c        |    1 +
 tests/flowgen.pl      |    9 ++-
 tests/ovs-ofctl.at    |  207 +++++++++++++++++++++++++++++++++++++++++++++++++
 utilities/ovs-ofctl.c |   67 ++++++++++++++--
 4 files changed, 273 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list