]> git.proxmox.com Git - mirror_ovs.git/blame - vswitchd/vswitch.ovsschema
ipfix: fix segfault for Flow_Sample_Collector_Set without ipfix
[mirror_ovs.git] / vswitchd / vswitch.ovsschema
CommitLineData
9cb53f26 1{"name": "Open_vSwitch",
75fa58f8 2 "version": "7.3.0",
76c4290d 3 "cksum": "2811681289 20311",
d879a707 4 "tables": {
352cd3f4 5 "Open_vSwitch": {
d879a707
BP
6 "columns": {
7 "bridges": {
0d0f05b9
BP
8 "type": {"key": {"type": "uuid",
9 "refTable": "Bridge"},
10 "min": 0, "max": "unlimited"}},
94db5407
BP
11 "manager_options": {
12 "type": {"key": {"type": "uuid",
13 "refTable": "Manager"},
14 "min": 0, "max": "unlimited"}},
d879a707 15 "ssl": {
0d0f05b9
BP
16 "type": {"key": {"type": "uuid",
17 "refTable": "SSL"},
18 "min": 0, "max": 1}},
3fe80505
BP
19 "other_config": {
20 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
f5e7ed5d
JP
21 "external_ids": {
22 "type": {"key": "string", "value": "string",
23 "min": 0, "max": "unlimited"}},
b54e22e9 24 "next_cfg": {
b54e22e9
BP
25 "type": "integer"},
26 "cur_cfg": {
c1c9c9c4 27 "type": "integer"},
018f1525 28 "statistics": {
ce887677 29 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
538c6dfa
BP
30 "ephemeral": true},
31 "ovs_version": {
32 "type": {"key": {"type": "string"},
33 "min": 0, "max": 1}},
8159b984
BP
34 "db_version": {
35 "type": {"key": {"type": "string"},
36 "min": 0, "max": 1}},
538c6dfa
BP
37 "system_type": {
38 "type": {"key": {"type": "string"},
39 "min": 0, "max": 1}},
40 "system_version": {
41 "type": {"key": {"type": "string"},
42 "min": 0, "max": 1}}},
c5f341ab 43 "isRoot": true,
2b7093cd 44 "maxRows": 1},
d879a707 45 "Bridge": {
d879a707
BP
46 "columns": {
47 "name": {
1a9a2e4b
BP
48 "type": "string",
49 "mutable": false},
1a6f1e2a 50 "datapath_type": {
1a6f1e2a 51 "type": "string"},
d879a707 52 "datapath_id": {
093e47f4
BP
53 "type": {"key": "string", "min": 0, "max": 1},
54 "ephemeral": true},
21f7563c
JP
55 "stp_enable": {
56 "type": "boolean"},
d879a707 57 "ports": {
0d0f05b9
BP
58 "type": {"key": {"type": "uuid",
59 "refTable": "Port"},
60 "min": 0, "max": "unlimited"}},
d879a707 61 "mirrors": {
0d0f05b9
BP
62 "type": {"key": {"type": "uuid",
63 "refTable": "Mirror"},
64 "min": 0, "max": "unlimited"}},
d879a707 65 "netflow": {
0d0f05b9
BP
66 "type": {"key": {"type": "uuid",
67 "refTable": "NetFlow"},
68 "min": 0, "max": 1}},
a4af0040 69 "sflow": {
0d0f05b9
BP
70 "type": {"key": {"type": "uuid",
71 "refTable": "sFlow"},
72 "min": 0, "max": 1}},
29089a54
RL
73 "ipfix": {
74 "type": {"key": {"type": "uuid",
75 "refTable": "IPFIX"},
76 "min": 0, "max": 1}},
d879a707 77 "controller": {
0d0f05b9
BP
78 "type": {"key": {"type": "uuid",
79 "refTable": "Controller"},
76ce9432 80 "min": 0, "max": "unlimited"}},
7beaa082
SH
81 "protocols": {
82 "type": {"key": {"type": "string",
75fa58f8
BP
83 "enum": ["set", ["OpenFlow10",
84 "OpenFlow11",
85 "OpenFlow12",
86 "OpenFlow13"]]},
7beaa082 87 "min": 0, "max": "unlimited"}},
31681a5d
JP
88 "fail_mode": {
89 "type": {"key": {"type": "string",
90 "enum": ["set", ["standalone", "secure"]]},
91 "min": 0, "max": 1}},
21f7563c
JP
92 "status": {
93 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
94 "ephemeral": true},
093e47f4 95 "other_config": {
093e47f4 96 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
457e1eb0 97 "external_ids": {
37e7f427
BP
98 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
99 "flood_vlans": {
bd76d25d 100 "type": {"key": {"type": "integer",
299a244b 101 "minInteger": 0,
bd76d25d 102 "maxInteger": 4095},
254750ce
BP
103 "min": 0, "max": 4096}},
104 "flow_tables": {
105 "type": {"key": {"type": "integer",
106 "minInteger": 0,
107 "maxInteger": 254},
108 "value": {"type": "uuid",
109 "refTable": "Flow_Table"},
110 "min": 0, "max": "unlimited"}}},
cc7ecee4 111 "indexes": [["name"]]},
d879a707 112 "Port": {
d879a707
BP
113 "columns": {
114 "name": {
1a9a2e4b
BP
115 "type": "string",
116 "mutable": false},
d879a707 117 "interfaces": {
0d0f05b9
BP
118 "type": {"key": {"type": "uuid",
119 "refTable": "Interface"},
120 "min": 1, "max": "unlimited"}},
d879a707 121 "trunks": {
bd76d25d
BP
122 "type": {"key": {"type": "integer",
123 "minInteger": 0,
124 "maxInteger": 4095},
125 "min": 0, "max": 4096}},
d879a707 126 "tag": {
bd76d25d
BP
127 "type": {"key": {"type": "integer",
128 "minInteger": 0,
129 "maxInteger": 4095},
130 "min": 0, "max": 1}},
ecac4ebf
BP
131 "vlan_mode": {
132 "type": {"key": {"type": "string",
133 "enum": ["set", ["trunk", "access", "native-tagged", "native-untagged"]]},
134 "min": 0, "max": 1}},
c1c9c9c4
BP
135 "qos": {
136 "type": {"key": {"type": "uuid",
137 "refTable": "QoS"},
138 "min": 0, "max": 1}},
76343538 139 "mac": {
89521e3f 140 "type": {"key": {"type": "string"},
bd76d25d 141 "min": 0, "max": 1}},
27dcaa1a 142 "bond_mode": {
be02e7c3 143 "type": {"key": {"type": "string",
df53d41c 144 "enum": ["set", ["balance-tcp", "balance-slb", "active-backup"]]},
be02e7c3 145 "min": 0, "max": 1}},
c25c91fd
EJ
146 "lacp": {
147 "type": {"key": {"type": "string",
148 "enum": ["set", ["active", "passive", "off"]]},
149 "min": 0, "max": 1}},
76343538 150 "bond_updelay": {
d879a707 151 "type": "integer"},
76343538 152 "bond_downdelay": {
76343538
BP
153 "type": "integer"},
154 "bond_fake_iface": {
c75d1511
BP
155 "type": "boolean"},
156 "fake_bridge": {
457e1eb0 157 "type": "boolean"},
21f7563c
JP
158 "status": {
159 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
160 "ephemeral": true},
80740385
JP
161 "statistics": {
162 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
163 "ephemeral": true},
093e47f4 164 "other_config": {
093e47f4 165 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
457e1eb0 166 "external_ids": {
cc7ecee4
BP
167 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}},
168 "indexes": [["name"]]},
d879a707 169 "Interface": {
d879a707
BP
170 "columns": {
171 "name": {
1a9a2e4b
BP
172 "type": "string",
173 "mutable": false},
76343538 174 "type": {
76343538
BP
175 "type": "string"},
176 "options": {
76343538 177 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
d879a707 178 "ingress_policing_rate": {
bd76d25d
BP
179 "type": {"key": {"type": "integer",
180 "minInteger": 0}}},
d879a707 181 "ingress_policing_burst": {
bd76d25d
BP
182 "type": {"key": {"type": "integer",
183 "minInteger": 0}}},
df867eda
JP
184 "mac_in_use": {
185 "type": {"key": {"type": "string"},
186 "min": 0, "max": 1},
187 "ephemeral": true},
76343538 188 "mac": {
89521e3f 189 "type": {"key": {"type": "string"},
bd76d25d 190 "min": 0, "max": 1}},
ea401d9a
NM
191 "ifindex": {
192 "type": {
193 "key": {"type": "integer",
194 "minInteger": 0,
195 "maxInteger": 4294967295},
196 "min": 0,
197 "max": 1},
198 "ephemeral": true},
da50fb9c 199 "external_ids": {
da50fb9c
BP
200 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
201 "ofport": {
558e2cc5 202 "type": {"key": "integer", "min": 0, "max": 1}},
81816a5f
JP
203 "ofport_request": {
204 "type": {
205 "key": {"type": "integer",
206 "minInteger": 1,
207 "maxInteger": 65279},
208 "min": 0,
209 "max": 1}},
ccc09689
EJ
210 "bfd": {
211 "type": {"key": "string", "value": "string",
212 "min": 0, "max": "unlimited"}},
213 "bfd_status": {
214 "type": {"key": "string", "value": "string",
215 "min": 0, "max": "unlimited"}},
93b8df38 216 "cfm_mpid": {
b31bcf60 217 "type": {
348f01e3 218 "key": {"type": "integer"},
93b8df38
EJ
219 "min": 0,
220 "max": 1}},
1de11730
EJ
221 "cfm_remote_mpids": {
222 "type": {
223 "key": {"type": "integer"},
224 "min": 0,
44ff0707
BP
225 "max": "unlimited"},
226 "ephemeral": true},
76c4290d
AW
227 "cfm_flap_count": {
228 "type": {
229 "key": {"type": "integer"},
230 "min": 0,
231 "max": 1}},
93b8df38
EJ
232 "cfm_fault": {
233 "type": {
234 "key": { "type": "boolean"},
b31bcf60 235 "min": 0,
44ff0707
BP
236 "max": 1},
237 "ephemeral": true},
b9380396 238 "cfm_fault_status": {
597f98cc
BP
239 "type": {
240 "key": "string", "min": 0, "max": "unlimited"},
241 "ephemeral": true},
1c0333b6
EJ
242 "cfm_remote_opstate": {
243 "type": {"key": {"type": "string",
244 "enum": ["set", ["up", "down"]]},
245 "min": 0, "max": 1},
246 "ephemeral": true},
3967a833
MM
247 "cfm_health": {
248 "type": {"key": {"type": "integer",
249 "minInteger": 0,
250 "maxInteger": 100},
8a899ac4
BP
251 "min": 0, "max": 1},
252 "ephemeral": true},
a8172aa3
EJ
253 "lacp_current": {
254 "type": {"key": {"type": "boolean"},
44ff0707
BP
255 "min": 0, "max": 1},
256 "ephemeral": true},
a3acf0b0
JP
257 "other_config": {
258 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
018f1525
BP
259 "statistics": {
260 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
13008eb3 261 "ephemeral": true},
573c1db9
JP
262 "status": {
263 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
e210037e
AE
264 "ephemeral": true},
265 "admin_state": {
266 "type": {"key": {"type": "string",
267 "enum": ["set", ["up", "down"]]},
268 "min": 0, "max": 1},
269 "ephemeral": true},
270 "link_state": {
271 "type": {"key": {"type": "string",
272 "enum": ["set", ["up", "down"]]},
273 "min": 0, "max": 1},
274 "ephemeral": true},
65c3058c
EJ
275 "link_resets": {
276 "type": {"key": {"type": "integer"},
277 "min": 0, "max": 1},
278 "ephemeral": true},
e210037e
AE
279 "link_speed": {
280 "type": {"key": "integer", "min": 0, "max": 1},
281 "ephemeral": true},
282 "duplex": {
283 "type": {"key": {"type": "string",
284 "enum": ["set", ["half", "full"]]},
285 "min": 0, "max": 1},
286 "ephemeral": true},
287 "mtu": {
288 "type": {"key": "integer", "min": 0, "max": 1},
cc7ecee4
BP
289 "ephemeral": true}},
290 "indexes": [["name"]]},
254750ce
BP
291 "Flow_Table": {
292 "columns": {
293 "name": {
294 "type": {"key": "string", "min": 0, "max": 1}},
295 "flow_limit": {
296 "type": {"key": {"type": "integer", "minInteger": 0},
297 "min": 0, "max": 1}},
298 "overflow_policy": {
299 "type": {"key": {"type": "string",
300 "enum": ["set", ["refuse", "evict"]]},
301 "min": 0, "max": 1}},
302 "groups": {
303 "type": {"key": "string", "min": 0, "max": "unlimited"}}}},
c1c9c9c4
BP
304 "QoS": {
305 "columns": {
306 "type": {
307 "type": "string"},
308 "queues": {
309 "type": {"key": {"type": "integer",
310 "minInteger": 0,
311 "maxInteger": 4294967295},
312 "value": {"type": "uuid",
313 "refTable": "Queue"},
314 "min": 0, "max": "unlimited"}},
315 "other_config": {
299a244b 316 "type": {"key": "string", "value": "string",
13008eb3
BP
317 "min": 0, "max": "unlimited"}},
318 "external_ids": {
319 "type": {"key": "string", "value": "string",
c5f341ab
BP
320 "min": 0, "max": "unlimited"}}},
321 "isRoot": true},
c1c9c9c4
BP
322 "Queue": {
323 "columns": {
8b36f51e
EJ
324 "dscp": {
325 "type": {"key": {"type": "integer",
326 "minInteger": 0,
327 "maxInteger": 63},
328 "min": 0, "max": 1}},
c1c9c9c4 329 "other_config": {
299a244b 330 "type": {"key": "string", "value": "string",
13008eb3
BP
331 "min": 0, "max": "unlimited"}},
332 "external_ids": {
333 "type": {"key": "string", "value": "string",
c5f341ab
BP
334 "min": 0, "max": "unlimited"}}},
335 "isRoot": true},
d879a707 336 "Mirror": {
d879a707
BP
337 "columns": {
338 "name": {
d879a707 339 "type": "string"},
939ff267 340 "select_all": {
cc7ecee4 341 "type": "boolean"},
d879a707 342 "select_src_port": {
0d0f05b9 343 "type": {"key": {"type": "uuid",
7360012b
BP
344 "refTable": "Port",
345 "refType": "weak"},
0d0f05b9 346 "min": 0, "max": "unlimited"}},
d879a707 347 "select_dst_port": {
0d0f05b9 348 "type": {"key": {"type": "uuid",
7360012b
BP
349 "refTable": "Port",
350 "refType": "weak"},
351 "min": 0, "max": "unlimited"}},
d879a707 352 "select_vlan": {
bd76d25d
BP
353 "type": {"key": {"type": "integer",
354 "minInteger": 0,
355 "maxInteger": 4095},
356 "min": 0, "max": 4096}},
d879a707 357 "output_port": {
0d0f05b9 358 "type": {"key": {"type": "uuid",
7360012b
BP
359 "refTable": "Port",
360 "refType": "weak"},
361 "min": 0, "max": 1}},
d879a707 362 "output_vlan": {
bd76d25d
BP
363 "type": {"key": {"type": "integer",
364 "minInteger": 1,
365 "maxInteger": 4095},
13008eb3 366 "min": 0, "max": 1}},
9d24de3b
JP
367 "statistics": {
368 "type": {"key": "string", "value": "integer",
369 "min": 0, "max": "unlimited"},
370 "ephemeral": true},
13008eb3
BP
371 "external_ids": {
372 "type": {"key": "string", "value": "string",
373 "min": 0, "max": "unlimited"}}}},
352cd3f4 374 "NetFlow": {
d879a707 375 "columns": {
76343538 376 "targets": {
89521e3f 377 "type": {"key": {"type": "string"},
bd76d25d 378 "min": 1, "max": "unlimited"}},
d879a707 379 "engine_type": {
bd76d25d
BP
380 "type": {"key": {"type": "integer",
381 "minInteger": 0,
382 "maxInteger": 255},
383 "min": 0, "max": 1}},
d879a707 384 "engine_id": {
bd76d25d
BP
385 "type": {"key": {"type": "integer",
386 "minInteger": 0,
387 "maxInteger": 255},
388 "min": 0, "max": 1}},
d879a707 389 "add_id_to_interface": {
76343538
BP
390 "type": "boolean"},
391 "active_timeout": {
bd76d25d 392 "type": {"key": {"type": "integer",
13008eb3
BP
393 "minInteger": -1}}},
394 "external_ids": {
395 "type": {"key": "string", "value": "string",
396 "min": 0, "max": "unlimited"}}}},
a4af0040 397 "sFlow": {
a4af0040
JP
398 "columns": {
399 "targets": {
a4af0040
JP
400 "type": {"key": "string", "min": 1, "max": "unlimited"}},
401 "sampling": {
a4af0040
JP
402 "type": {"key": "integer", "min": 0, "max": 1}},
403 "polling": {
a4af0040
JP
404 "type": {"key": "integer", "min": 0, "max": 1}},
405 "header": {
a4af0040
JP
406 "type": {"key": "integer", "min": 0, "max": 1}},
407 "agent": {
13008eb3
BP
408 "type": {"key": "string", "min": 0, "max": 1}},
409 "external_ids": {
410 "type": {"key": "string", "value": "string",
411 "min": 0, "max": "unlimited"}}}},
29089a54
RL
412 "IPFIX": {
413 "columns": {
414 "targets": {
415 "type": {"key": "string", "min": 1, "max": "unlimited"}},
416 "sampling": {
417 "type": {"key": {"type": "integer",
418 "minInteger": 1,
419 "maxInteger": 4294967295},
420 "min": 0, "max": 1}},
421 "obs_domain_id": {
422 "type": {"key": {"type": "integer",
423 "minInteger": 0,
424 "maxInteger": 4294967295},
425 "min": 0, "max": 1}},
426 "obs_point_id": {
427 "type": {"key": {"type": "integer",
428 "minInteger": 0,
429 "maxInteger": 4294967295},
430 "min": 0, "max": 1}},
978427a5
RL
431 "cache_active_timeout": {
432 "type": {"key": {"type": "integer",
433 "minInteger": 0,
434 "maxInteger": 4200},
435 "min": 0, "max": 1}},
436 "cache_max_flows": {
437 "type": {"key": {"type": "integer",
438 "minInteger": 0,
439 "maxInteger": 4294967295},
440 "min": 0, "max": 1}},
29089a54
RL
441 "external_ids": {
442 "type": {"key": "string", "value": "string",
443 "min": 0, "max": "unlimited"}}}},
444 "Flow_Sample_Collector_Set": {
445 "columns": {
446 "id": {
447 "type": {"key": {"type": "integer",
448 "minInteger": 0,
449 "maxInteger": 4294967295},
450 "min": 1, "max": 1}},
451 "bridge": {
452 "type": {"key": {"type": "uuid",
453 "refTable": "Bridge"},
454 "min": 1, "max": 1}},
455 "ipfix": {
456 "type": {"key": {"type": "uuid",
457 "refTable": "IPFIX"},
458 "min": 0, "max": 1}},
459 "external_ids": {
460 "type": {"key": "string", "value": "string",
461 "min": 0, "max": "unlimited"}}},
462 "isRoot": true,
463 "indexes": [["id", "bridge"]]},
d879a707 464 "Controller": {
d879a707
BP
465 "columns": {
466 "target": {
d879a707
BP
467 "type": "string"},
468 "max_backoff": {
bd76d25d
BP
469 "type": {"key": {"type": "integer",
470 "minInteger": 1000},
471 "min": 0, "max": 1}},
d879a707 472 "inactivity_probe": {
d879a707 473 "type": {"key": "integer", "min": 0, "max": 1}},
d879a707 474 "connection_mode": {
bfc96d9b
BP
475 "type": {"key": {"type": "string",
476 "enum": ["set", ["in-band", "out-of-band"]]},
bd76d25d 477 "min": 0, "max": 1}},
d879a707 478 "local_ip": {
89521e3f 479 "type": {"key": {"type": "string"},
bd76d25d 480 "min": 0, "max": 1}},
d879a707 481 "local_netmask": {
89521e3f 482 "type": {"key": {"type": "string"},
bd76d25d 483 "min": 0, "max": 1}},
d879a707 484 "local_gateway": {
89521e3f 485 "type": {"key": {"type": "string"},
bd76d25d 486 "min": 0, "max": 1}},
9886b662
BP
487 "enable_async_messages": {
488 "type": {"key": {"type": "boolean"},
489 "min": 0, "max": 1}},
d879a707 490 "controller_rate_limit": {
bd76d25d
BP
491 "type": {"key": {"type": "integer",
492 "minInteger": 100},
493 "min": 0, "max": 1}},
d879a707 494 "controller_burst_limit": {
299a244b 495 "type": {"key": {"type": "integer",
bd76d25d 496 "minInteger": 25},
13008eb3 497 "min": 0, "max": 1}},
f125905c
MM
498 "other_config": {
499 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
13008eb3
BP
500 "external_ids": {
501 "type": {"key": "string", "value": "string",
bffc0589
AE
502 "min": 0, "max": "unlimited"}},
503 "is_connected": {
504 "type": "boolean",
505 "ephemeral": true},
506 "role": {
507 "type": {"key": {"type": "string",
508 "enum": ["set", ["other", "master", "slave"]]},
509 "min": 0, "max": 1},
510 "ephemeral": true},
511 "status": {
512 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
4b95a9e9 513 "ephemeral": true}}},
94db5407
BP
514 "Manager": {
515 "columns": {
516 "target": {
517 "type": "string"},
518 "max_backoff": {
519 "type": {"key": {"type": "integer",
520 "minInteger": 1000},
521 "min": 0, "max": 1}},
522 "inactivity_probe": {
523 "type": {"key": "integer", "min": 0, "max": 1}},
524 "connection_mode": {
525 "type": {"key": {"type": "string",
526 "enum": ["set", ["in-band", "out-of-band"]]},
527 "min": 0, "max": 1}},
f125905c
MM
528 "other_config": {
529 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
94db5407
BP
530 "external_ids": {
531 "type": {"key": "string", "value": "string",
0b3e7a8b
AE
532 "min": 0, "max": "unlimited"}},
533 "is_connected": {
534 "type": "boolean",
535 "ephemeral": true},
536 "status": {
537 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
cc7ecee4
BP
538 "ephemeral": true}},
539 "indexes": [["target"]]},
d879a707 540 "SSL": {
d879a707
BP
541 "columns": {
542 "private_key": {
d879a707
BP
543 "type": "string"},
544 "certificate": {
d879a707
BP
545 "type": "string"},
546 "ca_cert": {
76343538
BP
547 "type": "string"},
548 "bootstrap_ca_cert": {
13008eb3
BP
549 "type": "boolean"},
550 "external_ids": {
551 "type": {"key": "string", "value": "string",
552 "min": 0, "max": "unlimited"}}},
a4230ded 553 "maxRows": 1}}}