[ovs-git] Open vSwitch: openflow: Fix frag config flag values (next)

dev at openvswitch.org dev at openvswitch.org
Wed Feb 24 01:42:13 UTC 2010


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, next has been updated
       via  ca00e5debfb9c2e4aa17eec9df563343c72d65ba (commit)
       via  f1193301162788fadc0f6faa1af9441f93a623d8 (commit)
       via  2d38e234f4591bf3b494a4299abd4db7fe5cf3fd (commit)
       via  54294187a62dd13ff1531a1a5abcd5761203cd56 (commit)
       via  5a719c38c219b46a3f9c263ceae268a70071c03c (commit)
       via  0c30c8f1c419811cbb5fdc441af95ba3f763f0ff (commit)
       via  23ff2821fd8b840dfeedcb47aeaed4fd060d73c8 (commit)
       via  ce640333ea5ad7178a45b1d242af7cad9ca99976 (commit)
       via  dd70b47582e7619367840c5befe9dcfe235e6839 (commit)
       via  cb871ae081413612664aae0e38cc57479e39381d (commit)
       via  0254ae23d4a3ca6d9287ac0b6bd07a17a6dc448d (commit)
       via  508fd24615c10bcf6efa79301a42e8a3fd129ed6 (commit)
       via  abaad8cf1b5089e17a4af0ab1ff644bfcf63cad9 (commit)
       via  834377ea559d665520910968358c522f30d3eb93 (commit)
       via  26c3f94a553be66dd037159148f30b47ef2c6f4b (commit)
       via  fb892732bac6787c6fb943554f8000e26477dd85 (commit)
       via  39997502e46f49f4f7eaa994d1883c76e0c23451 (commit)
       via  8abc4ed712a755b0454e41cccad3ad33fa167f15 (commit)
       via  b123cc3ce4972378a5e564a89b8945473f561578 (commit)
       via  246e61ea75df598de1ef11130ca32407196dd736 (commit)
       via  8d9f3d567e3863f195959828fa20b5d2ed6cbbea (commit)
       via  ca069229880ba47ba100b62ed34c0c226355b0c6 (commit)
       via  49bdc010dfc9f396eec608148ca0f4ea71a0c4dd (commit)
       via  959a2ecdc8a5ffe53e74456ff6eb1ec25092db75 (commit)
      from  2f6d344525463ebe52f6bbd0e9a4cc22e33dacbe (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 ca00e5debfb9c2e4aa17eec9df563343c72d65ba
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ca00e5debfb9c2e4aa17eec9df563343c72d65ba
Author: Justin Pettit <jpettit at nicira.com>
		
openflow: Fix frag config flag values
		


commit f1193301162788fadc0f6faa1af9441f93a623d8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f1193301162788fadc0f6faa1af9441f93a623d8
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Set the correct bits for OFPAT_SET_NW_TOS action.
		
The DSCP bits are the high bits, not the low bits.

Reported-by: Jean Tourrilhes <jt at hpl.hp.com>


commit 2d38e234f4591bf3b494a4299abd4db7fe5cf3fd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2d38e234f4591bf3b494a4299abd4db7fe5cf3fd
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Fix implementation of OFPAT_SET_NW_DST.
		
>From Jean Tourrilhes <jt at hpl.hp.com>.


commit 54294187a62dd13ff1531a1a5abcd5761203cd56
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=54294187a62dd13ff1531a1a5abcd5761203cd56
Author: Justin Pettit <jpettit at nicira.com>
		
ezio: Fix typo in function call
		


commit 5a719c38c219b46a3f9c263ceae268a70071c03c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5a719c38c219b46a3f9c263ceae268a70071c03c
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Always terminate OpenFlow description strings
		
If an OpenFlow description was too long, it would not be properly
truncated with a final null character.  In addition to properly terminating
the string, this set of changes prints a warning if a description is too
long and standardizes on a naming standard for description variables.


commit 0c30c8f1c419811cbb5fdc441af95ba3f763f0ff
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0c30c8f1c419811cbb5fdc441af95ba3f763f0ff
Author: Justin Pettit <jpettit at nicira.com>
		
ovs-openflowd: Standardize on OpenFlow description option
		
ovs-vswitchd used a slightly different way to set the manufacturer,
hardware revision, software revision, serial number, and datapath
description than ovs-openflowd.  This standardizes on the ovs-vswitch
style and describes how to use them in the man page.


commit 23ff2821fd8b840dfeedcb47aeaed4fd060d73c8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=23ff2821fd8b840dfeedcb47aeaed4fd060d73c8
Author: Justin Pettit <jpettit at nicira.com>
		
ovs-vswitchd: Remove inline OpenFlow descriptions
		
Replace inline OpenFlow descriptions with #define.  Also, start work to
support setting them dynamically.

(This was originally working with the config file version of vswitchd,
but needs to be updated to work with the config db.)


commit ce640333ea5ad7178a45b1d242af7cad9ca99976
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ce640333ea5ad7178a45b1d242af7cad9ca99976
Author: Justin Pettit <jpettit at nicira.com>
		
ovs-openflowd: Fix typo in comment describing dp_desc
		


commit dd70b47582e7619367840c5befe9dcfe235e6839
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=dd70b47582e7619367840c5befe9dcfe235e6839
Author: Justin Pettit <jpettit at nicira.com>
		
Don't go beyond buffer length when printing descriptions
		
Prevent reading past the end of the buffer when a description is not
null-terminated.

Reported-by: Ben Pfaff <blp at nicira.com>


commit cb871ae081413612664aae0e38cc57479e39381d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cb871ae081413612664aae0e38cc57479e39381d
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Don't leak descriptions when destroying an ofproto
		
Reported-by: Ben Pfaff <blp at nicira.com>


commit 0254ae23d4a3ca6d9287ac0b6bd07a17a6dc448d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0254ae23d4a3ca6d9287ac0b6bd07a17a6dc448d
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Set protocol version to 0x01 (OpenFlow 1.0)
		
Finalize OpenFlow 1.0 wire-compatibility:

    - Set protocol version to 0x01
    - Remove references to retired OFPC_MULTI_PHY_TX
    - Clean extraneous spaces in header file

NOTE: This is the final commit in the OpenFlow 1.0 set.  Starting with
this commit, OVS is OpenFlow 1.0 wire-compatible.  Slicing is not yet
implemented.


commit 508fd24615c10bcf6efa79301a42e8a3fd129ed6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=508fd24615c10bcf6efa79301a42e8a3fd129ed6
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Add wire-compatibility for slicing (OpenFlow 1.0)
		
OpenFlow 1.0 adds support for a subset of QoS that's referred to as slicing.
Open vSwitch does not support this yet, so send errors if it's used.

NOTE: OVS at this point is not wire-compatible with OpenFlow 1.0 until
the final commit in this OpenFlow 1.0 set.


commit abaad8cf1b5089e17a4af0ab1ff644bfcf63cad9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=abaad8cf1b5089e17a4af0ab1ff644bfcf63cad9
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Querying port stats for individual ports (OpenFlow 1.0)
		
OpenFlow 1.0 adds "port_no" field to the Port Stat request messages to
allow stats for individual ports to be queried.  Port stats for all ports
can still be requested by specifying OFPP_NONE as the port number.

NOTE: OVS at this point is not wire-compatible with OpenFlow 1.0 until
the final commit in this OpenFlow 1.0 set.


commit 834377ea559d665520910968358c522f30d3eb93
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=834377ea559d665520910968358c522f30d3eb93
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Match on IP ToS/DSCP bits (OpenFlow 1.0)
		
OpenFlow 1.0 adds support for matching on IP ToS/DSCP bits.

NOTE: OVS at this point is not wire-compatible with OpenFlow 1.0 until
the final commit in this OpenFlow 1.0 set.


commit 26c3f94a553be66dd037159148f30b47ef2c6f4b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=26c3f94a553be66dd037159148f30b47ef2c6f4b
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Improve resolution of flow stats and removed messages (OpenFlow 1.0)
		
OpenFlow 1.0 increases the resolution of flow stats and flow removed messages
from seconds to (potentially) nanoseconds.  The spec stats that only
millisecond granularity is required, so that's all we provide at this
time.  Increasing to nanoseconds would require more significant code
change and would not provide an appreciable improvement in real world
use.

NOTE: OVS at this point is not wire-compatible with OpenFlow 1.0 until
the final commit in this OpenFlow 1.0 set.


commit fb892732bac6787c6fb943554f8000e26477dd85
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=fb892732bac6787c6fb943554f8000e26477dd85
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Add support for matching IP addresses in ARP header (OpenFlow 1.0)
		
The OpenFlow 1.0 specification supports matching the IP address and
opcode in ARP messages.  The datapath already supports this, so this
commit merely exposes that through the OpenFlow module.

NOTE: OVS at this point is not wire-compatible with OpenFlow 1.0
until the final commit in this OpenFlow 1.0 set.


commit 39997502e46f49f4f7eaa994d1883c76e0c23451
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=39997502e46f49f4f7eaa994d1883c76e0c23451
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Add support for flow cookies (OpenFlow 1.0)
		
In OpenFlow 1.0, flows have been extended to include an opaque
identifier, referred to as a cookie. The cookie is specified by the
controller when the flow is installed; the cookie will be returned as
part of each flow stats and flow removed message.

NOTE: OVS at this point is not wire-compatible with OpenFlow 1.0 until
the final commit in this Openflow 1.0 set.


commit 8abc4ed712a755b0454e41cccad3ad33fa167f15
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8abc4ed712a755b0454e41cccad3ad33fa167f15
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Add user-specifiable datapath description (OpenFlow 1.0)
		
In OpenFlow 1.0, a "dp_desc" character array was added to the ofp_desc_stats
structure that allows a human readable description of the datapath to be
provided.

NOTE: OVS at this point is not wire-compatible with OpenFlow 1.0 until
the final commit in this OpenFlow 1.0 set.


commit b123cc3ce4972378a5e564a89b8945473f561578
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b123cc3ce4972378a5e564a89b8945473f561578
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Use 64-bit datapath id and management id (OpenFlow 0.9)
		
The length of a datapath was changed from 48 bits to 64 bits in OpenFlow
0.9.  For parity, we increased the management id size to match.

NOTE: This is the final commit in the OpenFlow 0.9 set.  Starting with
this commit, OVS is OpenFlow 0.9-compliant.


commit 246e61ea75df598de1ef11130ca32407196dd736
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=246e61ea75df598de1ef11130ca32407196dd736
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Add support for barrier command (OpenFlow 0.9)
		
OpenFlow 0.9 introduces the concept of the barrier command.  When the
controller sends a Barrier Request, the switch is not allowed to respond
with a Barrier Reply until it has finished processing any other commands
that preceded it.  This commit provides that support.

NOTE: OVS at this point is not wire-compatible with OpenFlow 0.9 until the
final commit in this OpenFlow 0.9 set.


commit 8d9f3d567e3863f195959828fa20b5d2ed6cbbea
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8d9f3d567e3863f195959828fa20b5d2ed6cbbea
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Cleanups to openflow.h (OpenFlow 0.9)
		
This commit cleans up a few comments in openflow.h.  The only one of
significance is that OpenFlow port numbers now begin enumeration at 1.
OVS already behaved in this manner, so this is just a documentation
issue for us.

NOTE: OVS at this point is not wire-compatible with OpenFlow 0.9 until the
final commit in this OpenFlow 0.9 set.


commit ca069229880ba47ba100b62ed34c0c226355b0c6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ca069229880ba47ba100b62ed34c0c226355b0c6
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Add selective Flow Removed messages and flow deletes (OpenFlow 0.9)
		
In OpenFlow 0.9, flow "expiration" messages are sent when flows are
explicitly removed by a delete action.  As such, the message is renamed
from Flow Expired to Flow Removed.  This commit adds that support as well
as supporting the ability to choose sending these messages on a per flow
basis.

NOTE: OVS at this point is not wire-compatible with OpenFlow 0.9 until the
final commit in this OpenFlow 0.9 set.


commit 49bdc010dfc9f396eec608148ca0f4ea71a0c4dd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=49bdc010dfc9f396eec608148ca0f4ea71a0c4dd
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Check overlap, emerg flow cache, and error code sync (OpenFlow 0.9)
		
This commit adds (some) support for a couple new OpenFlow 0.9 features:

    - The OFPFF_CHECK_OVERLAP flag in Flow Mod messages allows the
      controller to prevent flows that would conflict at the same
      priority.

    - An emergency flow cache that contains a small flow table that is
      used if the switch loses connectivity with the controller.  I
      believe the design has fundamental flaws and looks likely to be
      retired.  If a controller attempts to add a flow to the emergency
      flow cache, OVS always responds that the tables are full.

The OpenFlow 0.9 error codes are also sync'd in the commit.

NOTE: OVS at this point is not wire-compatible with OpenFlow 0.9 until the
final commit in this OpenFlow 0.9 set.


commit 959a2ecdc8a5ffe53e74456ff6eb1ec25092db75
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=959a2ecdc8a5ffe53e74456ff6eb1ec25092db75
Author: Justin Pettit <jpettit at nicira.com>
		
ofproto: Match VLAN PCP and rewrite ToS bits (OpenFlow 0.9)
		
Starting in OpenFlow 0.9, it is possible to match on the VLAN PCP
(priority) field and rewrite the IP ToS/DSCP bits.  This check-in
provides that support and bumps the wire protocol number to 0x98.

NOTE: The wire changes come together over the set of OpenFlow 0.9 commits,
so OVS will not be OpenFlow-compatible with any official release between
this commit and the one that completes the set.


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

Summary of changes:
 datapath/actions.c                      |   29 +++
 datapath/datapath.c                     |    6 +-
 datapath/flow.c                         |    4 +-
 extras/ezio/ovs-switchui.c              |    5 +
 include/openflow/openflow.h             |  299 ++++++++++++++++++----------
 include/openvswitch/datapath-protocol.h |   20 ++-
 lib/classifier.c                        |   58 ++++++-
 lib/classifier.h                        |    6 +-
 lib/dpif-netdev.c                       |   26 +++-
 lib/flow.c                              |   57 ++----
 lib/flow.h                              |    3 +-
 lib/learning-switch.c                   |   29 ++--
 lib/odp-util.c                          |    3 +
 lib/ofp-print.c                         |  126 +++++++++---
 lib/packets.c                           |    2 +-
 lib/packets.h                           |    4 +
 lib/vconn.c                             |   25 ++-
 ofproto/ofproto.c                       |  326 +++++++++++++++++++++----------
 ofproto/ofproto.h                       |   11 +-
 ofproto/pktbuf.c                        |    6 +-
 ofproto/status.c                        |    2 +-
 tests/flowgen.pl                        |   10 +-
 tests/test-classifier.c                 |   19 ++-
 utilities/ovs-ofctl.8.in                |   33 +++-
 utilities/ovs-ofctl.c                   |   99 ++++++++--
 utilities/ovs-openflowd.8.in            |   51 +++++-
 utilities/ovs-openflowd.c               |   48 +++--
 vswitchd/bridge.c                       |   78 ++++++++
 28 files changed, 1008 insertions(+), 377 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list