[ovs-git] Open vSwitch: unixctl: New JSON RPC back-end. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Feb 27 23:23:50 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  bde9f75de100e3801735bf69f605320f4db65cba (commit)
       via  d35f8e72cdcfa7b99e1987bb17b7bc1035ce2213 (commit)
       via  491aa8847a05f3ab98e6e6bd2ac26e331c363b3d (commit)
      from  a7349929fb86d41f2e2ef77395e33b21f9457d48 (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 bde9f75de100e3801735bf69f605320f4db65cba
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bde9f75de100e3801735bf69f605320f4db65cba
Author: Ethan Jackson <ethan at nicira.com>
		
unixctl: New JSON RPC back-end.
		
The unixctl library had used the vde2 management protocol since the
early days of Open vSwitch.  As Open vSwitch has matured, several
Python daemons have been added to the code base which would benefit
from a unixctl implementations.  Instead of implementing the old
unixctl protocol in Python, this patch changes unixctl to use JSON
RPC for which we already have an implementation in both Python and
C.  Future patches will need to implement a unixctl library in
Python on top of JSON RPC.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit d35f8e72cdcfa7b99e1987bb17b7bc1035ce2213
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d35f8e72cdcfa7b99e1987bb17b7bc1035ce2213
Author: Ethan Jackson <ethan at nicira.com>
		
jsonrpc: Don't swallow errors in jsonrpc_transact_block().
		
If a server returned an error in response to a request,
jsonrpc_transact_block() would ignore it.  This patch changes the
behavior and updates its callers to gracefully handle the
possibility.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


commit 491aa8847a05f3ab98e6e6bd2ac26e331c363b3d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=491aa8847a05f3ab98e6e6bd2ac26e331c363b3d
Author: Ethan Jackson <ethan at nicira.com>
		
bond: Incorrectly reported an error in appctl.
		
The bond/enable-slave and bond/disable-slave ovs-appctl commands
incorrectly reported the 501 error code upon success.

Signed-off-by: Ethan Jackson <ethan at nicira.com>


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

Summary of changes:
 lib/bond.c              |   42 ++--
 lib/cfm.c               |   10 +-
 lib/coverage.c          |    2 +-
 lib/jsonrpc.c           |    8 +-
 lib/lacp.c              |    4 +-
 lib/netdev-dummy.c      |    8 +-
 lib/stp.c               |    4 +-
 lib/stress.c            |   16 +-
 lib/timeval.c           |    4 +-
 lib/unixctl.c           |  603 +++++++++++++++++------------------------------
 lib/unixctl.h           |   17 +-
 lib/vlog.c              |   12 +-
 ofproto/ofproto-dpif.c  |   32 ++--
 ofproto/ofproto.c       |    2 +-
 ovsdb/automake.mk       |    2 +-
 ovsdb/ovsdb-client.c    |   43 ++--
 ovsdb/ovsdb-server.c    |    8 +-
 tests/automake.mk       |   44 ++--
 tests/test-netflow.c    |    2 +-
 tests/test-ovsdb.c      |    2 +-
 utilities/automake.mk   |   10 +-
 utilities/ovs-appctl.c  |   42 ++--
 utilities/ovs-ofctl.c   |   19 +-
 vswitchd/bridge.c       |   14 +-
 vswitchd/ovs-vswitchd.c |    2 +-
 25 files changed, 397 insertions(+), 555 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list