ovsdb-server: Write manager status information to Manager table.
authorAndrew Evans <aevans@nicira.com>
Fri, 28 Jan 2011 23:39:55 +0000 (15:39 -0800)
committerAndrew Evans <aevans@nicira.com>
Tue, 1 Feb 2011 22:45:20 +0000 (14:45 -0800)
commit0b3e7a8b717b8c50c24244f7054079ede61742f2
tree15eb6517d87e85ed1872de2cf4b53e63fef91b74
parentf696f12fbe84f49d650f48c45ce1a24b94547ad2
ovsdb-server: Write manager status information to Manager table.

This commit makes the status of manager connections visible via the Manager
table in the database.  Two new columns have been created for this purpose:
'is_connected' and 'status'.  The former is a boolean flag, and the latter is a
string-string map which may contain the keys "last_error", "state", and
"time_in_state".

Requested-by: Keith Amidon <keith@nicira.com>
Reviewed by: Ben Pfaff.
Feature #3692.
lib/jsonrpc.c
lib/jsonrpc.h
ovsdb/jsonrpc-server.c
ovsdb/jsonrpc-server.h
ovsdb/ovsdb-server.c
vswitchd/vswitch.ovsschema
vswitchd/vswitch.xml