[ovs-git] Open vSwitch: ovsdb: Implement C bindings for IDL. (db)

dev at openvswitch.org dev at openvswitch.org
Wed Dec 2 19:28:43 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, db has been updated
       via  c3bb4bd7f1d9c045a5e5d7062b09d4dac4e48195 (commit)
       via  20bed8be2508ca7275b1167077f1aedfbcaa13fd (commit)
       via  dcbb691b0046f0d4421afbe8901d85c186929f7e (commit)
       via  6e30ca6372f83f6b4ba9ee7bf7ac464c79708ce1 (commit)
       via  b36682d8dcf5290fc70d99c5bc1aa1e0be6d878e (commit)
      from  0809cca7f9cc397b608ac6ef81fbe9029dfb6c1a (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 c3bb4bd7f1d9c045a5e5d7062b09d4dac4e48195
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c3bb4bd7f1d9c045a5e5d7062b09d4dac4e48195
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb: Implement C bindings for IDL.
		


commit 20bed8be2508ca7275b1167077f1aedfbcaa13fd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=20bed8be2508ca7275b1167077f1aedfbcaa13fd
Author: Ben Pfaff <blp at nicira.com>
		
jsonrpc: Make it easy to get a new JSON-RPC request's id.
		


commit dcbb691b0046f0d4421afbe8901d85c186929f7e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=dcbb691b0046f0d4421afbe8901d85c186929f7e
Author: Ben Pfaff <blp at nicira.com>
		
jsonrpc: New type "jsonrpc_session", which automatically reconnects.
		


commit 6e30ca6372f83f6b4ba9ee7bf7ac464c79708ce1
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6e30ca6372f83f6b4ba9ee7bf7ac464c79708ce1
Author: Ben Pfaff <blp at nicira.com>
		
ovsdb: Allow a named-uuid to be used within the operation that creates it.
		
This allows a transaction like this:

[{"op": "insert",
  "table": "mytable",
  "row": {"i": 0, "k": ["named-uuid", "self"]},
  "uuid-name": "self"}]

It was already possible to do this by following up on the "insert" with an
"update", but since this was easy to implement I did it.


commit b36682d8dcf5290fc70d99c5bc1aa1e0be6d878e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b36682d8dcf5290fc70d99c5bc1aa1e0be6d878e
Author: Ben Pfaff <blp at nicira.com>
		
vswitchd: Fix build when source and build directory differ.
		


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

Summary of changes:
 Makefile.am                                     |    4 +-
 lib/automake.mk                                 |    3 +
 lib/jsonrpc.c                                   |  194 +++++++-
 lib/jsonrpc.h                                   |   22 +-
 lib/ovsdb-idl-provider.h                        |   71 +++
 lib/ovsdb-idl.c                                 |  691 +++++++++++++++++++++++
 tests/test-uuid.c => lib/ovsdb-idl.h            |   34 +-
 ovsdb/SPECS                                     |   13 +-
 ovsdb/automake.mk                               |   10 +
 ovsdb/execution.c                               |   13 +-
 ovsdb/jsonrpc-server.c                          |    2 +-
 ovsdb/ovsdb-client.c                            |    7 +-
 ovsdb/ovsdb-idlc.1                              |   11 +
 ovsdb/ovsdb-idlc.in                             |  222 +++++++-
 tests/automake.mk                               |    8 +-
 tests/idltest.ovsidl                            |   29 +
 tests/ovsdb-idl.at                              |  266 +++++++++
 tests/ovsdb.at                                  |    1 +
 tests/test-jsonrpc.c                            |    2 +-
 tests/test-ovsdb.c                              |  238 ++++++++-
 vswitchd/automake.mk                            |   13 +-
 vswitchd/bridge.c                               |    2 +-
 vswitchd/{vswitch.ovsidl => vswitch-idl.ovsidl} |    2 +
 23 files changed, 1794 insertions(+), 64 deletions(-)
 create mode 100644 lib/ovsdb-idl-provider.h
 create mode 100644 lib/ovsdb-idl.c
 copy tests/test-uuid.c => lib/ovsdb-idl.h (53%)
 create mode 100644 tests/idltest.ovsidl
 create mode 100644 tests/ovsdb-idl.at
 rename vswitchd/{vswitch.ovsidl => vswitch-idl.ovsidl} (99%)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list