X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fvswitch.ovsschema;h=beb833159d66d096d054cbb24a6db51eb519b064;hb=27dcaa1ac8a4ac072ca7590c409c93c6ba9376ad;hp=d872fdc516ac0d2c0a20971a4e2dea9ba7ec0c63;hpb=ce8876775477a359f3ae14b8cae0ef2212f1681b;p=sliver-openvswitch.git diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index d872fdc51..beb833159 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -1,4 +1,6 @@ {"name": "Open_vSwitch", + "version": "1.0.4", + "cksum": "1999497811 14145", "tables": { "Open_vSwitch": { "columns": { @@ -8,6 +10,10 @@ "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"}, @@ -26,7 +32,19 @@ "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}}, + "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}}}, "maxRows": 1}, "Capability": { "columns": { @@ -36,7 +54,8 @@ "Bridge": { "columns": { "name": { - "type": "string"}, + "type": "string", + "mutable": false}, "datapath_type": { "type": "string"}, "datapath_id": { @@ -72,13 +91,14 @@ "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"}, @@ -100,6 +120,10 @@ "mac": { "type": {"key": {"type": "string"}, "min": 0, "max": 1}}, + "bond_mode": { + "type": {"key": {"type": "string", + "enum": ["set", ["balance-slb", "active-backup"]]}, + "min": 0, "max": 1}}, "bond_updelay": { "type": "integer"}, "bond_downdelay": { @@ -115,7 +139,8 @@ "Interface": { "columns": { "name": { - "type": "string"}, + "type": "string", + "mutable": false}, "type": { "type": "string"}, "options": { @@ -134,6 +159,11 @@ "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": { @@ -142,6 +172,62 @@ "status": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, "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"}, + "ephemeral": true}, + "unexpected_remote_mpids": { + "type": { + "key": { "type": "integer"}, + "min": 0, + "max": "unlimited"}, + "ephemeral": true}, + "unexpected_remote_maids": { + "type": { + "key": "string", + "min": 0, + "max": "unlimited"}, + "ephemeral": true}, + "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": { "type": { @@ -154,7 +240,7 @@ "refTable": "Queue"}, "min": 0, "max": "unlimited"}}, "other_config": { - "type": {"key": "string", "value": "string", + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "external_ids": { "type": {"key": "string", "value": "string", @@ -162,7 +248,7 @@ "Queue": { "columns": { "other_config": { - "type": {"key": "string", "value": "string", + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "external_ids": { "type": {"key": "string", "value": "string", @@ -272,12 +358,29 @@ "minInteger": 100}, "min": 0, "max": 1}}, "controller_burst_limit": { - "type": {"key": {"type": "integer", + "type": {"key": {"type": "integer", "minInteger": 25}, "min": 0, "max": 1}}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}}, + "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"}}}}, "SSL": { "columns": { "private_key": {