X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fvswitch.ovsschema;h=b38463b0f11d22ee06656339b920581223465aaa;hb=cfcef6b2463a9cf207fdc12953c51043a3a687e8;hp=3a20385406ea0fa6a1994b439d5193d742c3ba83;hpb=2e57b537305cbaa6f724a28957510a6d86aa2d0f;p=openvswitch diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 3a203854..b38463b0 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -9,17 +9,34 @@ "controller": { "type": {"key": {"type": "uuid", "refTable": "Controller"}, - "min": 0, "max": 1}}, + "min": 0, "max": "unlimited"}}, "managers": { "type": {"key": "string", "min": 0, "max": "unlimited"}}, "ssl": { "type": {"key": {"type": "uuid", "refTable": "SSL"}, "min": 0, "max": 1}}, + "external_ids": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}, "next_cfg": { "type": "integer"}, "cur_cfg": { - "type": "integer"}}}, + "type": "integer"}, + "capabilities": { + "type": {"key": "string", + "value": {"type": "uuid", + "refTable": "Capability"}, + "min": 0, "max": "unlimited"}}, + "statistics": { + "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"}, + "ephemeral": true}}, + "maxRows": 1}, + "Capability": { + "columns": { + "details": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}}, "Bridge": { "columns": { "name": { @@ -48,7 +65,7 @@ "controller": { "type": {"key": {"type": "uuid", "refTable": "Controller"}, - "min": 0, "max": 1}}, + "min": 0, "max": "unlimited"}}, "other_config": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "external_ids": { @@ -76,6 +93,10 @@ "minInteger": 0, "maxInteger": 4095}, "min": 0, "max": 1}}, + "qos": { + "type": {"key": {"type": "uuid", + "refTable": "QoS"}, + "min": 0, "max": 1}}, "mac": { "type": {"key": {"type": "string"}, "min": 0, "max": 1}}, @@ -112,18 +133,46 @@ "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "ofport": { "type": {"key": "integer", "min": 0, "max": 1}, + "ephemeral": true}, + "statistics": { + "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"}, "ephemeral": true}}}, + "QoS": { + "columns": { + "type": { + "type": "string"}, + "queues": { + "type": {"key": {"type": "integer", + "minInteger": 0, + "maxInteger": 4294967295}, + "value": {"type": "uuid", + "refTable": "Queue"}, + "min": 0, "max": "unlimited"}}, + "other_config": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}}, + "Queue": { + "columns": { + "other_config": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}}, "Mirror": { "columns": { "name": { "type": "string"}, + "select_all": { + "type": "boolean" + }, "select_src_port": { "type": {"key": {"type": "uuid", - "refTable": "Port"}, + "refTable": "Port", + "refType": "weak"}, "min": 0, "max": "unlimited"}}, "select_dst_port": { "type": {"key": {"type": "uuid", - "refTable": "Port"}, "min": 0, "max": "unlimited"}}, + "refTable": "Port", + "refType": "weak"}, + "min": 0, "max": "unlimited"}}, "select_vlan": { "type": {"key": {"type": "integer", "minInteger": 0, @@ -131,7 +180,9 @@ "min": 0, "max": 4096}}, "output_port": { "type": {"key": {"type": "uuid", - "refTable": "Port"}, "min": 0, "max": 1}}, + "refTable": "Port", + "refType": "weak"}, + "min": 0, "max": 1}}, "output_vlan": { "type": {"key": {"type": "integer", "minInteger": 1, @@ -217,4 +268,5 @@ "ca_cert": { "type": "string"}, "bootstrap_ca_cert": { - "type": "boolean"}}}}} + "type": "boolean"}}, + "maxRows": 1}}}