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