]> git.proxmox.com Git - ovs.git/blame - ovn/ovn-nb.ovsschema
fail-open: Refactor NORMAL flow add/del
[ovs.git] / ovn / ovn-nb.ovsschema
CommitLineData
fe36184b
BP
1{
2 "name": "OVN_Northbound",
66d89287
GL
3 "version": "5.10.0",
4 "cksum": "626737541 17810",
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",
821302cf
LR
13 "min": 0, "max": "unlimited"}},
14 "connections": {
15 "type": {"key": {"type": "uuid",
16 "refTable": "Connection"},
17 "min": 0,
18 "max": "unlimited"}},
19 "ssl": {
20 "type": {"key": {"type": "uuid",
21 "refTable": "SSL"},
22 "min": 0, "max": 1}}},
fa183acc
BP
23 "maxRows": 1,
24 "isRoot": true},
fe36184b
BP
25 "Logical_Switch": {
26 "columns": {
c7ec1161 27 "name": {"type": "string"},
445a266a 28 "ports": {"type": {"key": {"type": "uuid",
80f408f4 29 "refTable": "Logical_Switch_Port",
445a266a
BP
30 "refType": "strong"},
31 "min": 0,
32 "max": "unlimited"}},
33 "acls": {"type": {"key": {"type": "uuid",
34 "refTable": "ACL",
35 "refType": "strong"},
36 "min": 0,
37 "max": "unlimited"}},
1a03fc7d
BS
38 "qos_rules": {"type": {"key": {"type": "uuid",
39 "refTable": "QoS",
40 "refType": "strong"},
41 "min": 0,
42 "max": "unlimited"}},
7a15be69
GS
43 "load_balancer": {"type": {"key": {"type": "uuid",
44 "refTable": "Load_Balancer",
45 "refType": "strong"},
46 "min": 0,
61591ad9 47 "max": "unlimited"}},
302eda27
NS
48 "dns_records": {"type": {"key": {"type": "uuid",
49 "refTable": "DNS",
50 "refType": "weak"},
51 "min": 0,
52 "max": "unlimited"}},
8639f9be
ND
53 "other_config": {
54 "type": {"key": "string", "value": "string",
55 "min": 0, "max": "unlimited"}},
fe36184b
BP
56 "external_ids": {
57 "type": {"key": "string", "value": "string",
445a266a
BP
58 "min": 0, "max": "unlimited"}}},
59 "isRoot": true},
80f408f4 60 "Logical_Switch_Port": {
fe36184b 61 "columns": {
fe36184b 62 "name": {"type": "string"},
1a76c93e
RB
63 "type": {"type": "string"},
64 "options": {
65 "type": {"key": "string",
66 "value": "string",
67 "min": 0,
68 "max": "unlimited"}},
9fb4636f 69 "parent_name": {"type": {"key": "string", "min": 0, "max": 1}},
b511690b
GS
70 "tag_request": {
71 "type": {"key": {"type": "integer",
72 "minInteger": 0,
73 "maxInteger": 4095},
74 "min": 0, "max": 1}},
9fb4636f
GS
75 "tag": {
76 "type": {"key": {"type": "integer",
0a45a9e9 77 "minInteger": 1,
9fb4636f
GS
78 "maxInteger": 4095},
79 "min": 0, "max": 1}},
2fa326a3
BP
80 "addresses": {"type": {"key": "string",
81 "min": 0,
82 "max": "unlimited"}},
8639f9be
ND
83 "dynamic_addresses": {"type": {"key": "string",
84 "min": 0,
85 "max": 1}},
fe36184b
BP
86 "port_security": {"type": {"key": "string",
87 "min": 0,
88 "max": "unlimited"}},
89 "up": {"type": {"key": "boolean", "min": 0, "max": 1}},
95a9a275 90 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
281977f7
NS
91 "dhcpv4_options": {"type": {"key": {"type": "uuid",
92 "refTable": "DHCP_Options",
93 "refType": "weak"},
94 "min": 0,
95 "max": 1}},
33ac3c83
NS
96 "dhcpv6_options": {"type": {"key": {"type": "uuid",
97 "refTable": "DHCP_Options",
98 "refType": "weak"},
99 "min": 0,
100 "max": 1}},
fe36184b
BP
101 "external_ids": {
102 "type": {"key": "string", "value": "string",
103 "min": 0, "max": "unlimited"}}},
445a266a
BP
104 "indexes": [["name"]],
105 "isRoot": false},
ea382567
RB
106 "Address_Set": {
107 "columns": {
108 "name": {"type": "string"},
109 "addresses": {"type": {"key": "string",
110 "min": 0,
111 "max": "unlimited"}},
112 "external_ids": {
113 "type": {"key": "string", "value": "string",
114 "min": 0, "max": "unlimited"}}},
115 "indexes": [["name"]],
116 "isRoot": true},
7a15be69
GS
117 "Load_Balancer": {
118 "columns": {
d383eed5 119 "name": {"type": "string"},
7a15be69
GS
120 "vips": {
121 "type": {"key": "string", "value": "string",
122 "min": 0, "max": "unlimited"}},
123 "protocol": {
124 "type": {"key": {"type": "string",
125 "enum": ["set", ["tcp", "udp"]]},
126 "min": 0, "max": 1}},
127 "external_ids": {
128 "type": {"key": "string", "value": "string",
129 "min": 0, "max": "unlimited"}}},
130 "isRoot": true},
fe36184b
BP
131 "ACL": {
132 "columns": {
d383eed5
JP
133 "name": {"type": {"key": {"type": "string",
134 "maxLength": 63},
135 "min": 0, "max": 1}},
fe36184b 136 "priority": {"type": {"key": {"type": "integer",
6bb4a18e
JP
137 "minInteger": 0,
138 "maxInteger": 32767}}},
1b19bbb4
JP
139 "direction": {"type": {"key": {"type": "string",
140 "enum": ["set", ["from-lport", "to-lport"]]}}},
fe36184b
BP
141 "match": {"type": "string"},
142 "action": {"type": {"key": {"type": "string",
143 "enum": ["set", ["allow", "allow-related", "drop", "reject"]]}}},
144 "log": {"type": "boolean"},
d383eed5
JP
145 "severity": {"type": {"key": {"type": "string",
146 "enum": ["set",
147 ["alert", "warning",
148 "notice", "info",
149 "debug"]]},
150 "min": 0, "max": 1}},
fe36184b
BP
151 "external_ids": {
152 "type": {"key": "string", "value": "string",
445a266a
BP
153 "min": 0, "max": "unlimited"}}},
154 "isRoot": false},
1a03fc7d
BS
155 "QoS": {
156 "columns": {
157 "priority": {"type": {"key": {"type": "integer",
158 "minInteger": 0,
159 "maxInteger": 32767}}},
160 "direction": {"type": {"key": {"type": "string",
161 "enum": ["set", ["from-lport", "to-lport"]]}}},
162 "match": {"type": "string"},
163 "action": {"type": {"key": {"type": "string",
164 "enum": ["set", ["dscp"]]},
165 "value": {"type": "integer",
166 "minInteger": 0,
66d89287
GL
167 "maxInteger": 63},
168 "min": 0, "max": "unlimited"}},
169 "bandwidth": {"type": {"key": {"type": "string",
170 "enum": ["set", ["rate",
171 "burst"]]},
172 "value": {"type": "integer",
173 "minInteger": 1,
174 "maxInteger": 4294967295},
175 "min": 0, "max": "unlimited"}},
1a03fc7d
BS
176 "external_ids": {
177 "type": {"key": "string", "value": "string",
178 "min": 0, "max": "unlimited"}}},
179 "isRoot": false},
fe36184b
BP
180 "Logical_Router": {
181 "columns": {
de8fe480 182 "name": {"type": "string"},
445a266a
BP
183 "ports": {"type": {"key": {"type": "uuid",
184 "refTable": "Logical_Router_Port",
ae9ba6b2 185 "refType": "strong"},
445a266a
BP
186 "min": 0,
187 "max": "unlimited"}},
28dc3fe9
SR
188 "static_routes": {"type": {"key": {"type": "uuid",
189 "refTable": "Logical_Router_Static_Route",
190 "refType": "strong"},
191 "min": 0,
192 "max": "unlimited"}},
5412db30 193 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
de297547
GS
194 "nat": {"type": {"key": {"type": "uuid",
195 "refTable": "NAT",
196 "refType": "strong"},
197 "min": 0,
198 "max": "unlimited"}},
cc4583aa
GS
199 "load_balancer": {"type": {"key": {"type": "uuid",
200 "refTable": "Load_Balancer",
201 "refType": "strong"},
202 "min": 0,
203 "max": "unlimited"}},
c1645003
GS
204 "options": {
205 "type": {"key": "string",
206 "value": "string",
207 "min": 0,
208 "max": "unlimited"}},
fe36184b
BP
209 "external_ids": {
210 "type": {"key": "string", "value": "string",
445a266a
BP
211 "min": 0, "max": "unlimited"}}},
212 "isRoot": true},
fe36184b
BP
213 "Logical_Router_Port": {
214 "columns": {
eae34849 215 "name": {"type": "string"},
dc65a07c 216 "gateway_chassis": {
217 "type": {"key": {"type": "uuid",
218 "refTable": "Gateway_Chassis",
219 "refType": "strong"},
220 "min": 0,
221 "max": "unlimited"}},
41a15b71
MS
222 "options": {
223 "type": {"key": "string",
224 "value": "string",
225 "min": 0,
226 "max": "unlimited"}},
4685e523
JP
227 "networks": {"type": {"key": "string",
228 "min": 1,
229 "max": "unlimited"}},
fe36184b 230 "mac": {"type": "string"},
509afdc3 231 "peer": {"type": {"key": "string", "min": 0, "max": 1}},
8e3eb50e 232 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
4364646c
ZKL
233 "ipv6_ra_configs": {
234 "type": {"key": "string", "value": "string",
235 "min": 0, "max": "unlimited"}},
fe36184b
BP
236 "external_ids": {
237 "type": {"key": "string", "value": "string",
445a266a 238 "min": 0, "max": "unlimited"}}},
00007447 239 "indexes": [["name"]],
28dc3fe9
SR
240 "isRoot": false},
241 "Logical_Router_Static_Route": {
242 "columns": {
243 "ip_prefix": {"type": "string"},
440a9f4b
GS
244 "policy": {"type": {"key": {"type": "string",
245 "enum": ["set", ["src-ip",
246 "dst-ip"]]},
247 "min": 0, "max": 1}},
28dc3fe9 248 "nexthop": {"type": "string"},
c4c1e1a5
LAG
249 "output_port": {"type": {"key": "string", "min": 0, "max": 1}},
250 "external_ids": {
251 "type": {"key": "string", "value": "string",
252 "min": 0, "max": "unlimited"}}},
de297547
GS
253 "isRoot": false},
254 "NAT": {
255 "columns": {
256 "external_ip": {"type": "string"},
06a26dd2
MS
257 "external_mac": {"type": {"key": "string",
258 "min": 0, "max": 1}},
de297547 259 "logical_ip": {"type": "string"},
06a26dd2
MS
260 "logical_port": {"type": {"key": "string",
261 "min": 0, "max": 1}},
de297547
GS
262 "type": {"type": {"key": {"type": "string",
263 "enum": ["set", ["dnat",
264 "snat",
265 "dnat_and_snat"
c4c1e1a5
LAG
266 ]]}}},
267 "external_ids": {
268 "type": {"key": "string", "value": "string",
269 "min": 0, "max": "unlimited"}}},
281977f7
NS
270 "isRoot": false},
271 "DHCP_Options": {
272 "columns": {
273 "cidr": {"type": "string"},
274 "options": {"type": {"key": "string", "value": "string",
275 "min": 0, "max": "unlimited"}},
276 "external_ids": {
277 "type": {"key": "string", "value": "string",
278 "min": 0, "max": "unlimited"}}},
821302cf
LR
279 "isRoot": true},
280 "Connection": {
281 "columns": {
282 "target": {"type": "string"},
283 "max_backoff": {"type": {"key": {"type": "integer",
284 "minInteger": 1000},
285 "min": 0,
286 "max": 1}},
287 "inactivity_probe": {"type": {"key": "integer",
288 "min": 0,
289 "max": 1}},
290 "other_config": {"type": {"key": "string",
291 "value": "string",
292 "min": 0,
293 "max": "unlimited"}},
294 "external_ids": {"type": {"key": "string",
295 "value": "string",
296 "min": 0,
297 "max": "unlimited"}},
298 "is_connected": {"type": "boolean", "ephemeral": true},
299 "status": {"type": {"key": "string",
300 "value": "string",
301 "min": 0,
302 "max": "unlimited"},
303 "ephemeral": true}},
304 "indexes": [["target"]]},
302eda27
NS
305 "DNS": {
306 "columns": {
307 "records": {"type": {"key": "string",
308 "value": "string",
309 "min": 0,
310 "max": "unlimited"}},
311 "external_ids": {"type": {"key": "string",
312 "value": "string",
313 "min": 0,
314 "max": "unlimited"}}},
315 "isRoot": true},
821302cf
LR
316 "SSL": {
317 "columns": {
318 "private_key": {"type": "string"},
319 "certificate": {"type": "string"},
320 "ca_cert": {"type": "string"},
321 "bootstrap_ca_cert": {"type": "boolean"},
51af591b
LR
322 "ssl_protocols": {"type": "string"},
323 "ssl_ciphers": {"type": "string"},
821302cf
LR
324 "external_ids": {"type": {"key": "string",
325 "value": "string",
326 "min": 0,
327 "max": "unlimited"}}},
dc65a07c 328 "maxRows": 1},
329 "Gateway_Chassis": {
330 "columns": {
331 "name": {"type": "string"},
332 "chassis_name": {"type": "string"},
333 "priority": {"type": {"key": {"type": "integer",
334 "minInteger": 0,
335 "maxInteger": 32767}}},
336 "external_ids": {
337 "type": {"key": "string", "value": "string",
338 "min": 0, "max": "unlimited"}},
339 "options": {
340 "type": {"key": "string", "value": "string",
341 "min": 0, "max": "unlimited"}}},
342 "indexes": [["name"]],
343 "isRoot": false}}
344 }