X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fvswitch.ovsschema;h=5afb606d521e45bda42fb3abbefe044d827a7ac8;hb=101c55a1af7998a009a5c88c20e30837bc1a9765;hp=417ce96a9ad8ef02fef5cb4ace5619af970744af;hpb=1a048029a0902439c3f17c49a7f71e4d09fecf70;p=sliver-openvswitch.git diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 417ce96a9..5afb606d5 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -1,4 +1,6 @@ {"name": "Open_vSwitch", + "version": "3.1.0", + "cksum": "2572059147 15155", "tables": { "Open_vSwitch": { "columns": { @@ -6,8 +8,10 @@ "type": {"key": {"type": "uuid", "refTable": "Bridge"}, "min": 0, "max": "unlimited"}}, - "managers": { - "type": {"key": "string", "min": 0, "max": "unlimited"}}, + "manager_options": { + "type": {"key": {"type": "uuid", + "refTable": "Manager"}, + "min": 0, "max": "unlimited"}}, "ssl": { "type": {"key": {"type": "uuid", "refTable": "SSL"}, @@ -25,8 +29,21 @@ "refTable": "Capability"}, "min": 0, "max": "unlimited"}}, "statistics": { - "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"}, - "ephemeral": true}}, + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, + "ephemeral": true}, + "ovs_version": { + "type": {"key": {"type": "string"}, + "min": 0, "max": 1}}, + "db_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}}}, + "isRoot": true, "maxRows": 1}, "Capability": { "columns": { @@ -36,7 +53,8 @@ "Bridge": { "columns": { "name": { - "type": "string"}, + "type": "string", + "mutable": false}, "datapath_type": { "type": "string"}, "datapath_id": { @@ -62,19 +80,24 @@ "type": {"key": {"type": "uuid", "refTable": "Controller"}, "min": 0, "max": "unlimited"}}, + "fail_mode": { + "type": {"key": {"type": "string", + "enum": ["set", ["standalone", "secure"]]}, + "min": 0, "max": 1}}, "other_config": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "flood_vlans": { "type": {"key": {"type": "integer", - "minInteger": 0, + "minInteger": 0, "maxInteger": 4095}, "min": 0, "max": 4096}}}}, "Port": { "columns": { "name": { - "type": "string"}, + "type": "string", + "mutable": false}, "interfaces": { "type": {"key": {"type": "uuid", "refTable": "Interface"}, @@ -96,6 +119,14 @@ "mac": { "type": {"key": {"type": "string"}, "min": 0, "max": 1}}, + "bond_mode": { + "type": {"key": {"type": "string", + "enum": ["set", ["balance-tcp", "balance-slb", "active-backup"]]}, + "min": 0, "max": 1}}, + "lacp": { + "type": {"key": {"type": "string", + "enum": ["set", ["active", "passive", "off"]]}, + "min": 0, "max": 1}}, "bond_updelay": { "type": "integer"}, "bond_downdelay": { @@ -111,7 +142,8 @@ "Interface": { "columns": { "name": { - "type": "string"}, + "type": "string", + "mutable": false}, "type": { "type": "string"}, "options": { @@ -130,8 +162,82 @@ "ofport": { "type": {"key": "integer", "min": 0, "max": 1}, "ephemeral": true}, + "monitor": { + "type": { + "key": {"type": "uuid", "refTable": "Monitor"}, + "min": 0, + "max": 1}}, + "other_config": { + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "statistics": { "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"}, + "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": { + "mpid": { + "type" : { + "key": { "type": "integer", "minInteger": 1, "maxInteger": 8191}}}, + "md_name": { + "type" : { + "key": { "type": "string", "minLength": 1, "maxLength": 43}, + "min": 0, + "max": 1}}, + "ma_name": { + "type" : { + "key": { "type": "string", "minLength": 1, "maxLength": 43}, + "min": 0, + "max": 1}}, + "interval": { + "type": { + "key": { "type": "integer", "minInteger": 100}, + "min": 0, + "max": 1}}, + "remote_mps": { + "type": { + "key": { "type": "uuid", "refTable": "Maintenance_Point"}, + "min": 0, + "max": "unlimited"}}, + "fault": { + "type": { + "key": { "type": "boolean"}, + "min": 0, + "max": 1}, + "ephemeral": true}}}, + "Maintenance_Point": { + "columns": { + "mpid": { + "type" : { + "key": { "type": "integer", "minInteger": 1, "maxInteger": 8191}}, + "mutable": false}, + "fault": { + "type": { + "key": { "type": "boolean"}, + "min": 0, + "max": 1}, "ephemeral": true}}}, "QoS": { "columns": { @@ -145,13 +251,21 @@ "refTable": "Queue"}, "min": 0, "max": "unlimited"}}, "other_config": { - "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}, + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}, + "external_ids": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}, + "isRoot": true}, "Queue": { "columns": { "other_config": { - "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}, + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}, + "external_ids": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}, + "isRoot": true}, "Mirror": { "columns": { "name": { @@ -183,7 +297,10 @@ "type": {"key": {"type": "integer", "minInteger": 1, "maxInteger": 4095}, - "min": 0, "max": 1}}}}, + "min": 0, "max": 1}}, + "external_ids": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}}, "NetFlow": { "columns": { "targets": { @@ -203,7 +320,10 @@ "type": "boolean"}, "active_timeout": { "type": {"key": {"type": "integer", - "minInteger": -1}}}}}, + "minInteger": -1}}}, + "external_ids": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}}, "sFlow": { "columns": { "targets": { @@ -215,7 +335,10 @@ "header": { "type": {"key": "integer", "min": 0, "max": 1}}, "agent": { - "type": {"key": "string", "min": 0, "max": 1}}}}, + "type": {"key": "string", "min": 0, "max": 1}}, + "external_ids": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}}, "Controller": { "columns": { "target": { @@ -226,14 +349,6 @@ "min": 0, "max": 1}}, "inactivity_probe": { "type": {"key": "integer", "min": 0, "max": 1}}, - "fail_mode": { - "type": {"key": {"type": "string", - "enum": ["set", ["standalone", "secure"]]}, - "min": 0, "max": 1}}, - "discover_accept_regex": { - "type": {"key": "string", "min": 0, "max": 1}}, - "discover_update_resolv_conf": { - "type": {"key": "boolean", "min": 0, "max": 1}}, "connection_mode": { "type": {"key": {"type": "string", "enum": ["set", ["in-band", "out-of-band"]]}, @@ -252,9 +367,46 @@ "minInteger": 100}, "min": 0, "max": 1}}, "controller_burst_limit": { - "type": {"key": {"type": "integer", + "type": {"key": {"type": "integer", "minInteger": 25}, - "min": 0, "max": 1}}}}, + "min": 0, "max": 1}}, + "external_ids": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}, + "is_connected": { + "type": "boolean", + "ephemeral": true}, + "role": { + "type": {"key": {"type": "string", + "enum": ["set", ["other", "master", "slave"]]}, + "min": 0, "max": 1}, + "ephemeral": true}, + "status": { + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, + "ephemeral": true}}}, + "Manager": { + "columns": { + "target": { + "type": "string"}, + "max_backoff": { + "type": {"key": {"type": "integer", + "minInteger": 1000}, + "min": 0, "max": 1}}, + "inactivity_probe": { + "type": {"key": "integer", "min": 0, "max": 1}}, + "connection_mode": { + "type": {"key": {"type": "string", + "enum": ["set", ["in-band", "out-of-band"]]}, + "min": 0, "max": 1}}, + "external_ids": { + "type": {"key": "string", "value": "string", + "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": { @@ -264,5 +416,8 @@ "ca_cert": { "type": "string"}, "bootstrap_ca_cert": { - "type": "boolean"}}, + "type": "boolean"}, + "external_ids": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}, "maxRows": 1}}}