]> git.proxmox.com Git - mirror_ovs.git/blame - vswitchd/vswitch.ovsschema
backtrace: Use generic code to find the bottom of the stack.
[mirror_ovs.git] / vswitchd / vswitch.ovsschema
CommitLineData
9cb53f26 1{"name": "Open_vSwitch",
d879a707 2 "tables": {
352cd3f4 3 "Open_vSwitch": {
d879a707
BP
4 "columns": {
5 "bridges": {
0d0f05b9
BP
6 "type": {"key": {"type": "uuid",
7 "refTable": "Bridge"},
8 "min": 0, "max": "unlimited"}},
0b1fae1b 9 "managers": {
0b1fae1b 10 "type": {"key": "string", "min": 0, "max": "unlimited"}},
d879a707 11 "ssl": {
0d0f05b9
BP
12 "type": {"key": {"type": "uuid",
13 "refTable": "SSL"},
14 "min": 0, "max": 1}},
f5e7ed5d
JP
15 "external_ids": {
16 "type": {"key": "string", "value": "string",
17 "min": 0, "max": "unlimited"}},
b54e22e9 18 "next_cfg": {
b54e22e9
BP
19 "type": "integer"},
20 "cur_cfg": {
c1c9c9c4
BP
21 "type": "integer"},
22 "capabilities": {
23 "type": {"key": "string",
24 "value": {"type": "uuid",
25 "refTable": "Capability"},
018f1525
BP
26 "min": 0, "max": "unlimited"}},
27 "statistics": {
28 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
29 "ephemeral": true}},
2b7093cd 30 "maxRows": 1},
c1c9c9c4
BP
31 "Capability": {
32 "columns": {
33 "details": {
34 "type": {"key": "string", "value": "string",
35 "min": 0, "max": "unlimited"}}}},
d879a707 36 "Bridge": {
d879a707
BP
37 "columns": {
38 "name": {
d879a707 39 "type": "string"},
1a6f1e2a 40 "datapath_type": {
1a6f1e2a 41 "type": "string"},
d879a707 42 "datapath_id": {
093e47f4
BP
43 "type": {"key": "string", "min": 0, "max": 1},
44 "ephemeral": true},
d879a707 45 "ports": {
0d0f05b9
BP
46 "type": {"key": {"type": "uuid",
47 "refTable": "Port"},
48 "min": 0, "max": "unlimited"}},
d879a707 49 "mirrors": {
0d0f05b9
BP
50 "type": {"key": {"type": "uuid",
51 "refTable": "Mirror"},
52 "min": 0, "max": "unlimited"}},
d879a707 53 "netflow": {
0d0f05b9
BP
54 "type": {"key": {"type": "uuid",
55 "refTable": "NetFlow"},
56 "min": 0, "max": 1}},
a4af0040 57 "sflow": {
0d0f05b9
BP
58 "type": {"key": {"type": "uuid",
59 "refTable": "sFlow"},
60 "min": 0, "max": 1}},
d879a707 61 "controller": {
0d0f05b9
BP
62 "type": {"key": {"type": "uuid",
63 "refTable": "Controller"},
76ce9432 64 "min": 0, "max": "unlimited"}},
31681a5d
JP
65 "fail_mode": {
66 "type": {"key": {"type": "string",
67 "enum": ["set", ["standalone", "secure"]]},
68 "min": 0, "max": 1}},
093e47f4 69 "other_config": {
093e47f4 70 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
457e1eb0 71 "external_ids": {
37e7f427
BP
72 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
73 "flood_vlans": {
bd76d25d
BP
74 "type": {"key": {"type": "integer",
75 "minInteger": 0,
76 "maxInteger": 4095},
77 "min": 0, "max": 4096}}}},
d879a707 78 "Port": {
d879a707
BP
79 "columns": {
80 "name": {
d879a707
BP
81 "type": "string"},
82 "interfaces": {
0d0f05b9
BP
83 "type": {"key": {"type": "uuid",
84 "refTable": "Interface"},
85 "min": 1, "max": "unlimited"}},
d879a707 86 "trunks": {
bd76d25d
BP
87 "type": {"key": {"type": "integer",
88 "minInteger": 0,
89 "maxInteger": 4095},
90 "min": 0, "max": 4096}},
d879a707 91 "tag": {
bd76d25d
BP
92 "type": {"key": {"type": "integer",
93 "minInteger": 0,
94 "maxInteger": 4095},
95 "min": 0, "max": 1}},
c1c9c9c4
BP
96 "qos": {
97 "type": {"key": {"type": "uuid",
98 "refTable": "QoS"},
99 "min": 0, "max": 1}},
76343538 100 "mac": {
89521e3f 101 "type": {"key": {"type": "string"},
bd76d25d 102 "min": 0, "max": 1}},
76343538 103 "bond_updelay": {
d879a707 104 "type": "integer"},
76343538 105 "bond_downdelay": {
76343538
BP
106 "type": "integer"},
107 "bond_fake_iface": {
c75d1511
BP
108 "type": "boolean"},
109 "fake_bridge": {
457e1eb0 110 "type": "boolean"},
093e47f4 111 "other_config": {
093e47f4 112 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
457e1eb0 113 "external_ids": {
457e1eb0 114 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}},
d879a707 115 "Interface": {
d879a707
BP
116 "columns": {
117 "name": {
d879a707 118 "type": "string"},
76343538 119 "type": {
76343538
BP
120 "type": "string"},
121 "options": {
76343538 122 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
d879a707 123 "ingress_policing_rate": {
bd76d25d
BP
124 "type": {"key": {"type": "integer",
125 "minInteger": 0}}},
d879a707 126 "ingress_policing_burst": {
bd76d25d
BP
127 "type": {"key": {"type": "integer",
128 "minInteger": 0}}},
76343538 129 "mac": {
89521e3f 130 "type": {"key": {"type": "string"},
bd76d25d 131 "min": 0, "max": 1}},
da50fb9c 132 "external_ids": {
da50fb9c
BP
133 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
134 "ofport": {
c75d1511 135 "type": {"key": "integer", "min": 0, "max": 1},
018f1525
BP
136 "ephemeral": true},
137 "statistics": {
138 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
13008eb3
BP
139 "ephemeral": true},
140 "external_ids": {
141 "type": {"key": "string", "value": "string",
142 "min": 0, "max": "unlimited"}}}},
c1c9c9c4
BP
143 "QoS": {
144 "columns": {
145 "type": {
146 "type": "string"},
147 "queues": {
148 "type": {"key": {"type": "integer",
149 "minInteger": 0,
150 "maxInteger": 4294967295},
151 "value": {"type": "uuid",
152 "refTable": "Queue"},
153 "min": 0, "max": "unlimited"}},
154 "other_config": {
155 "type": {"key": "string", "value": "string",
13008eb3
BP
156 "min": 0, "max": "unlimited"}},
157 "external_ids": {
158 "type": {"key": "string", "value": "string",
c1c9c9c4
BP
159 "min": 0, "max": "unlimited"}}}},
160 "Queue": {
161 "columns": {
162 "other_config": {
163 "type": {"key": "string", "value": "string",
13008eb3
BP
164 "min": 0, "max": "unlimited"}},
165 "external_ids": {
166 "type": {"key": "string", "value": "string",
c1c9c9c4 167 "min": 0, "max": "unlimited"}}}},
d879a707 168 "Mirror": {
d879a707
BP
169 "columns": {
170 "name": {
d879a707 171 "type": "string"},
939ff267
BP
172 "select_all": {
173 "type": "boolean"
174 },
d879a707 175 "select_src_port": {
0d0f05b9 176 "type": {"key": {"type": "uuid",
7360012b
BP
177 "refTable": "Port",
178 "refType": "weak"},
0d0f05b9 179 "min": 0, "max": "unlimited"}},
d879a707 180 "select_dst_port": {
0d0f05b9 181 "type": {"key": {"type": "uuid",
7360012b
BP
182 "refTable": "Port",
183 "refType": "weak"},
184 "min": 0, "max": "unlimited"}},
d879a707 185 "select_vlan": {
bd76d25d
BP
186 "type": {"key": {"type": "integer",
187 "minInteger": 0,
188 "maxInteger": 4095},
189 "min": 0, "max": 4096}},
d879a707 190 "output_port": {
0d0f05b9 191 "type": {"key": {"type": "uuid",
7360012b
BP
192 "refTable": "Port",
193 "refType": "weak"},
194 "min": 0, "max": 1}},
d879a707 195 "output_vlan": {
bd76d25d
BP
196 "type": {"key": {"type": "integer",
197 "minInteger": 1,
198 "maxInteger": 4095},
13008eb3
BP
199 "min": 0, "max": 1}},
200 "external_ids": {
201 "type": {"key": "string", "value": "string",
202 "min": 0, "max": "unlimited"}}}},
352cd3f4 203 "NetFlow": {
d879a707 204 "columns": {
76343538 205 "targets": {
89521e3f 206 "type": {"key": {"type": "string"},
bd76d25d 207 "min": 1, "max": "unlimited"}},
d879a707 208 "engine_type": {
bd76d25d
BP
209 "type": {"key": {"type": "integer",
210 "minInteger": 0,
211 "maxInteger": 255},
212 "min": 0, "max": 1}},
d879a707 213 "engine_id": {
bd76d25d
BP
214 "type": {"key": {"type": "integer",
215 "minInteger": 0,
216 "maxInteger": 255},
217 "min": 0, "max": 1}},
d879a707 218 "add_id_to_interface": {
76343538
BP
219 "type": "boolean"},
220 "active_timeout": {
bd76d25d 221 "type": {"key": {"type": "integer",
13008eb3
BP
222 "minInteger": -1}}},
223 "external_ids": {
224 "type": {"key": "string", "value": "string",
225 "min": 0, "max": "unlimited"}}}},
a4af0040 226 "sFlow": {
a4af0040
JP
227 "columns": {
228 "targets": {
a4af0040
JP
229 "type": {"key": "string", "min": 1, "max": "unlimited"}},
230 "sampling": {
a4af0040
JP
231 "type": {"key": "integer", "min": 0, "max": 1}},
232 "polling": {
a4af0040
JP
233 "type": {"key": "integer", "min": 0, "max": 1}},
234 "header": {
a4af0040
JP
235 "type": {"key": "integer", "min": 0, "max": 1}},
236 "agent": {
13008eb3
BP
237 "type": {"key": "string", "min": 0, "max": 1}},
238 "external_ids": {
239 "type": {"key": "string", "value": "string",
240 "min": 0, "max": "unlimited"}}}},
d879a707 241 "Controller": {
d879a707
BP
242 "columns": {
243 "target": {
d879a707
BP
244 "type": "string"},
245 "max_backoff": {
bd76d25d
BP
246 "type": {"key": {"type": "integer",
247 "minInteger": 1000},
248 "min": 0, "max": 1}},
d879a707 249 "inactivity_probe": {
d879a707 250 "type": {"key": "integer", "min": 0, "max": 1}},
352cd3f4 251 "discover_accept_regex": {
d879a707 252 "type": {"key": "string", "min": 0, "max": 1}},
352cd3f4 253 "discover_update_resolv_conf": {
d879a707
BP
254 "type": {"key": "boolean", "min": 0, "max": 1}},
255 "connection_mode": {
bfc96d9b
BP
256 "type": {"key": {"type": "string",
257 "enum": ["set", ["in-band", "out-of-band"]]},
bd76d25d 258 "min": 0, "max": 1}},
d879a707 259 "local_ip": {
89521e3f 260 "type": {"key": {"type": "string"},
bd76d25d 261 "min": 0, "max": 1}},
d879a707 262 "local_netmask": {
89521e3f 263 "type": {"key": {"type": "string"},
bd76d25d 264 "min": 0, "max": 1}},
d879a707 265 "local_gateway": {
89521e3f 266 "type": {"key": {"type": "string"},
bd76d25d 267 "min": 0, "max": 1}},
d879a707 268 "controller_rate_limit": {
bd76d25d
BP
269 "type": {"key": {"type": "integer",
270 "minInteger": 100},
271 "min": 0, "max": 1}},
d879a707 272 "controller_burst_limit": {
bd76d25d
BP
273 "type": {"key": {"type": "integer",
274 "minInteger": 25},
13008eb3
BP
275 "min": 0, "max": 1}},
276 "external_ids": {
277 "type": {"key": "string", "value": "string",
278 "min": 0, "max": "unlimited"}}}},
d879a707 279 "SSL": {
d879a707
BP
280 "columns": {
281 "private_key": {
d879a707
BP
282 "type": "string"},
283 "certificate": {
d879a707
BP
284 "type": "string"},
285 "ca_cert": {
76343538
BP
286 "type": "string"},
287 "bootstrap_ca_cert": {
13008eb3
BP
288 "type": "boolean"},
289 "external_ids": {
290 "type": {"key": "string", "value": "string",
291 "min": 0, "max": "unlimited"}}},
a4230ded 292 "maxRows": 1}}}