]> git.proxmox.com Git - mirror_ovs.git/blame - vswitchd/vswitch.ovsschema
bitmap: New function to allocate a bitmap initialized to all-1-bits.
[mirror_ovs.git] / vswitchd / vswitch.ovsschema
CommitLineData
9cb53f26 1{"name": "Open_vSwitch",
144216a3 2 "version": "6.0.0",
1de11730 3 "cksum": "3439303729 14480",
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},
d879a707 65 "ports": {
0d0f05b9
BP
66 "type": {"key": {"type": "uuid",
67 "refTable": "Port"},
68 "min": 0, "max": "unlimited"}},
d879a707 69 "mirrors": {
0d0f05b9
BP
70 "type": {"key": {"type": "uuid",
71 "refTable": "Mirror"},
72 "min": 0, "max": "unlimited"}},
d879a707 73 "netflow": {
0d0f05b9
BP
74 "type": {"key": {"type": "uuid",
75 "refTable": "NetFlow"},
76 "min": 0, "max": 1}},
a4af0040 77 "sflow": {
0d0f05b9
BP
78 "type": {"key": {"type": "uuid",
79 "refTable": "sFlow"},
80 "min": 0, "max": 1}},
d879a707 81 "controller": {
0d0f05b9
BP
82 "type": {"key": {"type": "uuid",
83 "refTable": "Controller"},
76ce9432 84 "min": 0, "max": "unlimited"}},
31681a5d
JP
85 "fail_mode": {
86 "type": {"key": {"type": "string",
87 "enum": ["set", ["standalone", "secure"]]},
88 "min": 0, "max": 1}},
093e47f4 89 "other_config": {
093e47f4 90 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
457e1eb0 91 "external_ids": {
37e7f427
BP
92 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
93 "flood_vlans": {
bd76d25d 94 "type": {"key": {"type": "integer",
299a244b 95 "minInteger": 0,
bd76d25d 96 "maxInteger": 4095},
cc7ecee4
BP
97 "min": 0, "max": 4096}}},
98 "indexes": [["name"]]},
d879a707 99 "Port": {
d879a707
BP
100 "columns": {
101 "name": {
1a9a2e4b
BP
102 "type": "string",
103 "mutable": false},
d879a707 104 "interfaces": {
0d0f05b9
BP
105 "type": {"key": {"type": "uuid",
106 "refTable": "Interface"},
107 "min": 1, "max": "unlimited"}},
d879a707 108 "trunks": {
bd76d25d
BP
109 "type": {"key": {"type": "integer",
110 "minInteger": 0,
111 "maxInteger": 4095},
112 "min": 0, "max": 4096}},
d879a707 113 "tag": {
bd76d25d
BP
114 "type": {"key": {"type": "integer",
115 "minInteger": 0,
116 "maxInteger": 4095},
117 "min": 0, "max": 1}},
c1c9c9c4
BP
118 "qos": {
119 "type": {"key": {"type": "uuid",
120 "refTable": "QoS"},
121 "min": 0, "max": 1}},
76343538 122 "mac": {
89521e3f 123 "type": {"key": {"type": "string"},
bd76d25d 124 "min": 0, "max": 1}},
27dcaa1a 125 "bond_mode": {
be02e7c3 126 "type": {"key": {"type": "string",
fb0b29a3 127 "enum": ["set", ["balance-tcp", "balance-slb", "active-backup", "stable"]]},
be02e7c3 128 "min": 0, "max": 1}},
c25c91fd
EJ
129 "lacp": {
130 "type": {"key": {"type": "string",
131 "enum": ["set", ["active", "passive", "off"]]},
132 "min": 0, "max": 1}},
76343538 133 "bond_updelay": {
d879a707 134 "type": "integer"},
76343538 135 "bond_downdelay": {
76343538
BP
136 "type": "integer"},
137 "bond_fake_iface": {
c75d1511
BP
138 "type": "boolean"},
139 "fake_bridge": {
457e1eb0 140 "type": "boolean"},
093e47f4 141 "other_config": {
093e47f4 142 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
457e1eb0 143 "external_ids": {
cc7ecee4
BP
144 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}},
145 "indexes": [["name"]]},
d879a707 146 "Interface": {
d879a707
BP
147 "columns": {
148 "name": {
1a9a2e4b
BP
149 "type": "string",
150 "mutable": false},
76343538 151 "type": {
76343538
BP
152 "type": "string"},
153 "options": {
76343538 154 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
d879a707 155 "ingress_policing_rate": {
bd76d25d
BP
156 "type": {"key": {"type": "integer",
157 "minInteger": 0}}},
d879a707 158 "ingress_policing_burst": {
bd76d25d
BP
159 "type": {"key": {"type": "integer",
160 "minInteger": 0}}},
76343538 161 "mac": {
89521e3f 162 "type": {"key": {"type": "string"},
bd76d25d 163 "min": 0, "max": 1}},
da50fb9c 164 "external_ids": {
da50fb9c
BP
165 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
166 "ofport": {
c75d1511 167 "type": {"key": "integer", "min": 0, "max": 1},
018f1525 168 "ephemeral": true},
93b8df38 169 "cfm_mpid": {
b31bcf60 170 "type": {
348f01e3 171 "key": {"type": "integer"},
93b8df38
EJ
172 "min": 0,
173 "max": 1}},
1de11730
EJ
174 "cfm_remote_mpids": {
175 "type": {
176 "key": {"type": "integer"},
177 "min": 0,
178 "max": "unlimited"}},
93b8df38
EJ
179 "cfm_fault": {
180 "type": {
181 "key": { "type": "boolean"},
b31bcf60
EJ
182 "min": 0,
183 "max": 1}},
a8172aa3
EJ
184 "lacp_current": {
185 "type": {"key": {"type": "boolean"},
186 "min": 0, "max": 1}},
a3acf0b0
JP
187 "other_config": {
188 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
018f1525
BP
189 "statistics": {
190 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
13008eb3 191 "ephemeral": true},
573c1db9
JP
192 "status": {
193 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
e210037e
AE
194 "ephemeral": true},
195 "admin_state": {
196 "type": {"key": {"type": "string",
197 "enum": ["set", ["up", "down"]]},
198 "min": 0, "max": 1},
199 "ephemeral": true},
200 "link_state": {
201 "type": {"key": {"type": "string",
202 "enum": ["set", ["up", "down"]]},
203 "min": 0, "max": 1},
204 "ephemeral": true},
205 "link_speed": {
206 "type": {"key": "integer", "min": 0, "max": 1},
207 "ephemeral": true},
208 "duplex": {
209 "type": {"key": {"type": "string",
210 "enum": ["set", ["half", "full"]]},
211 "min": 0, "max": 1},
212 "ephemeral": true},
213 "mtu": {
214 "type": {"key": "integer", "min": 0, "max": 1},
cc7ecee4
BP
215 "ephemeral": true}},
216 "indexes": [["name"]]},
c1c9c9c4
BP
217 "QoS": {
218 "columns": {
219 "type": {
220 "type": "string"},
221 "queues": {
222 "type": {"key": {"type": "integer",
223 "minInteger": 0,
224 "maxInteger": 4294967295},
225 "value": {"type": "uuid",
226 "refTable": "Queue"},
227 "min": 0, "max": "unlimited"}},
228 "other_config": {
299a244b 229 "type": {"key": "string", "value": "string",
13008eb3
BP
230 "min": 0, "max": "unlimited"}},
231 "external_ids": {
232 "type": {"key": "string", "value": "string",
c5f341ab
BP
233 "min": 0, "max": "unlimited"}}},
234 "isRoot": true},
c1c9c9c4
BP
235 "Queue": {
236 "columns": {
237 "other_config": {
299a244b 238 "type": {"key": "string", "value": "string",
13008eb3
BP
239 "min": 0, "max": "unlimited"}},
240 "external_ids": {
241 "type": {"key": "string", "value": "string",
c5f341ab
BP
242 "min": 0, "max": "unlimited"}}},
243 "isRoot": true},
d879a707 244 "Mirror": {
d879a707
BP
245 "columns": {
246 "name": {
d879a707 247 "type": "string"},
939ff267 248 "select_all": {
cc7ecee4 249 "type": "boolean"},
d879a707 250 "select_src_port": {
0d0f05b9 251 "type": {"key": {"type": "uuid",
7360012b
BP
252 "refTable": "Port",
253 "refType": "weak"},
0d0f05b9 254 "min": 0, "max": "unlimited"}},
d879a707 255 "select_dst_port": {
0d0f05b9 256 "type": {"key": {"type": "uuid",
7360012b
BP
257 "refTable": "Port",
258 "refType": "weak"},
259 "min": 0, "max": "unlimited"}},
d879a707 260 "select_vlan": {
bd76d25d
BP
261 "type": {"key": {"type": "integer",
262 "minInteger": 0,
263 "maxInteger": 4095},
264 "min": 0, "max": 4096}},
d879a707 265 "output_port": {
0d0f05b9 266 "type": {"key": {"type": "uuid",
7360012b
BP
267 "refTable": "Port",
268 "refType": "weak"},
269 "min": 0, "max": 1}},
d879a707 270 "output_vlan": {
bd76d25d
BP
271 "type": {"key": {"type": "integer",
272 "minInteger": 1,
273 "maxInteger": 4095},
13008eb3
BP
274 "min": 0, "max": 1}},
275 "external_ids": {
276 "type": {"key": "string", "value": "string",
277 "min": 0, "max": "unlimited"}}}},
352cd3f4 278 "NetFlow": {
d879a707 279 "columns": {
76343538 280 "targets": {
89521e3f 281 "type": {"key": {"type": "string"},
bd76d25d 282 "min": 1, "max": "unlimited"}},
d879a707 283 "engine_type": {
bd76d25d
BP
284 "type": {"key": {"type": "integer",
285 "minInteger": 0,
286 "maxInteger": 255},
287 "min": 0, "max": 1}},
d879a707 288 "engine_id": {
bd76d25d
BP
289 "type": {"key": {"type": "integer",
290 "minInteger": 0,
291 "maxInteger": 255},
292 "min": 0, "max": 1}},
d879a707 293 "add_id_to_interface": {
76343538
BP
294 "type": "boolean"},
295 "active_timeout": {
bd76d25d 296 "type": {"key": {"type": "integer",
13008eb3
BP
297 "minInteger": -1}}},
298 "external_ids": {
299 "type": {"key": "string", "value": "string",
300 "min": 0, "max": "unlimited"}}}},
a4af0040 301 "sFlow": {
a4af0040
JP
302 "columns": {
303 "targets": {
a4af0040
JP
304 "type": {"key": "string", "min": 1, "max": "unlimited"}},
305 "sampling": {
a4af0040
JP
306 "type": {"key": "integer", "min": 0, "max": 1}},
307 "polling": {
a4af0040
JP
308 "type": {"key": "integer", "min": 0, "max": 1}},
309 "header": {
a4af0040
JP
310 "type": {"key": "integer", "min": 0, "max": 1}},
311 "agent": {
13008eb3
BP
312 "type": {"key": "string", "min": 0, "max": 1}},
313 "external_ids": {
314 "type": {"key": "string", "value": "string",
315 "min": 0, "max": "unlimited"}}}},
d879a707 316 "Controller": {
d879a707
BP
317 "columns": {
318 "target": {
d879a707
BP
319 "type": "string"},
320 "max_backoff": {
bd76d25d
BP
321 "type": {"key": {"type": "integer",
322 "minInteger": 1000},
323 "min": 0, "max": 1}},
d879a707 324 "inactivity_probe": {
d879a707 325 "type": {"key": "integer", "min": 0, "max": 1}},
d879a707 326 "connection_mode": {
bfc96d9b
BP
327 "type": {"key": {"type": "string",
328 "enum": ["set", ["in-band", "out-of-band"]]},
bd76d25d 329 "min": 0, "max": 1}},
d879a707 330 "local_ip": {
89521e3f 331 "type": {"key": {"type": "string"},
bd76d25d 332 "min": 0, "max": 1}},
d879a707 333 "local_netmask": {
89521e3f 334 "type": {"key": {"type": "string"},
bd76d25d 335 "min": 0, "max": 1}},
d879a707 336 "local_gateway": {
89521e3f 337 "type": {"key": {"type": "string"},
bd76d25d 338 "min": 0, "max": 1}},
d879a707 339 "controller_rate_limit": {
bd76d25d
BP
340 "type": {"key": {"type": "integer",
341 "minInteger": 100},
342 "min": 0, "max": 1}},
d879a707 343 "controller_burst_limit": {
299a244b 344 "type": {"key": {"type": "integer",
bd76d25d 345 "minInteger": 25},
13008eb3
BP
346 "min": 0, "max": 1}},
347 "external_ids": {
348 "type": {"key": "string", "value": "string",
bffc0589
AE
349 "min": 0, "max": "unlimited"}},
350 "is_connected": {
351 "type": "boolean",
352 "ephemeral": true},
353 "role": {
354 "type": {"key": {"type": "string",
355 "enum": ["set", ["other", "master", "slave"]]},
356 "min": 0, "max": 1},
357 "ephemeral": true},
358 "status": {
359 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
360 "ephemeral": true}}},
94db5407
BP
361 "Manager": {
362 "columns": {
363 "target": {
364 "type": "string"},
365 "max_backoff": {
366 "type": {"key": {"type": "integer",
367 "minInteger": 1000},
368 "min": 0, "max": 1}},
369 "inactivity_probe": {
370 "type": {"key": "integer", "min": 0, "max": 1}},
371 "connection_mode": {
372 "type": {"key": {"type": "string",
373 "enum": ["set", ["in-band", "out-of-band"]]},
374 "min": 0, "max": 1}},
375 "external_ids": {
376 "type": {"key": "string", "value": "string",
0b3e7a8b
AE
377 "min": 0, "max": "unlimited"}},
378 "is_connected": {
379 "type": "boolean",
380 "ephemeral": true},
381 "status": {
382 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
cc7ecee4
BP
383 "ephemeral": true}},
384 "indexes": [["target"]]},
d879a707 385 "SSL": {
d879a707
BP
386 "columns": {
387 "private_key": {
d879a707
BP
388 "type": "string"},
389 "certificate": {
d879a707
BP
390 "type": "string"},
391 "ca_cert": {
76343538
BP
392 "type": "string"},
393 "bootstrap_ca_cert": {
13008eb3
BP
394 "type": "boolean"},
395 "external_ids": {
396 "type": {"key": "string", "value": "string",
397 "min": 0, "max": "unlimited"}}},
a4230ded 398 "maxRows": 1}}}