{
"name": "OVN_Northbound",
+ "version": "2.0.1",
+ "cksum": "660370796 4618",
"tables": {
"Logical_Switch": {
"columns": {
"name": {"type": "string"},
- "router_port": {"type": {"key": {"type": "uuid",
- "refTable": "Logical_Router_Port",
- "refType": "strong"},
- "min": 0, "max": 1}},
+ "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": {
- "lswitch": {"type": {"key": {"type": "uuid",
- "refTable": "Logical_Switch",
- "refType": "strong"}}},
"name": {"type": "string"},
+ "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": 0,
+ "minInteger": 1,
"maxInteger": 4095},
"min": 0, "max": 1}},
- "macs": {"type": {"key": "string",
- "min": 0,
- "max": "unlimited"}},
+ "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": {
- "lswitch": {"type": {"key": {"type": "uuid",
- "refTable": "Logical_Switch",
- "refType": "strong"}}},
"priority": {"type": {"key": {"type": "integer",
- "minInteger": 1,
- "maxInteger": 65535}}},
+ "minInteger": 0,
+ "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}
+ }
+}