[ovs-git] Open vSwitch: vswitchd: Add "enable-async-messages" setting for controllers. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Feb 9 22:21:08 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  9886b6620ea710a4a8afd0a88271e563a64e7ea2 (commit)
       via  80d5aefd65b9dd953d873f9995b949bc8b8d19d5 (commit)
       via  bb638b9a1868cf51df3e5faac8fe8ab1e5ec84cd (commit)
       via  efb80167f7ebf51456df2940e3b42376ecbceb61 (commit)
       via  1e1d00a5036e3ff1430b830aa674d9e446655633 (commit)
       via  96761f583fd205253168209581ae40a477a62320 (commit)
       via  0c3d5fc89a341d31774f24ddaf7360a5ba4a641f (commit)
       via  a993007bee69e581b0b0a5c6abb2ad0e6ef24881 (commit)
       via  c6a93eb711322474e0e8db07a6c53e1f6c61c56b (commit)
       via  c4b3187200f8b00252795bd5536c1e3af11d9b08 (commit)
       via  fdb3539e0108dff4ffd48b5b860786b2ab27046c (commit)
       via  12442ec572f794b93aa47fbeb9a73974acc2bac3 (commit)
       via  9aec6f5a52b1575a30264554736c1275442e3d80 (commit)
      from  b93803967e38ee4b65cd1e720decd8dcbb58d04f (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 9886b6620ea710a4a8afd0a88271e563a64e7ea2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9886b6620ea710a4a8afd0a88271e563a64e7ea2
Author: Ben Pfaff <blp at nicira.com>
		
vswitchd: Add "enable-async-messages" setting for controllers.
		
An OpenFlow connection can start receiving asynchronous messages such as
"packet-ins" immediately at connect time.  If there is a lot of traffic on
the network then this can swamp the controller before it gets a chance to
set up an initial flow table.  This setting overrides this OpenFlow
behavior, changing it so that the connection initially enables no
asynchronous messages at all.  The controller can enable any messages that
it actually wants when it is ready for them.

Feature #7086.
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 80d5aefd65b9dd953d873f9995b949bc8b8d19d5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=80d5aefd65b9dd953d873f9995b949bc8b8d19d5
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Implement OpenFlow extension to allow control over async messages.
		
Until now, the rules that cover the asynchronous messages that Open vSwitch
sends to a controller have been ad hoc.  The new NXT_SET_ASYNC_CONFIG
message provides systematic, precise control.

Feature #7086.
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit bb638b9a1868cf51df3e5faac8fe8ab1e5ec84cd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bb638b9a1868cf51df3e5faac8fe8ab1e5ec84cd
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: New "ofctl/barrier" unixctl command.
		
This will be useful in upcoming unit tests for ensuring that all
asynchronous messages due to previous actions have arrived.

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


commit efb80167f7ebf51456df2940e3b42376ecbceb61
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=efb80167f7ebf51456df2940e3b42376ecbceb61
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: New function ofputil_encode_barrier_request().
		
This new function will acquire a new user in an upcoming commit.

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


commit 1e1d00a5036e3ff1430b830aa674d9e446655633
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1e1d00a5036e3ff1430b830aa674d9e446655633
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: New "ofctl/set-output-file" unixctl command.
		
This will be useful in unit tests, to allow switching output to a new file
during "ovs-ofctl monitor" runtime.

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


commit 96761f583fd205253168209581ae40a477a62320
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=96761f583fd205253168209581ae40a477a62320
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: New "ofctl/send" unixctl command.
		
I intend to use this in upcoming unit tests.

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


commit 0c3d5fc89a341d31774f24ddaf7360a5ba4a641f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0c3d5fc89a341d31774f24ddaf7360a5ba4a641f
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Add "packet-out" command.
		
I don't expect this to be widely useful.  An upcoming commit will add a
use in unit tests.

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


commit a993007bee69e581b0b0a5c6abb2ad0e6ef24881
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a993007bee69e581b0b0a5c6abb2ad0e6ef24881
Author: Ben Pfaff <blp at nicira.com>
		
Add support for parsing and printing OFPFF_* flags.
		
I intend to use OFPFF_SEND_FLOW_REM in upcoming unit tests.  I threw in
OFPFF_CHECK_OVERLAP also because it didn't cost me anything.  I omitted
parsing support for OFPFF_EMERG because we opposed its inclusion from the
start and it was removed from OpenFlow 1.2.

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


commit c6a93eb711322474e0e8db07a6c53e1f6c61c56b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c6a93eb711322474e0e8db07a6c53e1f6c61c56b
Author: Ben Pfaff <blp at nicira.com>
		
ofp-util: Add struct ofputil_packet_out, helper functions, and use it all.
		
This makes the ofp-util support for packet_out better match the support
that ofp-util has for other OpenFlow messages.  It also prepares for an
upcoming patch that adds a new piece of code that generates packet_out
messages.

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


commit c4b3187200f8b00252795bd5536c1e3af11d9b08
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c4b3187200f8b00252795bd5536c1e3af11d9b08
Author: Ben Pfaff <blp at nicira.com>
		
connmgr: Do not persist OpenFlow settings from one session to another.
		
Each OpenFlow session should begin fresh, with settings that are the
default for OpenFlow, but the connection manager was mistakenly persisting
them from one session to the next for "primary" controllers.

This is a bug, but it is a long-standing one.  I found the problem by
inspection, not through a bug report, so I do not think that it causes much
harm in practice.

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


commit fdb3539e0108dff4ffd48b5b860786b2ab27046c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=fdb3539e0108dff4ffd48b5b860786b2ab27046c
Author: Ben Pfaff <blp at nicira.com>
		
ovs-ofctl: Allow priority and timeout to be specified on mod-flows.
		
These options do have an effect if the mod-flows command creates a new
flow.

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


commit 12442ec572f794b93aa47fbeb9a73974acc2bac3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=12442ec572f794b93aa47fbeb9a73974acc2bac3
Author: Ben Pfaff <blp at nicira.com>
		
DESIGN: Document the properties of flow_mods.
		
I'm tired of trying to figure these out all over again each time I think
about it.

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


commit 9aec6f5a52b1575a30264554736c1275442e3d80
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=9aec6f5a52b1575a30264554736c1275442e3d80
Author: Ben Pfaff <blp at nicira.com>
		
ofproto: Allow service controllers to become masters and slaves.
		
I don't remember why we disallow this.  It seems reasonable to me to enable
it.  A test in a upcoming commit relies upon the ability.

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


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

Summary of changes:
 DESIGN                        |  120 +++++++++++++++++++-
 NEWS                          |   14 ++-
 include/openflow/nicira-ext.h |   24 ++++
 include/openflow/openflow.h   |   14 ++-
 lib/learn.c                   |   21 +++-
 lib/learning-switch.c         |   24 +++-
 lib/ofp-parse.c               |   28 ++++-
 lib/ofp-parse.h               |    5 +-
 lib/ofp-print.c               |  196 +++++++++++++++++++++++--------
 lib/ofp-util.c                |  130 +++++++++++++---------
 lib/ofp-util.h                |   25 +++--
 lib/vconn.c                   |    4 +-
 ofproto/connmgr.c             |  253 +++++++++++++++++++++++++++--------------
 ofproto/connmgr.h             |   14 ++-
 ofproto/ofproto.c             |   78 ++++++-------
 ofproto/ofproto.h             |    3 +-
 tests/ofp-print.at            |   22 ++++-
 tests/ofproto.at              |   87 ++++++++++++++
 tests/ovs-ofctl.at            |    8 +-
 utilities/ovs-ofctl.8.in      |   65 +++++++++--
 utilities/ovs-ofctl.c         |  177 ++++++++++++++++++++++++++++
 vswitchd/bridge.c             |    3 +
 vswitchd/vswitch.ovsschema    |    7 +-
 vswitchd/vswitch.xml          |   21 ++++-
 24 files changed, 1053 insertions(+), 290 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list