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