]> git.proxmox.com Git - ovs.git/blame - vswitchd/vswitch.ovsschema
cfm: Eight byte MPIDs in extended mode.
[ovs.git] / vswitchd / vswitch.ovsschema
CommitLineData
9cb53f26 1{"name": "Open_vSwitch",
144216a3 2 "version": "6.0.0",
348f01e3 3 "cksum": "277444055 14339",
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}},
174 "cfm_fault": {
175 "type": {
176 "key": { "type": "boolean"},
b31bcf60
EJ
177 "min": 0,
178 "max": 1}},
a8172aa3
EJ
179 "lacp_current": {
180 "type": {"key": {"type": "boolean"},
181 "min": 0, "max": 1}},
a3acf0b0
JP
182 "other_config": {
183 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
018f1525
BP
184 "statistics": {
185 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
13008eb3 186 "ephemeral": true},
573c1db9
JP
187 "status": {
188 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
e210037e
AE
189 "ephemeral": true},
190 "admin_state": {
191 "type": {"key": {"type": "string",
192 "enum": ["set", ["up", "down"]]},
193 "min": 0, "max": 1},
194 "ephemeral": true},
195 "link_state": {
196 "type": {"key": {"type": "string",
197 "enum": ["set", ["up", "down"]]},
198 "min": 0, "max": 1},
199 "ephemeral": true},
200 "link_speed": {
201 "type": {"key": "integer", "min": 0, "max": 1},
202 "ephemeral": true},
203 "duplex": {
204 "type": {"key": {"type": "string",
205 "enum": ["set", ["half", "full"]]},
206 "min": 0, "max": 1},
207 "ephemeral": true},
208 "mtu": {
209 "type": {"key": "integer", "min": 0, "max": 1},
cc7ecee4
BP
210 "ephemeral": true}},
211 "indexes": [["name"]]},
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 243 "select_all": {
cc7ecee4 244 "type": "boolean"},
d879a707 245 "select_src_port": {
0d0f05b9 246 "type": {"key": {"type": "uuid",
7360012b
BP
247 "refTable": "Port",
248 "refType": "weak"},
0d0f05b9 249 "min": 0, "max": "unlimited"}},
d879a707 250 "select_dst_port": {
0d0f05b9 251 "type": {"key": {"type": "uuid",
7360012b
BP
252 "refTable": "Port",
253 "refType": "weak"},
254 "min": 0, "max": "unlimited"}},
d879a707 255 "select_vlan": {
bd76d25d
BP
256 "type": {"key": {"type": "integer",
257 "minInteger": 0,
258 "maxInteger": 4095},
259 "min": 0, "max": 4096}},
d879a707 260 "output_port": {
0d0f05b9 261 "type": {"key": {"type": "uuid",
7360012b
BP
262 "refTable": "Port",
263 "refType": "weak"},
264 "min": 0, "max": 1}},
d879a707 265 "output_vlan": {
bd76d25d
BP
266 "type": {"key": {"type": "integer",
267 "minInteger": 1,
268 "maxInteger": 4095},
13008eb3
BP
269 "min": 0, "max": 1}},
270 "external_ids": {
271 "type": {"key": "string", "value": "string",
272 "min": 0, "max": "unlimited"}}}},
352cd3f4 273 "NetFlow": {
d879a707 274 "columns": {
76343538 275 "targets": {
89521e3f 276 "type": {"key": {"type": "string"},
bd76d25d 277 "min": 1, "max": "unlimited"}},
d879a707 278 "engine_type": {
bd76d25d
BP
279 "type": {"key": {"type": "integer",
280 "minInteger": 0,
281 "maxInteger": 255},
282 "min": 0, "max": 1}},
d879a707 283 "engine_id": {
bd76d25d
BP
284 "type": {"key": {"type": "integer",
285 "minInteger": 0,
286 "maxInteger": 255},
287 "min": 0, "max": 1}},
d879a707 288 "add_id_to_interface": {
76343538
BP
289 "type": "boolean"},
290 "active_timeout": {
bd76d25d 291 "type": {"key": {"type": "integer",
13008eb3
BP
292 "minInteger": -1}}},
293 "external_ids": {
294 "type": {"key": "string", "value": "string",
295 "min": 0, "max": "unlimited"}}}},
a4af0040 296 "sFlow": {
a4af0040
JP
297 "columns": {
298 "targets": {
a4af0040
JP
299 "type": {"key": "string", "min": 1, "max": "unlimited"}},
300 "sampling": {
a4af0040
JP
301 "type": {"key": "integer", "min": 0, "max": 1}},
302 "polling": {
a4af0040
JP
303 "type": {"key": "integer", "min": 0, "max": 1}},
304 "header": {
a4af0040
JP
305 "type": {"key": "integer", "min": 0, "max": 1}},
306 "agent": {
13008eb3
BP
307 "type": {"key": "string", "min": 0, "max": 1}},
308 "external_ids": {
309 "type": {"key": "string", "value": "string",
310 "min": 0, "max": "unlimited"}}}},
d879a707 311 "Controller": {
d879a707
BP
312 "columns": {
313 "target": {
d879a707
BP
314 "type": "string"},
315 "max_backoff": {
bd76d25d
BP
316 "type": {"key": {"type": "integer",
317 "minInteger": 1000},
318 "min": 0, "max": 1}},
d879a707 319 "inactivity_probe": {
d879a707 320 "type": {"key": "integer", "min": 0, "max": 1}},
d879a707 321 "connection_mode": {
bfc96d9b
BP
322 "type": {"key": {"type": "string",
323 "enum": ["set", ["in-band", "out-of-band"]]},
bd76d25d 324 "min": 0, "max": 1}},
d879a707 325 "local_ip": {
89521e3f 326 "type": {"key": {"type": "string"},
bd76d25d 327 "min": 0, "max": 1}},
d879a707 328 "local_netmask": {
89521e3f 329 "type": {"key": {"type": "string"},
bd76d25d 330 "min": 0, "max": 1}},
d879a707 331 "local_gateway": {
89521e3f 332 "type": {"key": {"type": "string"},
bd76d25d 333 "min": 0, "max": 1}},
d879a707 334 "controller_rate_limit": {
bd76d25d
BP
335 "type": {"key": {"type": "integer",
336 "minInteger": 100},
337 "min": 0, "max": 1}},
d879a707 338 "controller_burst_limit": {
299a244b 339 "type": {"key": {"type": "integer",
bd76d25d 340 "minInteger": 25},
13008eb3
BP
341 "min": 0, "max": 1}},
342 "external_ids": {
343 "type": {"key": "string", "value": "string",
bffc0589
AE
344 "min": 0, "max": "unlimited"}},
345 "is_connected": {
346 "type": "boolean",
347 "ephemeral": true},
348 "role": {
349 "type": {"key": {"type": "string",
350 "enum": ["set", ["other", "master", "slave"]]},
351 "min": 0, "max": 1},
352 "ephemeral": true},
353 "status": {
354 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
355 "ephemeral": true}}},
94db5407
BP
356 "Manager": {
357 "columns": {
358 "target": {
359 "type": "string"},
360 "max_backoff": {
361 "type": {"key": {"type": "integer",
362 "minInteger": 1000},
363 "min": 0, "max": 1}},
364 "inactivity_probe": {
365 "type": {"key": "integer", "min": 0, "max": 1}},
366 "connection_mode": {
367 "type": {"key": {"type": "string",
368 "enum": ["set", ["in-band", "out-of-band"]]},
369 "min": 0, "max": 1}},
370 "external_ids": {
371 "type": {"key": "string", "value": "string",
0b3e7a8b
AE
372 "min": 0, "max": "unlimited"}},
373 "is_connected": {
374 "type": "boolean",
375 "ephemeral": true},
376 "status": {
377 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
cc7ecee4
BP
378 "ephemeral": true}},
379 "indexes": [["target"]]},
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}}}