X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fvswitch.ovsschema;h=b38463b0f11d22ee06656339b920581223465aaa;hb=cfcef6b2463a9cf207fdc12953c51043a3a687e8;hp=8661875ff28b0b6b7ef04b3b28fc49208b4ee8e9;hpb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;p=openvswitch diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 8661875f..b38463b0 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -9,7 +9,7 @@ "controller": { "type": {"key": {"type": "uuid", "refTable": "Controller"}, - "min": 0, "max": 1}}, + "min": 0, "max": "unlimited"}}, "managers": { "type": {"key": "string", "min": 0, "max": "unlimited"}}, "ssl": { @@ -22,8 +22,21 @@ "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": { @@ -52,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": { @@ -80,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}}, @@ -116,7 +133,29 @@ "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": {