{
"name": "OVN_Northbound",
- "version": "1.0.0",
- "cksum": "3156743511 4790",
+ "version": "3.1.0",
+ "cksum": "1426508118 6135",
"tables": {
"Logical_Switch": {
"columns": {
"name": {"type": "string"},
"ports": {"type": {"key": {"type": "uuid",
- "refTable": "Logical_Port",
+ "refTable": "Logical_Switch_Port",
"refType": "strong"},
"min": 0,
"max": "unlimited"}},
"refType": "strong"},
"min": 0,
"max": "unlimited"}},
- "router_port": {"type": {"key": {"type": "uuid",
- "refTable": "Logical_Router_Port",
- "refType": "weak"},
- "min": 0, "max": 1}},
"external_ids": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}}},
"isRoot": true},
- "Logical_Port": {
+ "Logical_Switch_Port": {
"columns": {
"name": {"type": "string"},
"type": {"type": "string"},
"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"}},
"ACL": {
"columns": {
"priority": {"type": {"key": {"type": "integer",
- "minInteger": 1,
- "maxInteger": 65534}}},
+ "minInteger": 0,
+ "maxInteger": 32767}}},
"direction": {"type": {"key": {"type": "string",
"enum": ["set", ["from-lport", "to-lport"]]}}},
"match": {"type": "string"},
"refType": "strong"},
"min": 0,
"max": "unlimited"}},
+ "static_routes": {"type": {"key": {"type": "uuid",
+ "refTable": "Logical_Router_Static_Route",
+ "refType": "strong"},
+ "min": 0,
+ "max": "unlimited"}},
"default_gw": {"type": {"key": "string", "min": 0, "max": 1}},
+ "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
+ "nat": {"type": {"key": {"type": "uuid",
+ "refTable": "NAT",
+ "refType": "strong"},
+ "min": 0,
+ "max": "unlimited"}},
+ "options": {
+ "type": {"key": "string",
+ "value": "string",
+ "min": 0,
+ "max": "unlimited"}},
"external_ids": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}}},
"name": {"type": "string"},
"network": {"type": "string"},
"mac": {"type": "string"},
- "peer": {"type": {"key": {"type": "uuid",
- "refTable": "Logical_Router_Port",
- "refType": "strong"},
- "min": 0, "max": 1}},
+ "peer": {"type": {"key": "string", "min": 0, "max": 1}},
+ "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
"external_ids": {
"type": {"key": "string", "value": "string",
"min": 0, "max": "unlimited"}}},
- "isRoot": false}},
- "version": "1.0.0"}
+ "indexes": [["name"]],
+ "isRoot": false},
+ "Logical_Router_Static_Route": {
+ "columns": {
+ "ip_prefix": {"type": "string"},
+ "nexthop": {"type": "string"},
+ "output_port": {"type": {"key": "string", "min": 0, "max": 1}}},
+ "isRoot": false},
+ "NAT": {
+ "columns": {
+ "external_ip": {"type": "string"},
+ "logical_ip": {"type": "string"},
+ "type": {"type": {"key": {"type": "string",
+ "enum": ["set", ["dnat",
+ "snat",
+ "dnat_and_snat"
+ ]]}}}},
+ "isRoot": false}
+ }
+}