]> git.proxmox.com Git - ovs.git/blame - vswitchd/vswitch.ovsschema
ovsdb-doc: Implement new <option>, <ol> tags.
[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 136 "ephemeral": true},
a3acf0b0
JP
137 "other_config": {
138 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
018f1525
BP
139 "statistics": {
140 "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
13008eb3 141 "ephemeral": true},
573c1db9
JP
142 "status": {
143 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
60bb134a 144 "ephemeral": true}}},
c1c9c9c4
BP
145 "QoS": {
146 "columns": {
147 "type": {
148 "type": "string"},
149 "queues": {
150 "type": {"key": {"type": "integer",
151 "minInteger": 0,
152 "maxInteger": 4294967295},
153 "value": {"type": "uuid",
154 "refTable": "Queue"},
155 "min": 0, "max": "unlimited"}},
156 "other_config": {
157 "type": {"key": "string", "value": "string",
13008eb3
BP
158 "min": 0, "max": "unlimited"}},
159 "external_ids": {
160 "type": {"key": "string", "value": "string",
c1c9c9c4
BP
161 "min": 0, "max": "unlimited"}}}},
162 "Queue": {
163 "columns": {
164 "other_config": {
165 "type": {"key": "string", "value": "string",
13008eb3
BP
166 "min": 0, "max": "unlimited"}},
167 "external_ids": {
168 "type": {"key": "string", "value": "string",
c1c9c9c4 169 "min": 0, "max": "unlimited"}}}},
d879a707 170 "Mirror": {
d879a707
BP
171 "columns": {
172 "name": {
d879a707 173 "type": "string"},
939ff267
BP
174 "select_all": {
175 "type": "boolean"
176 },
d879a707 177 "select_src_port": {
0d0f05b9 178 "type": {"key": {"type": "uuid",
7360012b
BP
179 "refTable": "Port",
180 "refType": "weak"},
0d0f05b9 181 "min": 0, "max": "unlimited"}},
d879a707 182 "select_dst_port": {
0d0f05b9 183 "type": {"key": {"type": "uuid",
7360012b
BP
184 "refTable": "Port",
185 "refType": "weak"},
186 "min": 0, "max": "unlimited"}},
d879a707 187 "select_vlan": {
bd76d25d
BP
188 "type": {"key": {"type": "integer",
189 "minInteger": 0,
190 "maxInteger": 4095},
191 "min": 0, "max": 4096}},
d879a707 192 "output_port": {
0d0f05b9 193 "type": {"key": {"type": "uuid",
7360012b
BP
194 "refTable": "Port",
195 "refType": "weak"},
196 "min": 0, "max": 1}},
d879a707 197 "output_vlan": {
bd76d25d
BP
198 "type": {"key": {"type": "integer",
199 "minInteger": 1,
200 "maxInteger": 4095},
13008eb3
BP
201 "min": 0, "max": 1}},
202 "external_ids": {
203 "type": {"key": "string", "value": "string",
204 "min": 0, "max": "unlimited"}}}},
352cd3f4 205 "NetFlow": {
d879a707 206 "columns": {
76343538 207 "targets": {
89521e3f 208 "type": {"key": {"type": "string"},
bd76d25d 209 "min": 1, "max": "unlimited"}},
d879a707 210 "engine_type": {
bd76d25d
BP
211 "type": {"key": {"type": "integer",
212 "minInteger": 0,
213 "maxInteger": 255},
214 "min": 0, "max": 1}},
d879a707 215 "engine_id": {
bd76d25d
BP
216 "type": {"key": {"type": "integer",
217 "minInteger": 0,
218 "maxInteger": 255},
219 "min": 0, "max": 1}},
d879a707 220 "add_id_to_interface": {
76343538
BP
221 "type": "boolean"},
222 "active_timeout": {
bd76d25d 223 "type": {"key": {"type": "integer",
13008eb3
BP
224 "minInteger": -1}}},
225 "external_ids": {
226 "type": {"key": "string", "value": "string",
227 "min": 0, "max": "unlimited"}}}},
a4af0040 228 "sFlow": {
a4af0040
JP
229 "columns": {
230 "targets": {
a4af0040
JP
231 "type": {"key": "string", "min": 1, "max": "unlimited"}},
232 "sampling": {
a4af0040
JP
233 "type": {"key": "integer", "min": 0, "max": 1}},
234 "polling": {
a4af0040
JP
235 "type": {"key": "integer", "min": 0, "max": 1}},
236 "header": {
a4af0040
JP
237 "type": {"key": "integer", "min": 0, "max": 1}},
238 "agent": {
13008eb3
BP
239 "type": {"key": "string", "min": 0, "max": 1}},
240 "external_ids": {
241 "type": {"key": "string", "value": "string",
242 "min": 0, "max": "unlimited"}}}},
d879a707 243 "Controller": {
d879a707
BP
244 "columns": {
245 "target": {
d879a707
BP
246 "type": "string"},
247 "max_backoff": {
bd76d25d
BP
248 "type": {"key": {"type": "integer",
249 "minInteger": 1000},
250 "min": 0, "max": 1}},
d879a707 251 "inactivity_probe": {
d879a707 252 "type": {"key": "integer", "min": 0, "max": 1}},
352cd3f4 253 "discover_accept_regex": {
d879a707 254 "type": {"key": "string", "min": 0, "max": 1}},
352cd3f4 255 "discover_update_resolv_conf": {
d879a707
BP
256 "type": {"key": "boolean", "min": 0, "max": 1}},
257 "connection_mode": {
bfc96d9b
BP
258 "type": {"key": {"type": "string",
259 "enum": ["set", ["in-band", "out-of-band"]]},
bd76d25d 260 "min": 0, "max": 1}},
d879a707 261 "local_ip": {
89521e3f 262 "type": {"key": {"type": "string"},
bd76d25d 263 "min": 0, "max": 1}},
d879a707 264 "local_netmask": {
89521e3f 265 "type": {"key": {"type": "string"},
bd76d25d 266 "min": 0, "max": 1}},
d879a707 267 "local_gateway": {
89521e3f 268 "type": {"key": {"type": "string"},
bd76d25d 269 "min": 0, "max": 1}},
d879a707 270 "controller_rate_limit": {
bd76d25d
BP
271 "type": {"key": {"type": "integer",
272 "minInteger": 100},
273 "min": 0, "max": 1}},
d879a707 274 "controller_burst_limit": {
bd76d25d
BP
275 "type": {"key": {"type": "integer",
276 "minInteger": 25},
13008eb3
BP
277 "min": 0, "max": 1}},
278 "external_ids": {
279 "type": {"key": "string", "value": "string",
280 "min": 0, "max": "unlimited"}}}},
d879a707 281 "SSL": {
d879a707
BP
282 "columns": {
283 "private_key": {
d879a707
BP
284 "type": "string"},
285 "certificate": {
d879a707
BP
286 "type": "string"},
287 "ca_cert": {
76343538
BP
288 "type": "string"},
289 "bootstrap_ca_cert": {
13008eb3
BP
290 "type": "boolean"},
291 "external_ids": {
292 "type": {"key": "string", "value": "string",
293 "min": 0, "max": "unlimited"}}},
a4230ded 294 "maxRows": 1}}}