X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fvswitch.ovsschema;h=9d91b0f9a0140407f531ba16c8387973419293d5;hb=69feaa6f1b37d6c6787f815b92a0ab65f5d8bbb4;hp=52573e51650119130de069ee560a433e8b5feb5f;hpb=b31bcf60cf4fbabca0182196c97b3004e42f53e5;p=openvswitch diff --git a/vswitchd/vswitch.ovsschema b/vswitchd/vswitch.ovsschema index 52573e51..9d91b0f9 100644 --- a/vswitchd/vswitch.ovsschema +++ b/vswitchd/vswitch.ovsschema @@ -1,4 +1,6 @@ {"name": "Open_vSwitch", + "version": "6.4.0", + "cksum": "923041702 15687", "tables": { "Open_vSwitch": { "columns": { @@ -6,8 +8,6 @@ "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"}, @@ -16,6 +16,8 @@ "type": {"key": {"type": "uuid", "refTable": "SSL"}, "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"}}, @@ -30,7 +32,20 @@ "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}}}, + "isRoot": true, "maxRows": 1}, "Capability": { "columns": { @@ -47,6 +62,8 @@ "datapath_id": { "type": {"key": "string", "min": 0, "max": 1}, "ephemeral": true}, + "stp_enable": { + "type": "boolean"}, "ports": { "type": {"key": {"type": "uuid", "refTable": "Port"}, @@ -71,6 +88,9 @@ "type": {"key": {"type": "string", "enum": ["set", ["standalone", "secure"]]}, "min": 0, "max": 1}}, + "status": { + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, + "ephemeral": true}, "other_config": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "external_ids": { @@ -79,7 +99,8 @@ "type": {"key": {"type": "integer", "minInteger": 0, "maxInteger": 4095}, - "min": 0, "max": 4096}}}}, + "min": 0, "max": 4096}}}, + "indexes": [["name"]]}, "Port": { "columns": { "name": { @@ -99,6 +120,10 @@ "minInteger": 0, "maxInteger": 4095}, "min": 0, "max": 1}}, + "vlan_mode": { + "type": {"key": {"type": "string", + "enum": ["set", ["trunk", "access", "native-tagged", "native-untagged"]]}, + "min": 0, "max": 1}}, "qos": { "type": {"key": {"type": "uuid", "refTable": "QoS"}, @@ -106,6 +131,14 @@ "mac": { "type": {"key": {"type": "string"}, "min": 0, "max": 1}}, + "bond_mode": { + "type": {"key": {"type": "string", + "enum": ["set", ["balance-tcp", "balance-slb", "active-backup", "stable"]]}, + "min": 0, "max": 1}}, + "lacp": { + "type": {"key": {"type": "string", + "enum": ["set", ["active", "passive", "off"]]}, + "min": 0, "max": 1}}, "bond_updelay": { "type": "integer"}, "bond_downdelay": { @@ -114,10 +147,17 @@ "type": "boolean"}, "fake_bridge": { "type": "boolean"}, + "status": { + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, + "ephemeral": true}, + "statistics": { + "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"}, + "ephemeral": true}, "other_config": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "external_ids": { - "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}}, + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}, + "indexes": [["name"]]}, "Interface": { "columns": { "name": { @@ -141,11 +181,27 @@ "ofport": { "type": {"key": "integer", "min": 0, "max": 1}, "ephemeral": true}, - "monitor": { + "cfm_mpid": { "type": { - "key": {"type": "uuid", "refTable": "Monitor"}, + "key": {"type": "integer"}, "min": 0, "max": 1}}, + "cfm_remote_mpids": { + "type": { + "key": {"type": "integer"}, + "min": 0, + "max": "unlimited"}, + "ephemeral": true}, + "cfm_fault": { + "type": { + "key": { "type": "boolean"}, + "min": 0, + "max": 1}, + "ephemeral": true}, + "lacp_current": { + "type": {"key": {"type": "boolean"}, + "min": 0, "max": 1}, + "ephemeral": true}, "other_config": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}, "statistics": { @@ -153,63 +209,33 @@ "ephemeral": true}, "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"}, + "admin_state": { + "type": {"key": {"type": "string", + "enum": ["set", ["up", "down"]]}, + "min": 0, "max": 1}, "ephemeral": true}, - "unexpected_remote_maids": { - "type": { - "key": "string", - "min": 0, - "max": "unlimited"}, + "link_state": { + "type": {"key": {"type": "string", + "enum": ["set", ["up", "down"]]}, + "min": 0, "max": 1}, "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}}}, + "link_resets": { + "type": {"key": {"type": "integer"}, + "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}}, + "indexes": [["name"]]}, "QoS": { "columns": { "type": { @@ -226,22 +252,28 @@ "min": 0, "max": "unlimited"}}, "external_ids": { "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}, + "min": 0, "max": "unlimited"}}}, + "isRoot": true}, "Queue": { "columns": { + "dscp": { + "type": {"key": {"type": "integer", + "minInteger": 0, + "maxInteger": 63}, + "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"}}}}, + "min": 0, "max": "unlimited"}}}, + "isRoot": true}, "Mirror": { "columns": { "name": { "type": "string"}, "select_all": { - "type": "boolean" - }, + "type": "boolean"}, "select_src_port": { "type": {"key": {"type": "uuid", "refTable": "Port", @@ -267,6 +299,10 @@ "minInteger": 1, "maxInteger": 4095}, "min": 0, "max": 1}}, + "statistics": { + "type": {"key": "string", "value": "integer", + "min": 0, "max": "unlimited"}, + "ephemeral": true}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}}, @@ -318,10 +354,6 @@ "min": 0, "max": 1}}, "inactivity_probe": { "type": {"key": "integer", "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"]]}, @@ -345,7 +377,18 @@ "min": 0, "max": 1}}, "external_ids": { "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}, + "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": { @@ -362,7 +405,14 @@ "min": 0, "max": 1}}, "external_ids": { "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}, + "min": 0, "max": "unlimited"}}, + "is_connected": { + "type": "boolean", + "ephemeral": true}, + "status": { + "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}, + "ephemeral": true}}, + "indexes": [["target"]]}, "SSL": { "columns": { "private_key": {