[ovs-git] Open vSwitch: ofp-actions: Implement writing to metadata field (master)

dev at openvswitch.org dev at openvswitch.org
Thu Oct 18 20:05:33 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  4cceacb94cfc1d75a961d3d746d2ae369c397ae5 (commit)
      from  9908606290852fc4d29132c843d9f17938cce7d8 (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 4cceacb94cfc1d75a961d3d746d2ae369c397ae5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4cceacb94cfc1d75a961d3d746d2ae369c397ae5
Author: Joe Stringer <joe at wand.net.nz>
		
ofp-actions: Implement writing to metadata field
		
In OpenFlow 1.1, we add support for OFPIT_WRITE_METADATA. This allows us to
write to the metadata field. Internally it is represented using ofpact_metadata.

We introduce NXAST_WRITE_METADATA to handle writing to the metadata field in
OpenFlow 1.0+. This structure reflects OFPIT_WRITE_METADATA.

When writing out the structure to OpenFlow 1.1, it uses the OFPIT_WRITE_METADATA
instruction only, and not the new NXAST action (which would be redundant).

Signed-off-by: Joe Stringer <joe at wand.net.nz>
Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 NEWS                          |    1 +
 include/openflow/nicira-ext.h |   15 +++++
 lib/ofp-actions.c             |  119 +++++++++++++++++++++++++++++++++++++++--
 lib/ofp-actions.h             |   16 +++++-
 lib/ofp-parse.c               |   41 +++++++++++++-
 lib/ofp-util.def              |    2 +
 lib/ofp-util.h                |    1 +
 ofproto/ofproto-dpif.c        |    7 +++
 tests/ofp-actions.at          |   76 ++++++++++++++++++++++++--
 utilities/ovs-ofctl.8.in      |    9 +++-
 10 files changed, 272 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list