[ovs-git] Open vSwitch: ovsdb-idl: Make it possible to write data through the IDL. (next)

dev at openvswitch.org dev at openvswitch.org
Tue Dec 8 01:21:11 UTC 2009

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  475281c01bd655c49f086d62d0cb4055a8f8d74b (commit)
       via  2d2d6d4a71776813f8d2fd1af1051f22b836befc (commit)
       via  f6f8c3ba779e357801ebaefdf8ef8a426ab73ea4 (commit)
       via  7cc48aed456efc7a5d7efdab7dc6d23381a59300 (commit)
       via  1e68c0730d0753e9a796a0d6d4b95933f7cdfbd2 (commit)
       via  b0fc010acb340f51a0517c36fbcdedd4f40f800e (commit)
      from  fa0361b7a085abd460a5a6236b137a69d871f8c5 (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 475281c01bd655c49f086d62d0cb4055a8f8d74b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=475281c01bd655c49f086d62d0cb4055a8f8d74b
Author: Ben Pfaff <blp at nicira.com>
ovsdb-idl: Make it possible to write data through the IDL.
Until now the IDL has been exclusively a read-only interface.  This commit
introduces a general-purpose interface for writing to ovsdb via the IDL.

commit 2d2d6d4a71776813f8d2fd1af1051f22b836befc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2d2d6d4a71776813f8d2fd1af1051f22b836befc
Author: Ben Pfaff <blp at nicira.com>
ovsdb: Implement new "declare" operation.

commit f6f8c3ba779e357801ebaefdf8ef8a426ab73ea4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f6f8c3ba779e357801ebaefdf8ef8a426ab73ea4
Author: Ben Pfaff <blp at nicira.com>
json: New convenience function json_array_create_1().

commit 7cc48aed456efc7a5d7efdab7dc6d23381a59300
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7cc48aed456efc7a5d7efdab7dc6d23381a59300
Author: Ben Pfaff <blp at nicira.com>
bitmap: New function bitmap_scan() and macro BITMAP_FOR_EACH_1.
bitmap_scan() can be optimized significantly for the case of a sparse
bitmap but it doesn't seem worth the additional overhead of writing a test
unless and until we show that it's a useful optimization in practice.

commit 1e68c0730d0753e9a796a0d6d4b95933f7cdfbd2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1e68c0730d0753e9a796a0d6d4b95933f7cdfbd2
Author: Ben Pfaff <blp at nicira.com>
hmap: Add function to mark an hmap_node as "null" and check for the mark.
This is useful in cases where one might want to know whether an hmap_node
is actually part of an hmap, without using a separate variable to indicate

commit b0fc010acb340f51a0517c36fbcdedd4f40f800e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b0fc010acb340f51a0517c36fbcdedd4f40f800e
Author: Ben Pfaff <blp at nicira.com>
ovsdb-idlc: Add rules to make sure .h files get generated before .c files.
The .c files #include the .h files so the .h files need to be generated


Summary of changes:
 lib/bitmap.c             |   19 ++-
 lib/bitmap.h             |    5 +
 lib/hmap.h               |   18 ++
 lib/json.c               |    8 +
 lib/json.h               |    1 +
 lib/ovsdb-data.c         |   28 ++-
 lib/ovsdb-data.h         |   11 +-
 lib/ovsdb-idl-provider.h |   18 ++-
 lib/ovsdb-idl.c          |  563 ++++++++++++++++++++++++++++++++++++++++++++--
 lib/ovsdb-idl.h          |   17 ++
 ovsdb/SPECS              |   65 +++++-
 ovsdb/execution.c        |   48 ++++-
 ovsdb/ovsdb-idlc.in      |  181 +++++++++++++--
 tests/automake.mk        |    1 +
 tests/ovsdb-idl.at       |   51 ++++-
 tests/test-ovsdb.c       |  113 +++++++++-
 vswitchd/automake.mk     |    1 +
 17 files changed, 1065 insertions(+), 83 deletions(-)

Open vSwitch

More information about the git mailing list