]> git.proxmox.com Git - ovs.git/blame - ovn/ovn-nb.ovsschema
Merge "master" into "ovn".
[ovs.git] / ovn / ovn-nb.ovsschema
CommitLineData
fe36184b
BP
1{
2 "name": "OVN_Northbound",
3 "tables": {
4 "Logical_Switch": {
5 "columns": {
6 "router_port": {"type": {"key": {"type": "uuid",
7 "refTable": "Logical_Router_Port",
8 "refType": "strong"},
9 "min": 0, "max": 1}},
10 "external_ids": {
11 "type": {"key": "string", "value": "string",
12 "min": 0, "max": "unlimited"}}}},
13 "Logical_Port": {
14 "columns": {
3e5837b8
JP
15 "lswitch": {"type": {"key": {"type": "uuid",
16 "refTable": "Logical_Switch",
17 "refType": "strong"}}},
fe36184b
BP
18 "name": {"type": "string"},
19 "macs": {"type": {"key": "string",
20 "min": 0,
21 "max": "unlimited"}},
22 "port_security": {"type": {"key": "string",
23 "min": 0,
24 "max": "unlimited"}},
25 "up": {"type": {"key": "boolean", "min": 0, "max": 1}},
26 "external_ids": {
27 "type": {"key": "string", "value": "string",
28 "min": 0, "max": "unlimited"}}},
29 "indexes": [["name"]]},
30 "ACL": {
31 "columns": {
3e5837b8
JP
32 "lswitch": {"type": {"key": {"type": "uuid",
33 "refTable": "Logical_Switch",
34 "refType": "strong"}}},
fe36184b
BP
35 "priority": {"type": {"key": {"type": "integer",
36 "minInteger": 0,
37 "maxInteger": 65535}}},
38 "match": {"type": "string"},
39 "action": {"type": {"key": {"type": "string",
40 "enum": ["set", ["allow", "allow-related", "drop", "reject"]]}}},
41 "log": {"type": "boolean"},
42 "external_ids": {
43 "type": {"key": "string", "value": "string",
44 "min": 0, "max": "unlimited"}}}},
45 "Logical_Router": {
46 "columns": {
47 "ip": {"type": "string"},
48 "default_gw": {"type": {"key": "string", "min": 0, "max": 1}},
49 "external_ids": {
50 "type": {"key": "string", "value": "string",
51 "min": 0, "max": "unlimited"}}}},
52 "Logical_Router_Port": {
53 "columns": {
54 "router": {"type": {"key": {"type": "uuid",
55 "refTable": "Logical_Router",
56 "refType": "strong"}}},
57 "network": {"type": "string"},
58 "mac": {"type": "string"},
59 "external_ids": {
60 "type": {"key": "string", "value": "string",
61 "min": 0, "max": "unlimited"}}}}},
62 "version": "1.0.0"}