[ovs-git] Open vSwitch: ovsdb-idl: Test prerequisite checking. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Oct 22 21:50:35 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, master has been updated
       via  a91c6104fad3750b9dda4acd98e07529073e3ac1 (commit)
       via  f74055e705bc9735853e11170b42840977279fb4 (commit)
       via  1588bb8d91095366786aa92d53759b1cf48139d6 (commit)
       via  1a9a2e4b2d12581b13d6faf29892266796f1126a (commit)
       via  c424adb3ac3460818256181a073b09e92cdc562a (commit)
      from  4ecf12d5018374783cfd35b01cad71043a03f4ce (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 a91c6104fad3750b9dda4acd98e07529073e3ac1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a91c6104fad3750b9dda4acd98e07529073e3ac1
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb-idl: Test prerequisite checking.
		


commit f74055e705bc9735853e11170b42840977279fb4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f74055e705bc9735853e11170b42840977279fb4
Author: Ben Pfaff <blp at nicira.com>
		
ovs-vsctl: Check for dirty reads within transactions.
		
OVSDB is transactional but it does not implement any form of locking.  This
means that read-modify-write operations must verify that the values that
they read are still in place before writing.  This commit adds such
checking.

Bug #2387.
Bug #3856.
Bug #3906.


commit 1588bb8d91095366786aa92d53759b1cf48139d6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1588bb8d91095366786aa92d53759b1cf48139d6
Author: Ben Pfaff <blp at nicira.com>
		
ovs-vsctl: Add context pointer to struct vsctl_info.
		
This will be needed in upcoming commits.


commit 1a9a2e4b2d12581b13d6faf29892266796f1126a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1a9a2e4b2d12581b13d6faf29892266796f1126a
Author: Ben Pfaff <blp at nicira.com>
		
vswitch: Make unique "name" columns immutable, to simplify transactions.
		
OVSDB has transactions but not locking, so a transaction that must
maintain an invariant must check that the starting state is what it
expects.  For example, to add a bridge a client must verify that the new
bridge's name does not conflict with any existing bridge's name, given
that the set of bridges might have changed.  One way to do that is for
the client to verify that that the set of bridges is the same and that none
of the bridges has been renamed to the new bridge's name.  By making
bridge names immutable, the latter part of the check can be omitted.

Mirror names are not required to be unique so this commit does not make
them immutable.

CC: Jeremy Stribling <strib at nicira.com>


commit c424adb3ac3460818256181a073b09e92cdc562a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c424adb3ac3460818256181a073b09e92cdc562a
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb: Document the "mutable" feature for columns.
		
This feature has been implemented in OVSDB since the beginning, but until
now it was undocumented.


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

Summary of changes:
 ovsdb/SPECS                |    5 ++-
 tests/ovsdb-idl.at         |   35 +++++++++++++-
 tests/test-ovsdb.c         |   29 +++++++++++-
 utilities/ovs-vsctl.c      |  108 +++++++++++++++++++++++++++++++++++---------
 vswitchd/vswitch.ovsschema |    9 +++-
 5 files changed, 158 insertions(+), 28 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list