]> git.proxmox.com Git - ovs.git/commit
jsonrpc-server: Separate changing read_only status from reconnecting.
authorBen Pfaff <blp@ovn.org>
Mon, 22 Jan 2018 19:22:57 +0000 (11:22 -0800)
committerBen Pfaff <blp@ovn.org>
Tue, 1 May 2018 00:12:23 +0000 (17:12 -0700)
commit807e73825a4df67cae93d722d2d34db6c5dd5be8
treece70beecf4c5b9cb4243f550352a76a9f4afec71
parentaa9545efd679c3a77e11190432294fd7a775c626
jsonrpc-server: Separate changing read_only status from reconnecting.

The code in jsonrpc-server conflated two different kinds of functionality.
It makes sense for the client to be able to change whether a particular
server is read-only.  It also makes sense for the client to tell a server
to reconnect.  The code in jsonrpc-server only provided a single function
that does both, which is weird.  This commit breaks these apart.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
ovsdb/jsonrpc-server.c
ovsdb/jsonrpc-server.h
ovsdb/ovsdb-server.c