]> git.proxmox.com Git - mirror_ovs.git/blame - vswitchd/vswitch.ovsschema
bridge: Generalize CFM rate limiter.
[mirror_ovs.git] / vswitchd / vswitch.ovsschema
CommitLineData
9cb53f26 1{"name": "Open_vSwitch",
fb0b29a3
EJ
2 "version": "3.2.0",
3 "cksum": "3787492311 15165",
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}},
a3acf0b0
JP
170 "other_config": {
171 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
018f1525
BP
172 "statistics": {
173 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
13008eb3 174 "ephemeral": true},
573c1db9
JP
175 "status": {
176 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
e210037e
AE
177 "ephemeral": true},
178 "admin_state": {
179 "type": {"key": {"type": "string",
180 "enum": ["set", ["up", "down"]]},
181 "min": 0, "max": 1},
182 "ephemeral": true},
183 "link_state": {
184 "type": {"key": {"type": "string",
185 "enum": ["set", ["up", "down"]]},
186 "min": 0, "max": 1},
187 "ephemeral": true},
188 "link_speed": {
189 "type": {"key": "integer", "min": 0, "max": 1},
190 "ephemeral": true},
191 "duplex": {
192 "type": {"key": {"type": "string",
193 "enum": ["set", ["half", "full"]]},
194 "min": 0, "max": 1},
195 "ephemeral": true},
196 "mtu": {
197 "type": {"key": "integer", "min": 0, "max": 1},
60bb134a 198 "ephemeral": true}}},
b31bcf60
EJ
199 "Monitor": {
200 "columns": {
201 "mpid": {
202 "type" : {
203 "key": { "type": "integer", "minInteger": 1, "maxInteger": 8191}}},
204 "md_name": {
205 "type" : {
206 "key": { "type": "string", "minLength": 1, "maxLength": 43},
207 "min": 0,
208 "max": 1}},
209 "ma_name": {
210 "type" : {
211 "key": { "type": "string", "minLength": 1, "maxLength": 43},
212 "min": 0,
213 "max": 1}},
214 "interval": {
215 "type": {
216 "key": { "type": "integer", "minInteger": 100},
217 "min": 0,
218 "max": 1}},
219 "remote_mps": {
220 "type": {
221 "key": { "type": "uuid", "refTable": "Maintenance_Point"},
222 "min": 0,
ead91a56 223 "max": "unlimited"}},
b31bcf60
EJ
224 "fault": {
225 "type": {
226 "key": { "type": "boolean"},
227 "min": 0,
228 "max": 1},
229 "ephemeral": true}}},
230 "Maintenance_Point": {
231 "columns": {
232 "mpid": {
233 "type" : {
234 "key": { "type": "integer", "minInteger": 1, "maxInteger": 8191}},
235 "mutable": false},
236 "fault": {
237 "type": {
238 "key": { "type": "boolean"},
239 "min": 0,
240 "max": 1},
241 "ephemeral": true}}},
c1c9c9c4
BP
242 "QoS": {
243 "columns": {
244 "type": {
245 "type": "string"},
246 "queues": {
247 "type": {"key": {"type": "integer",
248 "minInteger": 0,
249 "maxInteger": 4294967295},
250 "value": {"type": "uuid",
251 "refTable": "Queue"},
252 "min": 0, "max": "unlimited"}},
253 "other_config": {
299a244b 254 "type": {"key": "string", "value": "string",
13008eb3
BP
255 "min": 0, "max": "unlimited"}},
256 "external_ids": {
257 "type": {"key": "string", "value": "string",
c5f341ab
BP
258 "min": 0, "max": "unlimited"}}},
259 "isRoot": true},
c1c9c9c4
BP
260 "Queue": {
261 "columns": {
262 "other_config": {
299a244b 263 "type": {"key": "string", "value": "string",
13008eb3
BP
264 "min": 0, "max": "unlimited"}},
265 "external_ids": {
266 "type": {"key": "string", "value": "string",
c5f341ab
BP
267 "min": 0, "max": "unlimited"}}},
268 "isRoot": true},
d879a707 269 "Mirror": {
d879a707
BP
270 "columns": {
271 "name": {
d879a707 272 "type": "string"},
939ff267
BP
273 "select_all": {
274 "type": "boolean"
275 },
d879a707 276 "select_src_port": {
0d0f05b9 277 "type": {"key": {"type": "uuid",
7360012b
BP
278 "refTable": "Port",
279 "refType": "weak"},
0d0f05b9 280 "min": 0, "max": "unlimited"}},
d879a707 281 "select_dst_port": {
0d0f05b9 282 "type": {"key": {"type": "uuid",
7360012b
BP
283 "refTable": "Port",
284 "refType": "weak"},
285 "min": 0, "max": "unlimited"}},
d879a707 286 "select_vlan": {
bd76d25d
BP
287 "type": {"key": {"type": "integer",
288 "minInteger": 0,
289 "maxInteger": 4095},
290 "min": 0, "max": 4096}},
d879a707 291 "output_port": {
0d0f05b9 292 "type": {"key": {"type": "uuid",
7360012b
BP
293 "refTable": "Port",
294 "refType": "weak"},
295 "min": 0, "max": 1}},
d879a707 296 "output_vlan": {
bd76d25d
BP
297 "type": {"key": {"type": "integer",
298 "minInteger": 1,
299 "maxInteger": 4095},
13008eb3
BP
300 "min": 0, "max": 1}},
301 "external_ids": {
302 "type": {"key": "string", "value": "string",
303 "min": 0, "max": "unlimited"}}}},
352cd3f4 304 "NetFlow": {
d879a707 305 "columns": {
76343538 306 "targets": {
89521e3f 307 "type": {"key": {"type": "string"},
bd76d25d 308 "min": 1, "max": "unlimited"}},
d879a707 309 "engine_type": {
bd76d25d
BP
310 "type": {"key": {"type": "integer",
311 "minInteger": 0,
312 "maxInteger": 255},
313 "min": 0, "max": 1}},
d879a707 314 "engine_id": {
bd76d25d
BP
315 "type": {"key": {"type": "integer",
316 "minInteger": 0,
317 "maxInteger": 255},
318 "min": 0, "max": 1}},
d879a707 319 "add_id_to_interface": {
76343538
BP
320 "type": "boolean"},
321 "active_timeout": {
bd76d25d 322 "type": {"key": {"type": "integer",
13008eb3
BP
323 "minInteger": -1}}},
324 "external_ids": {
325 "type": {"key": "string", "value": "string",
326 "min": 0, "max": "unlimited"}}}},
a4af0040 327 "sFlow": {
a4af0040
JP
328 "columns": {
329 "targets": {
a4af0040
JP
330 "type": {"key": "string", "min": 1, "max": "unlimited"}},
331 "sampling": {
a4af0040
JP
332 "type": {"key": "integer", "min": 0, "max": 1}},
333 "polling": {
a4af0040
JP
334 "type": {"key": "integer", "min": 0, "max": 1}},
335 "header": {
a4af0040
JP
336 "type": {"key": "integer", "min": 0, "max": 1}},
337 "agent": {
13008eb3
BP
338 "type": {"key": "string", "min": 0, "max": 1}},
339 "external_ids": {
340 "type": {"key": "string", "value": "string",
341 "min": 0, "max": "unlimited"}}}},
d879a707 342 "Controller": {
d879a707
BP
343 "columns": {
344 "target": {
d879a707
BP
345 "type": "string"},
346 "max_backoff": {
bd76d25d
BP
347 "type": {"key": {"type": "integer",
348 "minInteger": 1000},
349 "min": 0, "max": 1}},
d879a707 350 "inactivity_probe": {
d879a707 351 "type": {"key": "integer", "min": 0, "max": 1}},
d879a707 352 "connection_mode": {
bfc96d9b
BP
353 "type": {"key": {"type": "string",
354 "enum": ["set", ["in-band", "out-of-band"]]},
bd76d25d 355 "min": 0, "max": 1}},
d879a707 356 "local_ip": {
89521e3f 357 "type": {"key": {"type": "string"},
bd76d25d 358 "min": 0, "max": 1}},
d879a707 359 "local_netmask": {
89521e3f 360 "type": {"key": {"type": "string"},
bd76d25d 361 "min": 0, "max": 1}},
d879a707 362 "local_gateway": {
89521e3f 363 "type": {"key": {"type": "string"},
bd76d25d 364 "min": 0, "max": 1}},
d879a707 365 "controller_rate_limit": {
bd76d25d
BP
366 "type": {"key": {"type": "integer",
367 "minInteger": 100},
368 "min": 0, "max": 1}},
d879a707 369 "controller_burst_limit": {
299a244b 370 "type": {"key": {"type": "integer",
bd76d25d 371 "minInteger": 25},
13008eb3
BP
372 "min": 0, "max": 1}},
373 "external_ids": {
374 "type": {"key": "string", "value": "string",
bffc0589
AE
375 "min": 0, "max": "unlimited"}},
376 "is_connected": {
377 "type": "boolean",
378 "ephemeral": true},
379 "role": {
380 "type": {"key": {"type": "string",
381 "enum": ["set", ["other", "master", "slave"]]},
382 "min": 0, "max": 1},
383 "ephemeral": true},
384 "status": {
385 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
386 "ephemeral": true}}},
94db5407
BP
387 "Manager": {
388 "columns": {
389 "target": {
390 "type": "string"},
391 "max_backoff": {
392 "type": {"key": {"type": "integer",
393 "minInteger": 1000},
394 "min": 0, "max": 1}},
395 "inactivity_probe": {
396 "type": {"key": "integer", "min": 0, "max": 1}},
397 "connection_mode": {
398 "type": {"key": {"type": "string",
399 "enum": ["set", ["in-band", "out-of-band"]]},
400 "min": 0, "max": 1}},
401 "external_ids": {
402 "type": {"key": "string", "value": "string",
0b3e7a8b
AE
403 "min": 0, "max": "unlimited"}},
404 "is_connected": {
405 "type": "boolean",
406 "ephemeral": true},
407 "status": {
408 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
409 "ephemeral": true}}},
d879a707 410 "SSL": {
d879a707
BP
411 "columns": {
412 "private_key": {
d879a707
BP
413 "type": "string"},
414 "certificate": {
d879a707
BP
415 "type": "string"},
416 "ca_cert": {
76343538
BP
417 "type": "string"},
418 "bootstrap_ca_cert": {
13008eb3
BP
419 "type": "boolean"},
420 "external_ids": {
421 "type": {"key": "string", "value": "string",
422 "min": 0, "max": "unlimited"}}},
a4230ded 423 "maxRows": 1}}}