summaryrefslogtreecommitdiff
path: root/vswitchd/vswitch.ovsschema
diff options
context:
space:
mode:
authorAndrew Evans <aevans@nicira.com>2011-01-17 15:37:13 -0800
committerAndrew Evans <aevans@nicira.com>2011-01-18 21:09:02 -0800
commite210037edde788ffcc03497019903dadd6eadcfa (patch)
treede53ec463aa333ba6174e9061e5ae9b0ffee6199 /vswitchd/vswitch.ovsschema
parentb42c5c24041ddb6553aa9ca88888a2ecfd6e4c99 (diff)
downloadopenvswitch-e210037edde788ffcc03497019903dadd6eadcfa.tar.gz
bridge: Store status of physical network interfaces in Interface table.
New columns in Interface table: admin_state, link_state, link_speed, duplex, mtu. New keys in status map in Interface table: driver_name, driver_version, firmware_version. Requested-by: Peter Balland <pballand@nicira.com> Bug #4299.
Diffstat (limited to 'vswitchd/vswitch.ovsschema')
-rw-r--r--vswitchd/vswitch.ovsschema25
1 files changed, 23 insertions, 2 deletions
diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema
index 70e56f4c1..e078ce007 100644
--- a/vswitchd/vswitch.ovsschema
+++ b/vswitchd/vswitch.ovsschema
@@ -1,6 +1,6 @@
{"name": "Open_vSwitch",
- "version": "1.0.5",
- "cksum": "2737967217 14145",
+ "version": "1.0.6",
+ "cksum": "271866752 14882",
"tables": {
"Open_vSwitch": {
"columns": {
@@ -171,6 +171,27 @@
"ephemeral": true},
"status": {
"type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
+ "ephemeral": true},
+ "admin_state": {
+ "type": {"key": {"type": "string",
+ "enum": ["set", ["up", "down"]]},
+ "min": 0, "max": 1},
+ "ephemeral": true},
+ "link_state": {
+ "type": {"key": {"type": "string",
+ "enum": ["set", ["up", "down"]]},
+ "min": 0, "max": 1},
+ "ephemeral": true},
+ "link_speed": {
+ "type": {"key": "integer", "min": 0, "max": 1},
+ "ephemeral": true},
+ "duplex": {
+ "type": {"key": {"type": "string",
+ "enum": ["set", ["half", "full"]]},
+ "min": 0, "max": 1},
+ "ephemeral": true},
+ "mtu": {
+ "type": {"key": "integer", "min": 0, "max": 1},
"ephemeral": true}}},
"Monitor": {
"columns": {