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