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