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