X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=ovn%2Fovn-nb.ovsschema;h=9fb8cd10cee9b88bc2235e65e7928bde3870e1b2;hb=600766e877efa2713b9c87d127f7190d8ab48da9;hp=ad675acdf69a425855d65c010f0608a525d645be;hpb=bdd0bd2873415838643e42a1e4c08319fe8d3b8b;p=cascardo%2Fovs.git diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema index ad675acdf..9fb8cd10c 100644 --- a/ovn/ovn-nb.ovsschema +++ b/ovn/ovn-nb.ovsschema @@ -1,62 +1,95 @@ { "name": "OVN_Northbound", + "version": "2.0.1", + "cksum": "660370796 4618", "tables": { "Logical_Switch": { "columns": { - "router_port": {"type": {"key": {"type": "uuid", - "refTable": "Logical_Router_Port", - "refType": "strong"}, - "min": 0, "max": 1}}, + "name": {"type": "string"}, + "ports": {"type": {"key": {"type": "uuid", + "refTable": "Logical_Port", + "refType": "strong"}, + "min": 0, + "max": "unlimited"}}, + "acls": {"type": {"key": {"type": "uuid", + "refTable": "ACL", + "refType": "strong"}, + "min": 0, + "max": "unlimited"}}, "external_ids": { "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}, + "min": 0, "max": "unlimited"}}}, + "isRoot": true}, "Logical_Port": { "columns": { - "switch": {"type": {"key": {"type": "uuid", - "refTable": "Logical_Switch", - "refType": "strong"}}}, "name": {"type": "string"}, - "macs": {"type": {"key": "string", - "min": 0, - "max": "unlimited"}}, + "type": {"type": "string"}, + "options": { + "type": {"key": "string", + "value": "string", + "min": 0, + "max": "unlimited"}}, + "parent_name": {"type": {"key": "string", "min": 0, "max": 1}}, + "tag": { + "type": {"key": {"type": "integer", + "minInteger": 1, + "maxInteger": 4095}, + "min": 0, "max": 1}}, + "addresses": {"type": {"key": "string", + "min": 0, + "max": "unlimited"}}, "port_security": {"type": {"key": "string", "min": 0, "max": "unlimited"}}, "up": {"type": {"key": "boolean", "min": 0, "max": 1}}, + "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}, - "indexes": [["name"]]}, + "indexes": [["name"]], + "isRoot": false}, "ACL": { "columns": { - "switch": {"type": {"key": {"type": "uuid", - "refTable": "Logical_Switch", - "refType": "strong"}}}, "priority": {"type": {"key": {"type": "integer", "minInteger": 0, - "maxInteger": 65535}}}, + "maxInteger": 32767}}}, + "direction": {"type": {"key": {"type": "string", + "enum": ["set", ["from-lport", "to-lport"]]}}}, "match": {"type": "string"}, "action": {"type": {"key": {"type": "string", "enum": ["set", ["allow", "allow-related", "drop", "reject"]]}}}, "log": {"type": "boolean"}, "external_ids": { "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}, + "min": 0, "max": "unlimited"}}}, + "isRoot": false}, "Logical_Router": { "columns": { - "ip": {"type": "string"}, + "name": {"type": "string"}, + "ports": {"type": {"key": {"type": "uuid", + "refTable": "Logical_Router_Port", + "refType": "strong"}, + "min": 0, + "max": "unlimited"}}, "default_gw": {"type": {"key": "string", "min": 0, "max": 1}}, "external_ids": { "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}, + "min": 0, "max": "unlimited"}}}, + "isRoot": true}, "Logical_Router_Port": { "columns": { - "router": {"type": {"key": {"type": "uuid", - "refTable": "Logical_Router", - "refType": "strong"}}}, + "name": {"type": "string"}, "network": {"type": "string"}, "mac": {"type": "string"}, + "peer": {"type": {"key": {"type": "uuid", + "refTable": "Logical_Router_Port", + "refType": "strong"}, + "min": 0, "max": 1}}, + "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}}, "external_ids": { "type": {"key": "string", "value": "string", - "min": 0, "max": "unlimited"}}}}}, - "version": "1.0.0"} + "min": 0, "max": "unlimited"}}}, + "indexes": [["name"]], + "isRoot": false} + } +}