]> git.proxmox.com Git - ovs.git/blame - vswitchd/vswitch.ovsschema
ovsdb-doc: Support per-element documentation of string sets.
[ovs.git] / vswitchd / vswitch.ovsschema
CommitLineData
9cb53f26 1{"name": "Open_vSwitch",
254750ce
BP
2 "version": "6.5.0",
3 "cksum": "2847700438 16419",
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
BP
27 "type": "integer"},
28 "capabilities": {
29 "type": {"key": "string",
30 "value": {"type": "uuid",
31 "refTable": "Capability"},
018f1525
BP
32 "min": 0, "max": "unlimited"}},
33 "statistics": {
ce887677 34 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
538c6dfa
BP
35 "ephemeral": true},
36 "ovs_version": {
37 "type": {"key": {"type": "string"},
38 "min": 0, "max": 1}},
8159b984
BP
39 "db_version": {
40 "type": {"key": {"type": "string"},
41 "min": 0, "max": 1}},
538c6dfa
BP
42 "system_type": {
43 "type": {"key": {"type": "string"},
44 "min": 0, "max": 1}},
45 "system_version": {
46 "type": {"key": {"type": "string"},
47 "min": 0, "max": 1}}},
c5f341ab 48 "isRoot": true,
2b7093cd 49 "maxRows": 1},
c1c9c9c4
BP
50 "Capability": {
51 "columns": {
52 "details": {
53 "type": {"key": "string", "value": "string",
54 "min": 0, "max": "unlimited"}}}},
d879a707 55 "Bridge": {
d879a707
BP
56 "columns": {
57 "name": {
1a9a2e4b
BP
58 "type": "string",
59 "mutable": false},
1a6f1e2a 60 "datapath_type": {
1a6f1e2a 61 "type": "string"},
d879a707 62 "datapath_id": {
093e47f4
BP
63 "type": {"key": "string", "min": 0, "max": 1},
64 "ephemeral": true},
21f7563c
JP
65 "stp_enable": {
66 "type": "boolean"},
d879a707 67 "ports": {
0d0f05b9
BP
68 "type": {"key": {"type": "uuid",
69 "refTable": "Port"},
70 "min": 0, "max": "unlimited"}},
d879a707 71 "mirrors": {
0d0f05b9
BP
72 "type": {"key": {"type": "uuid",
73 "refTable": "Mirror"},
74 "min": 0, "max": "unlimited"}},
d879a707 75 "netflow": {
0d0f05b9
BP
76 "type": {"key": {"type": "uuid",
77 "refTable": "NetFlow"},
78 "min": 0, "max": 1}},
a4af0040 79 "sflow": {
0d0f05b9
BP
80 "type": {"key": {"type": "uuid",
81 "refTable": "sFlow"},
82 "min": 0, "max": 1}},
d879a707 83 "controller": {
0d0f05b9
BP
84 "type": {"key": {"type": "uuid",
85 "refTable": "Controller"},
76ce9432 86 "min": 0, "max": "unlimited"}},
31681a5d
JP
87 "fail_mode": {
88 "type": {"key": {"type": "string",
89 "enum": ["set", ["standalone", "secure"]]},
90 "min": 0, "max": 1}},
21f7563c
JP
91 "status": {
92 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
93 "ephemeral": true},
093e47f4 94 "other_config": {
093e47f4 95 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
457e1eb0 96 "external_ids": {
37e7f427
BP
97 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
98 "flood_vlans": {
bd76d25d 99 "type": {"key": {"type": "integer",
299a244b 100 "minInteger": 0,
bd76d25d 101 "maxInteger": 4095},
254750ce
BP
102 "min": 0, "max": 4096}},
103 "flow_tables": {
104 "type": {"key": {"type": "integer",
105 "minInteger": 0,
106 "maxInteger": 254},
107 "value": {"type": "uuid",
108 "refTable": "Flow_Table"},
109 "min": 0, "max": "unlimited"}}},
cc7ecee4 110 "indexes": [["name"]]},
d879a707 111 "Port": {
d879a707
BP
112 "columns": {
113 "name": {
1a9a2e4b
BP
114 "type": "string",
115 "mutable": false},
d879a707 116 "interfaces": {
0d0f05b9
BP
117 "type": {"key": {"type": "uuid",
118 "refTable": "Interface"},
119 "min": 1, "max": "unlimited"}},
d879a707 120 "trunks": {
bd76d25d
BP
121 "type": {"key": {"type": "integer",
122 "minInteger": 0,
123 "maxInteger": 4095},
124 "min": 0, "max": 4096}},
d879a707 125 "tag": {
bd76d25d
BP
126 "type": {"key": {"type": "integer",
127 "minInteger": 0,
128 "maxInteger": 4095},
129 "min": 0, "max": 1}},
ecac4ebf
BP
130 "vlan_mode": {
131 "type": {"key": {"type": "string",
132 "enum": ["set", ["trunk", "access", "native-tagged", "native-untagged"]]},
133 "min": 0, "max": 1}},
c1c9c9c4
BP
134 "qos": {
135 "type": {"key": {"type": "uuid",
136 "refTable": "QoS"},
137 "min": 0, "max": 1}},
76343538 138 "mac": {
89521e3f 139 "type": {"key": {"type": "string"},
bd76d25d 140 "min": 0, "max": 1}},
27dcaa1a 141 "bond_mode": {
be02e7c3 142 "type": {"key": {"type": "string",
fb0b29a3 143 "enum": ["set", ["balance-tcp", "balance-slb", "active-backup", "stable"]]},
be02e7c3 144 "min": 0, "max": 1}},
c25c91fd
EJ
145 "lacp": {
146 "type": {"key": {"type": "string",
147 "enum": ["set", ["active", "passive", "off"]]},
148 "min": 0, "max": 1}},
76343538 149 "bond_updelay": {
d879a707 150 "type": "integer"},
76343538 151 "bond_downdelay": {
76343538
BP
152 "type": "integer"},
153 "bond_fake_iface": {
c75d1511
BP
154 "type": "boolean"},
155 "fake_bridge": {
457e1eb0 156 "type": "boolean"},
21f7563c
JP
157 "status": {
158 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
159 "ephemeral": true},
80740385
JP
160 "statistics": {
161 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
162 "ephemeral": true},
093e47f4 163 "other_config": {
093e47f4 164 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
457e1eb0 165 "external_ids": {
cc7ecee4
BP
166 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}},
167 "indexes": [["name"]]},
d879a707 168 "Interface": {
d879a707
BP
169 "columns": {
170 "name": {
1a9a2e4b
BP
171 "type": "string",
172 "mutable": false},
76343538 173 "type": {
76343538
BP
174 "type": "string"},
175 "options": {
76343538 176 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
d879a707 177 "ingress_policing_rate": {
bd76d25d
BP
178 "type": {"key": {"type": "integer",
179 "minInteger": 0}}},
d879a707 180 "ingress_policing_burst": {
bd76d25d
BP
181 "type": {"key": {"type": "integer",
182 "minInteger": 0}}},
76343538 183 "mac": {
89521e3f 184 "type": {"key": {"type": "string"},
bd76d25d 185 "min": 0, "max": 1}},
da50fb9c 186 "external_ids": {
da50fb9c
BP
187 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
188 "ofport": {
c75d1511 189 "type": {"key": "integer", "min": 0, "max": 1},
018f1525 190 "ephemeral": true},
93b8df38 191 "cfm_mpid": {
b31bcf60 192 "type": {
348f01e3 193 "key": {"type": "integer"},
93b8df38
EJ
194 "min": 0,
195 "max": 1}},
1de11730
EJ
196 "cfm_remote_mpids": {
197 "type": {
198 "key": {"type": "integer"},
199 "min": 0,
44ff0707
BP
200 "max": "unlimited"},
201 "ephemeral": true},
93b8df38
EJ
202 "cfm_fault": {
203 "type": {
204 "key": { "type": "boolean"},
b31bcf60 205 "min": 0,
44ff0707
BP
206 "max": 1},
207 "ephemeral": true},
a8172aa3
EJ
208 "lacp_current": {
209 "type": {"key": {"type": "boolean"},
44ff0707
BP
210 "min": 0, "max": 1},
211 "ephemeral": true},
a3acf0b0
JP
212 "other_config": {
213 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
018f1525
BP
214 "statistics": {
215 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
13008eb3 216 "ephemeral": true},
573c1db9
JP
217 "status": {
218 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
e210037e
AE
219 "ephemeral": true},
220 "admin_state": {
221 "type": {"key": {"type": "string",
222 "enum": ["set", ["up", "down"]]},
223 "min": 0, "max": 1},
224 "ephemeral": true},
225 "link_state": {
226 "type": {"key": {"type": "string",
227 "enum": ["set", ["up", "down"]]},
228 "min": 0, "max": 1},
229 "ephemeral": true},
65c3058c
EJ
230 "link_resets": {
231 "type": {"key": {"type": "integer"},
232 "min": 0, "max": 1},
233 "ephemeral": true},
e210037e
AE
234 "link_speed": {
235 "type": {"key": "integer", "min": 0, "max": 1},
236 "ephemeral": true},
237 "duplex": {
238 "type": {"key": {"type": "string",
239 "enum": ["set", ["half", "full"]]},
240 "min": 0, "max": 1},
241 "ephemeral": true},
242 "mtu": {
243 "type": {"key": "integer", "min": 0, "max": 1},
cc7ecee4
BP
244 "ephemeral": true}},
245 "indexes": [["name"]]},
254750ce
BP
246 "Flow_Table": {
247 "columns": {
248 "name": {
249 "type": {"key": "string", "min": 0, "max": 1}},
250 "flow_limit": {
251 "type": {"key": {"type": "integer", "minInteger": 0},
252 "min": 0, "max": 1}},
253 "overflow_policy": {
254 "type": {"key": {"type": "string",
255 "enum": ["set", ["refuse", "evict"]]},
256 "min": 0, "max": 1}},
257 "groups": {
258 "type": {"key": "string", "min": 0, "max": "unlimited"}}}},
c1c9c9c4
BP
259 "QoS": {
260 "columns": {
261 "type": {
262 "type": "string"},
263 "queues": {
264 "type": {"key": {"type": "integer",
265 "minInteger": 0,
266 "maxInteger": 4294967295},
267 "value": {"type": "uuid",
268 "refTable": "Queue"},
269 "min": 0, "max": "unlimited"}},
270 "other_config": {
299a244b 271 "type": {"key": "string", "value": "string",
13008eb3
BP
272 "min": 0, "max": "unlimited"}},
273 "external_ids": {
274 "type": {"key": "string", "value": "string",
c5f341ab
BP
275 "min": 0, "max": "unlimited"}}},
276 "isRoot": true},
c1c9c9c4
BP
277 "Queue": {
278 "columns": {
8b36f51e
EJ
279 "dscp": {
280 "type": {"key": {"type": "integer",
281 "minInteger": 0,
282 "maxInteger": 63},
283 "min": 0, "max": 1}},
c1c9c9c4 284 "other_config": {
299a244b 285 "type": {"key": "string", "value": "string",
13008eb3
BP
286 "min": 0, "max": "unlimited"}},
287 "external_ids": {
288 "type": {"key": "string", "value": "string",
c5f341ab
BP
289 "min": 0, "max": "unlimited"}}},
290 "isRoot": true},
d879a707 291 "Mirror": {
d879a707
BP
292 "columns": {
293 "name": {
d879a707 294 "type": "string"},
939ff267 295 "select_all": {
cc7ecee4 296 "type": "boolean"},
d879a707 297 "select_src_port": {
0d0f05b9 298 "type": {"key": {"type": "uuid",
7360012b
BP
299 "refTable": "Port",
300 "refType": "weak"},
0d0f05b9 301 "min": 0, "max": "unlimited"}},
d879a707 302 "select_dst_port": {
0d0f05b9 303 "type": {"key": {"type": "uuid",
7360012b
BP
304 "refTable": "Port",
305 "refType": "weak"},
306 "min": 0, "max": "unlimited"}},
d879a707 307 "select_vlan": {
bd76d25d
BP
308 "type": {"key": {"type": "integer",
309 "minInteger": 0,
310 "maxInteger": 4095},
311 "min": 0, "max": 4096}},
d879a707 312 "output_port": {
0d0f05b9 313 "type": {"key": {"type": "uuid",
7360012b
BP
314 "refTable": "Port",
315 "refType": "weak"},
316 "min": 0, "max": 1}},
d879a707 317 "output_vlan": {
bd76d25d
BP
318 "type": {"key": {"type": "integer",
319 "minInteger": 1,
320 "maxInteger": 4095},
13008eb3 321 "min": 0, "max": 1}},
9d24de3b
JP
322 "statistics": {
323 "type": {"key": "string", "value": "integer",
324 "min": 0, "max": "unlimited"},
325 "ephemeral": true},
13008eb3
BP
326 "external_ids": {
327 "type": {"key": "string", "value": "string",
328 "min": 0, "max": "unlimited"}}}},
352cd3f4 329 "NetFlow": {
d879a707 330 "columns": {
76343538 331 "targets": {
89521e3f 332 "type": {"key": {"type": "string"},
bd76d25d 333 "min": 1, "max": "unlimited"}},
d879a707 334 "engine_type": {
bd76d25d
BP
335 "type": {"key": {"type": "integer",
336 "minInteger": 0,
337 "maxInteger": 255},
338 "min": 0, "max": 1}},
d879a707 339 "engine_id": {
bd76d25d
BP
340 "type": {"key": {"type": "integer",
341 "minInteger": 0,
342 "maxInteger": 255},
343 "min": 0, "max": 1}},
d879a707 344 "add_id_to_interface": {
76343538
BP
345 "type": "boolean"},
346 "active_timeout": {
bd76d25d 347 "type": {"key": {"type": "integer",
13008eb3
BP
348 "minInteger": -1}}},
349 "external_ids": {
350 "type": {"key": "string", "value": "string",
351 "min": 0, "max": "unlimited"}}}},
a4af0040 352 "sFlow": {
a4af0040
JP
353 "columns": {
354 "targets": {
a4af0040
JP
355 "type": {"key": "string", "min": 1, "max": "unlimited"}},
356 "sampling": {
a4af0040
JP
357 "type": {"key": "integer", "min": 0, "max": 1}},
358 "polling": {
a4af0040
JP
359 "type": {"key": "integer", "min": 0, "max": 1}},
360 "header": {
a4af0040
JP
361 "type": {"key": "integer", "min": 0, "max": 1}},
362 "agent": {
13008eb3
BP
363 "type": {"key": "string", "min": 0, "max": 1}},
364 "external_ids": {
365 "type": {"key": "string", "value": "string",
366 "min": 0, "max": "unlimited"}}}},
d879a707 367 "Controller": {
d879a707
BP
368 "columns": {
369 "target": {
d879a707
BP
370 "type": "string"},
371 "max_backoff": {
bd76d25d
BP
372 "type": {"key": {"type": "integer",
373 "minInteger": 1000},
374 "min": 0, "max": 1}},
d879a707 375 "inactivity_probe": {
d879a707 376 "type": {"key": "integer", "min": 0, "max": 1}},
d879a707 377 "connection_mode": {
bfc96d9b
BP
378 "type": {"key": {"type": "string",
379 "enum": ["set", ["in-band", "out-of-band"]]},
bd76d25d 380 "min": 0, "max": 1}},
d879a707 381 "local_ip": {
89521e3f 382 "type": {"key": {"type": "string"},
bd76d25d 383 "min": 0, "max": 1}},
d879a707 384 "local_netmask": {
89521e3f 385 "type": {"key": {"type": "string"},
bd76d25d 386 "min": 0, "max": 1}},
d879a707 387 "local_gateway": {
89521e3f 388 "type": {"key": {"type": "string"},
bd76d25d 389 "min": 0, "max": 1}},
d879a707 390 "controller_rate_limit": {
bd76d25d
BP
391 "type": {"key": {"type": "integer",
392 "minInteger": 100},
393 "min": 0, "max": 1}},
d879a707 394 "controller_burst_limit": {
299a244b 395 "type": {"key": {"type": "integer",
bd76d25d 396 "minInteger": 25},
13008eb3
BP
397 "min": 0, "max": 1}},
398 "external_ids": {
399 "type": {"key": "string", "value": "string",
bffc0589
AE
400 "min": 0, "max": "unlimited"}},
401 "is_connected": {
402 "type": "boolean",
403 "ephemeral": true},
404 "role": {
405 "type": {"key": {"type": "string",
406 "enum": ["set", ["other", "master", "slave"]]},
407 "min": 0, "max": 1},
408 "ephemeral": true},
409 "status": {
410 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
411 "ephemeral": true}}},
94db5407
BP
412 "Manager": {
413 "columns": {
414 "target": {
415 "type": "string"},
416 "max_backoff": {
417 "type": {"key": {"type": "integer",
418 "minInteger": 1000},
419 "min": 0, "max": 1}},
420 "inactivity_probe": {
421 "type": {"key": "integer", "min": 0, "max": 1}},
422 "connection_mode": {
423 "type": {"key": {"type": "string",
424 "enum": ["set", ["in-band", "out-of-band"]]},
425 "min": 0, "max": 1}},
426 "external_ids": {
427 "type": {"key": "string", "value": "string",
0b3e7a8b
AE
428 "min": 0, "max": "unlimited"}},
429 "is_connected": {
430 "type": "boolean",
431 "ephemeral": true},
432 "status": {
433 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
cc7ecee4
BP
434 "ephemeral": true}},
435 "indexes": [["target"]]},
d879a707 436 "SSL": {
d879a707
BP
437 "columns": {
438 "private_key": {
d879a707
BP
439 "type": "string"},
440 "certificate": {
d879a707
BP
441 "type": "string"},
442 "ca_cert": {
76343538
BP
443 "type": "string"},
444 "bootstrap_ca_cert": {
13008eb3
BP
445 "type": "boolean"},
446 "external_ids": {
447 "type": {"key": "string", "value": "string",
448 "min": 0, "max": "unlimited"}}},
a4230ded 449 "maxRows": 1}}}