X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fvswitch.ovsschema;h=8b6fb8ba6d5f687a025e56e3e66947a970444c8b;hb=c1c9c9c4b636ab2acf2f75024c282a9a497ca9a9;hp=8661875ff28b0b6b7ef04b3b28fc49208b4ee8e9;hpb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;p=openvswitch diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 8661875f..8b6fb8ba 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,18 @@ "next_cfg": { "type": "integer"}, "cur_cfg": { - "type": "integer"}}, + "type": "integer"}, + "capabilities": { + "type": {"key": "string", + "value": {"type": "uuid", + "refTable": "Capability"}, + "min": 0, "max": "unlimited"}}}, "maxRows": 1}, + "Capability": { + "columns": { + "details": { + "type": {"key": "string", "value": "string", + "min": 0, "max": "unlimited"}}}}, "Bridge": { "columns": { "name": { @@ -52,7 +62,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 +90,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}}, @@ -117,6 +131,25 @@ "ofport": { "type": {"key": "integer", "min": 0, "max": 1}, "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": {