summaryrefslogtreecommitdiff
path: root/vswitchd/vswitch.ovsschema
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-12-27 10:18:14 -0800
committerBen Pfaff <blp@nicira.com>2010-12-27 10:18:14 -0800
commit538c6dfab42ec72f916e80f916e858f988d1c48d (patch)
treec217fae391339eade88ed929a5597f6f3cd3deae /vswitchd/vswitch.ovsschema
parentabcf9134e459208dc4f73648c284ec5431ad7cb8 (diff)
downloadopenvswitch-538c6dfab42ec72f916e80f916e858f988d1c48d.tar.gz
vswitchd: Add OVS version to database, give system info its own columns.
Until now, nothing in the database has reported the Open vSwitch version number. This commit adds that. In addition, this commits moves the system type and version from external-ids to individual columns, because we decided that these were important enough not to relegate them to a grab-bag field.
Diffstat (limited to 'vswitchd/vswitch.ovsschema')
-rw-r--r--vswitchd/vswitch.ovsschema11
1 files changed, 10 insertions, 1 deletions
diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema
index 52573e516..04b691a53 100644
--- a/vswitchd/vswitch.ovsschema
+++ b/vswitchd/vswitch.ovsschema
@@ -30,7 +30,16 @@
"min": 0, "max": "unlimited"}},
"statistics": {
"type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
- "ephemeral": true}},
+ "ephemeral": true},
+ "ovs_version": {
+ "type": {"key": {"type": "string"},
+ "min": 0, "max": 1}},
+ "system_type": {
+ "type": {"key": {"type": "string"},
+ "min": 0, "max": 1}},
+ "system_version": {
+ "type": {"key": {"type": "string"},
+ "min": 0, "max": 1}}},
"maxRows": 1},
"Capability": {
"columns": {