]> git.proxmox.com Git - ovs.git/blame - ovn/ovn-nb.ovsschema
ovn-northd: Add load-balancers to gateway routers.
[ovs.git] / ovn / ovn-nb.ovsschema
CommitLineData
fe36184b
BP
1{
2 "name": "OVN_Northbound",
cc4583aa
GS
3 "version": "5.3.2",
4 "cksum": "189899446 9689",
fe36184b 5 "tables": {
fa183acc
BP
6 "NB_Global": {
7 "columns": {
8 "nb_cfg": {"type": {"key": "integer"}},
9 "sb_cfg": {"type": {"key": "integer"}},
10 "hv_cfg": {"type": {"key": "integer"}},
11 "external_ids": {
12 "type": {"key": "string", "value": "string",
13 "min": 0, "max": "unlimited"}}},
14 "maxRows": 1,
15 "isRoot": true},
fe36184b
BP
16 "Logical_Switch": {
17 "columns": {
c7ec1161 18 "name": {"type": "string"},
445a266a 19 "ports": {"type": {"key": {"type": "uuid",
80f408f4 20 "refTable": "Logical_Switch_Port",
445a266a
BP
21 "refType": "strong"},
22 "min": 0,
23 "max": "unlimited"}},
24 "acls": {"type": {"key": {"type": "uuid",
25 "refTable": "ACL",
26 "refType": "strong"},
27 "min": 0,
28 "max": "unlimited"}},
7a15be69
GS
29 "load_balancer": {"type": {"key": {"type": "uuid",
30 "refTable": "Load_Balancer",
31 "refType": "strong"},
32 "min": 0,
61591ad9 33 "max": "unlimited"}},
8639f9be
ND
34 "other_config": {
35 "type": {"key": "string", "value": "string",
36 "min": 0, "max": "unlimited"}},
fe36184b
BP
37 "external_ids": {
38 "type": {"key": "string", "value": "string",
445a266a
BP
39 "min": 0, "max": "unlimited"}}},
40 "isRoot": true},
80f408f4 41 "Logical_Switch_Port": {
fe36184b 42 "columns": {
fe36184b 43 "name": {"type": "string"},
1a76c93e
RB
44 "type": {"type": "string"},
45 "options": {
46 "type": {"key": "string",
47 "value": "string",
48 "min": 0,
49 "max": "unlimited"}},
9fb4636f
GS
50 "parent_name": {"type": {"key": "string", "min": 0, "max": 1}},
51 "tag": {
52 "type": {"key": {"type": "integer",
0a45a9e9 53 "minInteger": 1,
9fb4636f
GS
54 "maxInteger": 4095},
55 "min": 0, "max": 1}},
2fa326a3
BP
56 "addresses": {"type": {"key": "string",
57 "min": 0,
58 "max": "unlimited"}},
8639f9be
ND
59 "dynamic_addresses": {"type": {"key": "string",
60 "min": 0,
61 "max": 1}},
fe36184b
BP
62 "port_security": {"type": {"key": "string",
63 "min": 0,
64 "max": "unlimited"}},
65 "up": {"type": {"key": "boolean", "min": 0, "max": 1}},
95a9a275 66 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
281977f7
NS
67 "dhcpv4_options": {"type": {"key": {"type": "uuid",
68 "refTable": "DHCP_Options",
69 "refType": "weak"},
70 "min": 0,
71 "max": 1}},
33ac3c83
NS
72 "dhcpv6_options": {"type": {"key": {"type": "uuid",
73 "refTable": "DHCP_Options",
74 "refType": "weak"},
75 "min": 0,
76 "max": 1}},
fe36184b
BP
77 "external_ids": {
78 "type": {"key": "string", "value": "string",
79 "min": 0, "max": "unlimited"}}},
445a266a
BP
80 "indexes": [["name"]],
81 "isRoot": false},
ea382567
RB
82 "Address_Set": {
83 "columns": {
84 "name": {"type": "string"},
85 "addresses": {"type": {"key": "string",
86 "min": 0,
87 "max": "unlimited"}},
88 "external_ids": {
89 "type": {"key": "string", "value": "string",
90 "min": 0, "max": "unlimited"}}},
91 "indexes": [["name"]],
92 "isRoot": true},
7a15be69
GS
93 "Load_Balancer": {
94 "columns": {
95 "vips": {
96 "type": {"key": "string", "value": "string",
97 "min": 0, "max": "unlimited"}},
98 "protocol": {
99 "type": {"key": {"type": "string",
100 "enum": ["set", ["tcp", "udp"]]},
101 "min": 0, "max": 1}},
102 "external_ids": {
103 "type": {"key": "string", "value": "string",
104 "min": 0, "max": "unlimited"}}},
105 "isRoot": true},
fe36184b
BP
106 "ACL": {
107 "columns": {
fe36184b 108 "priority": {"type": {"key": {"type": "integer",
6bb4a18e
JP
109 "minInteger": 0,
110 "maxInteger": 32767}}},
1b19bbb4
JP
111 "direction": {"type": {"key": {"type": "string",
112 "enum": ["set", ["from-lport", "to-lport"]]}}},
fe36184b
BP
113 "match": {"type": "string"},
114 "action": {"type": {"key": {"type": "string",
115 "enum": ["set", ["allow", "allow-related", "drop", "reject"]]}}},
116 "log": {"type": "boolean"},
117 "external_ids": {
118 "type": {"key": "string", "value": "string",
445a266a
BP
119 "min": 0, "max": "unlimited"}}},
120 "isRoot": false},
fe36184b
BP
121 "Logical_Router": {
122 "columns": {
de8fe480 123 "name": {"type": "string"},
445a266a
BP
124 "ports": {"type": {"key": {"type": "uuid",
125 "refTable": "Logical_Router_Port",
ae9ba6b2 126 "refType": "strong"},
445a266a
BP
127 "min": 0,
128 "max": "unlimited"}},
28dc3fe9
SR
129 "static_routes": {"type": {"key": {"type": "uuid",
130 "refTable": "Logical_Router_Static_Route",
131 "refType": "strong"},
132 "min": 0,
133 "max": "unlimited"}},
5412db30 134 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
de297547
GS
135 "nat": {"type": {"key": {"type": "uuid",
136 "refTable": "NAT",
137 "refType": "strong"},
138 "min": 0,
139 "max": "unlimited"}},
cc4583aa
GS
140 "load_balancer": {"type": {"key": {"type": "uuid",
141 "refTable": "Load_Balancer",
142 "refType": "strong"},
143 "min": 0,
144 "max": "unlimited"}},
c1645003
GS
145 "options": {
146 "type": {"key": "string",
147 "value": "string",
148 "min": 0,
149 "max": "unlimited"}},
fe36184b
BP
150 "external_ids": {
151 "type": {"key": "string", "value": "string",
445a266a
BP
152 "min": 0, "max": "unlimited"}}},
153 "isRoot": true},
fe36184b
BP
154 "Logical_Router_Port": {
155 "columns": {
eae34849 156 "name": {"type": "string"},
4685e523
JP
157 "networks": {"type": {"key": "string",
158 "min": 1,
159 "max": "unlimited"}},
fe36184b 160 "mac": {"type": "string"},
509afdc3 161 "peer": {"type": {"key": "string", "min": 0, "max": 1}},
8e3eb50e 162 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
fe36184b
BP
163 "external_ids": {
164 "type": {"key": "string", "value": "string",
445a266a 165 "min": 0, "max": "unlimited"}}},
00007447 166 "indexes": [["name"]],
28dc3fe9
SR
167 "isRoot": false},
168 "Logical_Router_Static_Route": {
169 "columns": {
170 "ip_prefix": {"type": "string"},
171 "nexthop": {"type": "string"},
172 "output_port": {"type": {"key": "string", "min": 0, "max": 1}}},
de297547
GS
173 "isRoot": false},
174 "NAT": {
175 "columns": {
176 "external_ip": {"type": "string"},
177 "logical_ip": {"type": "string"},
178 "type": {"type": {"key": {"type": "string",
179 "enum": ["set", ["dnat",
180 "snat",
181 "dnat_and_snat"
182 ]]}}}},
281977f7
NS
183 "isRoot": false},
184 "DHCP_Options": {
185 "columns": {
186 "cidr": {"type": "string"},
187 "options": {"type": {"key": "string", "value": "string",
188 "min": 0, "max": "unlimited"}},
189 "external_ids": {
190 "type": {"key": "string", "value": "string",
191 "min": 0, "max": "unlimited"}}},
192 "isRoot": true}
39595cd3
RB
193 }
194}