Debian Codegraph @

neutron_taas/tests/unit/services/ovn/ovsdb/schema_files/ovn-nb.ovsschema

raw
1 {
2 "name": "OVN_Northbound",
3 "version": "7.1.0",
4 "cksum": "217362582 33949",
5 "tables": {
6 "NB_Global": {
7 "columns": {
8 "name": {"type": "string"},
9 "nb_cfg": {"type": {"key": "integer"}},
10 "nb_cfg_timestamp": {"type": {"key": "integer"}},
11 "sb_cfg": {"type": {"key": "integer"}},
12 "sb_cfg_timestamp": {"type": {"key": "integer"}},
13 "hv_cfg": {"type": {"key": "integer"}},
14 "hv_cfg_timestamp": {"type": {"key": "integer"}},
15 "external_ids": {
16 "type": {"key": "string", "value": "string",
17 "min": 0, "max": "unlimited"}},
18 "connections": {
19 "type": {"key": {"type": "uuid",
20 "refTable": "Connection"},
21 "min": 0,
22 "max": "unlimited"}},
23 "ssl": {
24 "type": {"key": {"type": "uuid",
25 "refTable": "SSL"},
26 "min": 0, "max": 1}},
27 "options": {
28 "type": {"key": "string", "value": "string",
29 "min": 0, "max": "unlimited"}},
30 "ipsec": {"type": "boolean"}},
31 "maxRows": 1,
32 "isRoot": true},
33 "Copp": {
34 "columns": {
35 "name": {"type": "string"},
36 "meters": {
37 "type": {"key": "string",
38 "value": "string",
39 "min": 0,
40 "max": "unlimited"}},
41 "external_ids": {
42 "type": {"key": "string", "value": "string",
43 "min": 0, "max": "unlimited"}}},
44 "indexes": [["name"]],
45 "isRoot": true},
46 "Logical_Switch": {
47 "columns": {
48 "name": {"type": "string"},
49 "ports": {"type": {"key": {"type": "uuid",
50 "refTable": "Logical_Switch_Port",
51 "refType": "strong"},
52 "min": 0,
53 "max": "unlimited"}},
54 "acls": {"type": {"key": {"type": "uuid",
55 "refTable": "ACL",
56 "refType": "strong"},
57 "min": 0,
58 "max": "unlimited"}},
59 "qos_rules": {"type": {"key": {"type": "uuid",
60 "refTable": "QoS",
61 "refType": "strong"},
62 "min": 0,
63 "max": "unlimited"}},
64 "load_balancer": {"type": {"key": {"type": "uuid",
65 "refTable": "Load_Balancer",
66 "refType": "weak"},
67 "min": 0,
68 "max": "unlimited"}},
69 "load_balancer_group": {
70 "type": {"key": {"type": "uuid",
71 "refTable": "Load_Balancer_Group"},
72 "min": 0,
73 "max": "unlimited"}},
74 "dns_records": {"type": {"key": {"type": "uuid",
75 "refTable": "DNS",
76 "refType": "weak"},
77 "min": 0,
78 "max": "unlimited"}},
79 "copp": {"type": {"key": {"type": "uuid", "refTable": "Copp",
80 "refType": "weak"},
81 "min": 0, "max": 1}},
82 "other_config": {
83 "type": {"key": "string", "value": "string",
84 "min": 0, "max": "unlimited"}},
85 "external_ids": {
86 "type": {"key": "string", "value": "string",
87 "min": 0, "max": "unlimited"}},
88 "forwarding_groups": {
89 "type": {"key": {"type": "uuid",
90 "refTable": "Forwarding_Group",
91 "refType": "strong"},
92 "min": 0, "max": "unlimited"}}},
93 "isRoot": true},
94 "Logical_Switch_Port": {
95 "columns": {
96 "name": {"type": "string"},
97 "type": {"type": "string"},
98 "options": {
99 "type": {"key": "string",
100 "value": "string",
101 "min": 0,
102 "max": "unlimited"}},
103 "parent_name": {"type": {"key": "string", "min": 0, "max": 1}},
104 "tag_request": {
105 "type": {"key": {"type": "integer",
106 "minInteger": 0,
107 "maxInteger": 4095},
108 "min": 0, "max": 1}},
109 "tag": {
110 "type": {"key": {"type": "integer",
111 "minInteger": 1,
112 "maxInteger": 4095},
113 "min": 0, "max": 1}},
114 "addresses": {"type": {"key": "string",
115 "min": 0,
116 "max": "unlimited"}},
117 "dynamic_addresses": {"type": {"key": "string",
118 "min": 0,
119 "max": 1}},
120 "port_security": {"type": {"key": "string",
121 "min": 0,
122 "max": "unlimited"}},
123 "up": {"type": {"key": "boolean", "min": 0, "max": 1}},
124 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
125 "dhcpv4_options": {"type": {"key": {"type": "uuid",
126 "refTable": "DHCP_Options",
127 "refType": "weak"},
128 "min": 0,
129 "max": 1}},
130 "dhcpv6_options": {"type": {"key": {"type": "uuid",
131 "refTable": "DHCP_Options",
132 "refType": "weak"},
133 "min": 0,
134 "max": 1}},
135 "mirror_rules": {"type": {"key": {"type": "uuid",
136 "refTable": "Mirror",
137 "refType": "weak"},
138 "min": 0,
139 "max": "unlimited"}},
140 "ha_chassis_group": {
141 "type": {"key": {"type": "uuid",
142 "refTable": "HA_Chassis_Group",
143 "refType": "strong"},
144 "min": 0,
145 "max": 1}},
146 "external_ids": {
147 "type": {"key": "string", "value": "string",
148 "min": 0, "max": "unlimited"}}},
149 "indexes": [["name"]],
150 "isRoot": false},
151 "Forwarding_Group": {
152 "columns": {
153 "name": {"type": "string"},
154 "vip": {"type": "string"},
155 "vmac": {"type": "string"},
156 "liveness": {"type": "boolean"},
157 "external_ids": {
158 "type": {"key": "string", "value": "string",
159 "min": 0, "max": "unlimited"}},
160 "child_port": {"type": {"key": "string",
161 "min": 1, "max": "unlimited"}}},
162 "isRoot": false},
163 "Address_Set": {
164 "columns": {
165 "name": {"type": "string"},
166 "addresses": {"type": {"key": "string",
167 "min": 0,
168 "max": "unlimited"}},
169 "external_ids": {
170 "type": {"key": "string", "value": "string",
171 "min": 0, "max": "unlimited"}}},
172 "indexes": [["name"]],
173 "isRoot": true},
174 "Port_Group": {
175 "columns": {
176 "name": {"type": "string"},
177 "ports": {"type": {"key": {"type": "uuid",
178 "refTable": "Logical_Switch_Port",
179 "refType": "weak"},
180 "min": 0,
181 "max": "unlimited"}},
182 "acls": {"type": {"key": {"type": "uuid",
183 "refTable": "ACL",
184 "refType": "strong"},
185 "min": 0,
186 "max": "unlimited"}},
187 "external_ids": {
188 "type": {"key": "string", "value": "string",
189 "min": 0, "max": "unlimited"}}},
190 "indexes": [["name"]],
191 "isRoot": true},
192 "Load_Balancer": {
193 "columns": {
194 "name": {"type": "string"},
195 "vips": {
196 "type": {"key": "string", "value": "string",
197 "min": 0, "max": "unlimited"}},
198 "protocol": {
199 "type": {"key": {"type": "string",
200 "enum": ["set", ["tcp", "udp", "sctp"]]},
201 "min": 0, "max": 1}},
202 "health_check": {"type": {
203 "key": {"type": "uuid",
204 "refTable": "Load_Balancer_Health_Check",
205 "refType": "strong"},
206 "min": 0,
207 "max": "unlimited"}},
208 "ip_port_mappings": {
209 "type": {"key": "string", "value": "string",
210 "min": 0, "max": "unlimited"}},
211 "selection_fields": {
212 "type": {"key": {"type": "string",
213 "enum": ["set",
214 ["eth_src", "eth_dst", "ip_src", "ip_dst",
215 "tp_src", "tp_dst"]]},
216 "min": 0, "max": "unlimited"}},
217 "options": {
218 "type": {"key": "string",
219 "value": "string",
220 "min": 0,
221 "max": "unlimited"}},
222 "external_ids": {
223 "type": {"key": "string", "value": "string",
224 "min": 0, "max": "unlimited"}}},
225 "isRoot": true},
226 "Load_Balancer_Group": {
227 "columns": {
228 "name": {"type": "string"},
229 "load_balancer": {"type": {"key": {"type": "uuid",
230 "refTable": "Load_Balancer",
231 "refType": "weak"},
232 "min": 0,
233 "max": "unlimited"}}},
234 "indexes": [["name"]],
235 "isRoot": true},
236 "Load_Balancer_Health_Check": {
237 "columns": {
238 "vip": {"type": "string"},
239 "options": {
240 "type": {"key": "string",
241 "value": "string",
242 "min": 0,
243 "max": "unlimited"}},
244 "external_ids": {
245 "type": {"key": "string", "value": "string",
246 "min": 0, "max": "unlimited"}}},
247 "isRoot": false},
248 "ACL": {
249 "columns": {
250 "name": {"type": {"key": {"type": "string",
251 "maxLength": 63},
252 "min": 0, "max": 1}},
253 "priority": {"type": {"key": {"type": "integer",
254 "minInteger": 0,
255 "maxInteger": 32767}}},
256 "direction": {"type": {"key": {"type": "string",
257 "enum": ["set", ["from-lport", "to-lport"]]}}},
258 "match": {"type": "string"},
259 "action": {"type": {"key": {"type": "string",
260 "enum": ["set",
261 ["allow", "allow-related",
262 "allow-stateless", "drop",
263 "reject", "pass"]]}}},
264 "log": {"type": "boolean"},
265 "severity": {"type": {"key": {"type": "string",
266 "enum": ["set",
267 ["alert", "warning",
268 "notice", "info",
269 "debug"]]},
270 "min": 0, "max": 1}},
271 "meter": {"type": {"key": "string", "min": 0, "max": 1}},
272 "label": {"type": {"key": {"type": "integer",
273 "minInteger": 0,
274 "maxInteger": 4294967295}}},
275 "tier": {"type": {"key": {"type": "integer",
276 "minInteger": 0,
277 "maxInteger": 3}}},
278 "options": {
279 "type": {"key": "string",
280 "value": "string",
281 "min": 0,
282 "max": "unlimited"}},
283 "external_ids": {
284 "type": {"key": "string", "value": "string",
285 "min": 0, "max": "unlimited"}}},
286 "isRoot": false},
287 "QoS": {
288 "columns": {
289 "priority": {"type": {"key": {"type": "integer",
290 "minInteger": 0,
291 "maxInteger": 32767}}},
292 "direction": {"type": {"key": {"type": "string",
293 "enum": ["set", ["from-lport", "to-lport"]]}}},
294 "match": {"type": "string"},
295 "action": {"type": {"key": {"type": "string",
296 "enum": ["set", ["dscp"]]},
297 "value": {"type": "integer",
298 "minInteger": 0,
299 "maxInteger": 63},
300 "min": 0, "max": "unlimited"}},
301 "bandwidth": {"type": {"key": {"type": "string",
302 "enum": ["set", ["rate",
303 "burst"]]},
304 "value": {"type": "integer",
305 "minInteger": 1,
306 "maxInteger": 4294967295},
307 "min": 0, "max": "unlimited"}},
308 "external_ids": {
309 "type": {"key": "string", "value": "string",
310 "min": 0, "max": "unlimited"}}},
311 "isRoot": false},
312 "Mirror": {
313 "columns": {
314 "name": {"type": "string"},
315 "filter": {"type": {"key": {"type": "string",
316 "enum": ["set", ["from-lport",
317 "to-lport",
318 "both"]]}}},
319 "sink":{"type": "string"},
320 "type": {"type": {"key": {"type": "string",
321 "enum": ["set", ["gre",
322 "erspan",
323 "local"]]}}},
324 "index": {"type": "integer"},
325 "external_ids": {
326 "type": {"key": "string", "value": "string",
327 "min": 0, "max": "unlimited"}}},
328 "indexes": [["name"]],
329 "isRoot": true},
330 "Meter": {
331 "columns": {
332 "name": {"type": "string"},
333 "unit": {"type": {"key": {"type": "string",
334 "enum": ["set", ["kbps", "pktps"]]}}},
335 "bands": {"type": {"key": {"type": "uuid",
336 "refTable": "Meter_Band",
337 "refType": "strong"},
338 "min": 1,
339 "max": "unlimited"}},
340 "fair": {"type": {"key": "boolean", "min": 0, "max": 1}},
341 "external_ids": {
342 "type": {"key": "string", "value": "string",
343 "min": 0, "max": "unlimited"}}},
344 "indexes": [["name"]],
345 "isRoot": true},
346 "Meter_Band": {
347 "columns": {
348 "action": {"type": {"key": {"type": "string",
349 "enum": ["set", ["drop"]]}}},
350 "rate": {"type": {"key": {"type": "integer",
351 "minInteger": 1,
352 "maxInteger": 4294967295}}},
353 "burst_size": {"type": {"key": {"type": "integer",
354 "minInteger": 0,
355 "maxInteger": 4294967295}}},
356 "external_ids": {
357 "type": {"key": "string", "value": "string",
358 "min": 0, "max": "unlimited"}}},
359 "isRoot": false},
360 "Logical_Router": {
361 "columns": {
362 "name": {"type": "string"},
363 "ports": {"type": {"key": {"type": "uuid",
364 "refTable": "Logical_Router_Port",
365 "refType": "strong"},
366 "min": 0,
367 "max": "unlimited"}},
368 "static_routes": {"type": {"key": {"type": "uuid",
369 "refTable": "Logical_Router_Static_Route",
370 "refType": "strong"},
371 "min": 0,
372 "max": "unlimited"}},
373 "policies": {
374 "type": {"key": {"type": "uuid",
375 "refTable": "Logical_Router_Policy",
376 "refType": "strong"},
377 "min": 0,
378 "max": "unlimited"}},
379 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
380 "nat": {"type": {"key": {"type": "uuid",
381 "refTable": "NAT",
382 "refType": "strong"},
383 "min": 0,
384 "max": "unlimited"}},
385 "load_balancer": {"type": {"key": {"type": "uuid",
386 "refTable": "Load_Balancer",
387 "refType": "weak"},
388 "min": 0,
389 "max": "unlimited"}},
390 "load_balancer_group": {
391 "type": {"key": {"type": "uuid",
392 "refTable": "Load_Balancer_Group"},
393 "min": 0,
394 "max": "unlimited"}},
395 "copp": {"type": {"key": {"type": "uuid", "refTable": "Copp",
396 "refType": "weak"},
397 "min": 0, "max": 1}},
398 "options": {
399 "type": {"key": "string",
400 "value": "string",
401 "min": 0,
402 "max": "unlimited"}},
403 "external_ids": {
404 "type": {"key": "string", "value": "string",
405 "min": 0, "max": "unlimited"}}},
406 "isRoot": true},
407 "Logical_Router_Port": {
408 "columns": {
409 "name": {"type": "string"},
410 "gateway_chassis": {
411 "type": {"key": {"type": "uuid",
412 "refTable": "Gateway_Chassis",
413 "refType": "strong"},
414 "min": 0,
415 "max": "unlimited"}},
416 "ha_chassis_group": {
417 "type": {"key": {"type": "uuid",
418 "refTable": "HA_Chassis_Group",
419 "refType": "strong"},
420 "min": 0,
421 "max": 1}},
422 "options": {
423 "type": {"key": "string",
424 "value": "string",
425 "min": 0,
426 "max": "unlimited"}},
427 "networks": {"type": {"key": "string",
428 "min": 1,
429 "max": "unlimited"}},
430 "mac": {"type": "string"},
431 "peer": {"type": {"key": "string", "min": 0, "max": 1}},
432 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
433 "ipv6_ra_configs": {
434 "type": {"key": "string", "value": "string",
435 "min": 0, "max": "unlimited"}},
436 "ipv6_prefix": {"type": {"key": "string",
437 "min": 0,
438 "max": "unlimited"}},
439 "external_ids": {
440 "type": {"key": "string", "value": "string",
441 "min": 0, "max": "unlimited"}},
442 "status": {
443 "type": {"key": "string", "value": "string",
444 "min": 0, "max": "unlimited"}}},
445 "indexes": [["name"]],
446 "isRoot": false},
447 "Logical_Router_Static_Route": {
448 "columns": {
449 "route_table": {"type": "string"},
450 "ip_prefix": {"type": "string"},
451 "policy": {"type": {"key": {"type": "string",
452 "enum": ["set", ["src-ip",
453 "dst-ip"]]},
454 "min": 0, "max": 1}},
455 "nexthop": {"type": "string"},
456 "output_port": {"type": {"key": "string", "min": 0, "max": 1}},
457 "bfd": {"type": {"key": {"type": "uuid", "refTable": "BFD",
458 "refType": "weak"},
459 "min": 0,
460 "max": 1}},
461 "options": {
462 "type": {"key": "string", "value": "string",
463 "min": 0, "max": "unlimited"}},
464 "external_ids": {
465 "type": {"key": "string", "value": "string",
466 "min": 0, "max": "unlimited"}}},
467 "isRoot": false},
468 "Logical_Router_Policy": {
469 "columns": {
470 "priority": {"type": {"key": {"type": "integer",
471 "minInteger": 0,
472 "maxInteger": 32767}}},
473 "match": {"type": "string"},
474 "action": {"type": {
475 "key": {"type": "string",
476 "enum": ["set", ["allow", "drop", "reroute"]]}}},
477 "nexthop": {"type": {"key": "string", "min": 0, "max": 1}},
478 "nexthops": {"type": {
479 "key": "string", "min": 0, "max": "unlimited"}},
480 "options": {
481 "type": {"key": "string", "value": "string",
482 "min": 0, "max": "unlimited"}},
483 "external_ids": {
484 "type": {"key": "string", "value": "string",
485 "min": 0, "max": "unlimited"}}},
486 "isRoot": false},
487 "NAT": {
488 "columns": {
489 "external_ip": {"type": "string"},
490 "external_mac": {"type": {"key": "string",
491 "min": 0, "max": 1}},
492 "external_port_range": {"type": "string"},
493 "logical_ip": {"type": "string"},
494 "logical_port": {"type": {"key": "string",
495 "min": 0, "max": 1}},
496 "type": {"type": {"key": {"type": "string",
497 "enum": ["set", ["dnat",
498 "snat",
499 "dnat_and_snat"
500 ]]}}},
501 "allowed_ext_ips": {"type": {
502 "key": {"type": "uuid", "refTable": "Address_Set",
503 "refType": "strong"},
504 "min": 0,
505 "max": 1}},
506 "exempted_ext_ips": {"type": {
507 "key": {"type": "uuid", "refTable": "Address_Set",
508 "refType": "strong"},
509 "min": 0,
510 "max": 1}},
511 "gateway_port": {
512 "type": {"key": {"type": "uuid",
513 "refTable": "Logical_Router_Port",
514 "refType": "weak"},
515 "min": 0,
516 "max": 1}},
517 "options": {"type": {"key": "string", "value": "string",
518 "min": 0, "max": "unlimited"}},
519 "external_ids": {
520 "type": {"key": "string", "value": "string",
521 "min": 0, "max": "unlimited"}}},
522 "isRoot": false},
523 "DHCP_Options": {
524 "columns": {
525 "cidr": {"type": "string"},
526 "options": {"type": {"key": "string", "value": "string",
527 "min": 0, "max": "unlimited"}},
528 "external_ids": {
529 "type": {"key": "string", "value": "string",
530 "min": 0, "max": "unlimited"}}},
531 "isRoot": true},
532 "Connection": {
533 "columns": {
534 "target": {"type": "string"},
535 "max_backoff": {"type": {"key": {"type": "integer",
536 "minInteger": 1000},
537 "min": 0,
538 "max": 1}},
539 "inactivity_probe": {"type": {"key": "integer",
540 "min": 0,
541 "max": 1}},
542 "other_config": {"type": {"key": "string",
543 "value": "string",
544 "min": 0,
545 "max": "unlimited"}},
546 "external_ids": {"type": {"key": "string",
547 "value": "string",
548 "min": 0,
549 "max": "unlimited"}},
550 "is_connected": {"type": "boolean", "ephemeral": true},
551 "status": {"type": {"key": "string",
552 "value": "string",
553 "min": 0,
554 "max": "unlimited"},
555 "ephemeral": true}},
556 "indexes": [["target"]]},
557 "DNS": {
558 "columns": {
559 "records": {"type": {"key": "string",
560 "value": "string",
561 "min": 0,
562 "max": "unlimited"}},
563 "external_ids": {"type": {"key": "string",
564 "value": "string",
565 "min": 0,
566 "max": "unlimited"}}},
567 "isRoot": true},
568 "SSL": {
569 "columns": {
570 "private_key": {"type": "string"},
571 "certificate": {"type": "string"},
572 "ca_cert": {"type": "string"},
573 "bootstrap_ca_cert": {"type": "boolean"},
574 "ssl_protocols": {"type": "string"},
575 "ssl_ciphers": {"type": "string"},
576 "external_ids": {"type": {"key": "string",
577 "value": "string",
578 "min": 0,
579 "max": "unlimited"}}},
580 "maxRows": 1},
581 "Gateway_Chassis": {
582 "columns": {
583 "name": {"type": "string"},
584 "chassis_name": {"type": "string"},
585 "priority": {"type": {"key": {"type": "integer",
586 "minInteger": 0,
587 "maxInteger": 32767}}},
588 "external_ids": {
589 "type": {"key": "string", "value": "string",
590 "min": 0, "max": "unlimited"}},
591 "options": {
592 "type": {"key": "string", "value": "string",
593 "min": 0, "max": "unlimited"}}},
594 "indexes": [["name"]],
595 "isRoot": false},
596 "HA_Chassis": {
597 "columns": {
598 "chassis_name": {"type": "string"},
599 "priority": {"type": {"key": {"type": "integer",
600 "minInteger": 0,
601 "maxInteger": 32767}}},
602 "external_ids": {
603 "type": {"key": "string", "value": "string",
604 "min": 0, "max": "unlimited"}}},
605 "isRoot": false},
606 "HA_Chassis_Group": {
607 "columns": {
608 "name": {"type": "string"},
609 "ha_chassis": {
610 "type": {"key": {"type": "uuid",
611 "refTable": "HA_Chassis",
612 "refType": "strong"},
613 "min": 0,
614 "max": "unlimited"}},
615 "external_ids": {
616 "type": {"key": "string", "value": "string",
617 "min": 0, "max": "unlimited"}}},
618 "indexes": [["name"]],
619 "isRoot": true},
620 "BFD": {
621 "columns": {
622 "logical_port": {"type": "string"},
623 "dst_ip": {"type": "string"},
624 "min_tx": {"type": {"key": {"type": "integer",
625 "minInteger": 1},
626 "min": 0, "max": 1}},
627 "min_rx": {"type": {"key": {"type": "integer"},
628 "min": 0, "max": 1}},
629 "detect_mult": {"type": {"key": {"type": "integer",
630 "minInteger": 1},
631 "min": 0, "max": 1}},
632 "status": {
633 "type": {"key": {"type": "string",
634 "enum": ["set", ["down", "init", "up",
635 "admin_down"]]},
636 "min": 0, "max": 1}},
637 "external_ids": {
638 "type": {"key": "string", "value": "string",
639 "min": 0, "max": "unlimited"}},
640 "options": {
641 "type": {"key": "string", "value": "string",
642 "min": 0, "max": "unlimited"}}},
643 "indexes": [["logical_port", "dst_ip"]],
644 "isRoot": true},
645 "Static_MAC_Binding": {
646 "columns": {
647 "logical_port": {"type": "string"},
648 "ip": {"type": "string"},
649 "mac": {"type": "string"},
650 "override_dynamic_mac": {"type": "boolean"}},
651 "indexes": [["logical_port", "ip"]],
652 "isRoot": true},
653 "Chassis_Template_Var": {
654 "columns": {
655 "chassis": {"type": "string"},
656 "variables": {
657 "type": {"key": "string", "value": "string",
658 "min": 0, "max": "unlimited"}},
659 "external_ids": {
660 "type": {"key": "string", "value": "string",
661 "min": 0, "max": "unlimited"}}},
662 "indexes": [["chassis"]],
663 "isRoot": true}
664 }
665 }