summaryrefslogtreecommitdiff
path: root/vswitchd/vswitch.ovsschema
diff options
context:
space:
mode:
authorAndrew Evans <aevans@nicira.com>2011-01-28 15:39:55 -0800
committerAndrew Evans <aevans@nicira.com>2011-02-01 14:45:20 -0800
commit0b3e7a8b717b8c50c24244f7054079ede61742f2 (patch)
tree15eb6517d87e85ed1872de2cf4b53e63fef91b74 /vswitchd/vswitch.ovsschema
parentf696f12fbe84f49d650f48c45ce1a24b94547ad2 (diff)
downloadopenvswitch-0b3e7a8b717b8c50c24244f7054079ede61742f2.tar.gz
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.
Diffstat (limited to 'vswitchd/vswitch.ovsschema')
-rw-r--r--vswitchd/vswitch.ovsschema12
1 files changed, 9 insertions, 3 deletions
diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema
index 8d14221c3..855349975 100644
--- a/vswitchd/vswitch.ovsschema
+++ b/vswitchd/vswitch.ovsschema
@@ -1,6 +1,6 @@
{"name": "Open_vSwitch",
- "version": "1.1.0",
- "cksum": "815766362 15358",
+ "version": "1.2.0",
+ "cksum": "2368100022 15573",
"tables": {
"Open_vSwitch": {
"columns": {
@@ -412,7 +412,13 @@
"min": 0, "max": 1}},
"external_ids": {
"type": {"key": "string", "value": "string",
- "min": 0, "max": "unlimited"}}}},
+ "min": 0, "max": "unlimited"}},
+ "is_connected": {
+ "type": "boolean",
+ "ephemeral": true},
+ "status": {
+ "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
+ "ephemeral": true}}},
"SSL": {
"columns": {
"private_key": {