cfm: Log sequence number of incoming CCMs.
[openvswitch] / vswitchd / vswitch.ovsschema
1 {"name": "Open_vSwitch",
2  "version": "4.0.0",
3  "cksum": "2606080158 14328",
4  "tables": {
5    "Open_vSwitch": {
6      "columns": {
7        "bridges": {
8          "type": {"key": {"type": "uuid",
9                           "refTable": "Bridge"},
10                   "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        "ovs_version": {
35          "type": {"key": {"type": "string"},
36                   "min": 0, "max": 1}},
37        "db_version": {
38          "type": {"key": {"type": "string"},
39                   "min": 0, "max": 1}},
40        "system_type": {
41          "type": {"key": {"type": "string"},
42                   "min": 0, "max": 1}},
43        "system_version": {
44          "type": {"key": {"type": "string"},
45                   "min": 0, "max": 1}}},
46      "isRoot": true,
47      "maxRows": 1},
48    "Capability": {
49      "columns": {
50        "details": {
51          "type": {"key": "string", "value": "string",
52                   "min": 0, "max": "unlimited"}}}},
53    "Bridge": {
54      "columns": {
55        "name": {
56          "type": "string",
57          "mutable": false},
58        "datapath_type": {
59          "type": "string"},
60        "datapath_id": {
61          "type": {"key": "string", "min": 0, "max": 1},
62          "ephemeral": true},
63        "ports": {
64          "type": {"key": {"type": "uuid",
65                           "refTable": "Port"},
66                   "min": 0, "max": "unlimited"}},
67        "mirrors": {
68          "type": {"key": {"type": "uuid",
69                           "refTable": "Mirror"},
70                   "min": 0, "max": "unlimited"}},
71        "netflow": {
72          "type": {"key": {"type": "uuid",
73                           "refTable": "NetFlow"},
74                   "min": 0, "max": 1}},
75        "sflow": {
76          "type": {"key": {"type": "uuid",
77                           "refTable": "sFlow"},
78                   "min": 0, "max": 1}},
79        "controller": {
80          "type": {"key": {"type": "uuid",
81                           "refTable": "Controller"},
82                   "min": 0, "max": "unlimited"}},
83        "fail_mode": {
84          "type": {"key": {"type": "string",
85                           "enum": ["set", ["standalone", "secure"]]},
86                   "min": 0, "max": 1}},
87        "other_config": {
88          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
89        "external_ids": {
90          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
91        "flood_vlans": {
92          "type": {"key": {"type": "integer",
93                           "minInteger": 0,
94                           "maxInteger": 4095},
95                   "min": 0, "max": 4096}}}},
96    "Port": {
97      "columns": {
98        "name": {
99          "type": "string",
100          "mutable": false},
101        "interfaces": {
102          "type": {"key": {"type": "uuid",
103                           "refTable": "Interface"},
104                   "min": 1, "max": "unlimited"}},
105        "trunks": {
106          "type": {"key": {"type": "integer",
107                           "minInteger": 0,
108                           "maxInteger": 4095},
109                   "min": 0, "max": 4096}},
110        "tag": {
111          "type": {"key": {"type": "integer",
112                           "minInteger": 0,
113                           "maxInteger": 4095},
114                   "min": 0, "max": 1}},
115        "qos": {
116          "type": {"key": {"type": "uuid",
117                           "refTable": "QoS"},
118                   "min": 0, "max": 1}},
119        "mac": {
120          "type": {"key": {"type": "string"},
121                   "min": 0, "max": 1}},
122        "bond_mode": {
123          "type": {"key": {"type": "string",
124            "enum": ["set", ["balance-tcp", "balance-slb", "active-backup", "stable"]]},
125          "min": 0, "max": 1}},
126        "lacp": {
127          "type": {"key": {"type": "string",
128            "enum": ["set", ["active", "passive", "off"]]},
129          "min": 0, "max": 1}},
130        "bond_updelay": {
131          "type": "integer"},
132        "bond_downdelay": {
133          "type": "integer"},
134        "bond_fake_iface": {
135          "type": "boolean"},
136        "fake_bridge": {
137          "type": "boolean"},
138        "other_config": {
139          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
140        "external_ids": {
141          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}},
142    "Interface": {
143      "columns": {
144        "name": {
145          "type": "string",
146          "mutable": false},
147        "type": {
148          "type": "string"},
149        "options": {
150          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
151        "ingress_policing_rate": {
152          "type": {"key": {"type": "integer",
153                           "minInteger": 0}}},
154        "ingress_policing_burst": {
155          "type": {"key": {"type": "integer",
156                           "minInteger": 0}}},
157        "mac": {
158          "type": {"key": {"type": "string"},
159                   "min": 0, "max": 1}},
160        "external_ids": {
161          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
162        "ofport": {
163          "type": {"key": "integer", "min": 0, "max": 1},
164          "ephemeral": true},
165        "cfm_mpid": {
166          "type": {
167            "key": {"type": "integer", "minInteger": 1, "maxInteger": 8191},
168            "min": 0,
169            "max": 1}},
170        "cfm_remote_mpid": {
171          "type" : {
172            "key": { "type": "integer", "minInteger": 1, "maxInteger": 8191},
173            "min": 0,
174            "max": 1}},
175        "cfm_fault": {
176          "type": {
177            "key": { "type": "boolean"},
178            "min": 0,
179            "max": 1}},
180        "lacp_current": {
181          "type": {"key": {"type": "boolean"},
182                   "min": 0, "max": 1}},
183        "other_config": {
184          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
185        "statistics": {
186          "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
187          "ephemeral": true},
188        "status": {
189          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
190          "ephemeral": true},
191        "admin_state": {
192          "type": {"key": {"type": "string",
193                           "enum": ["set", ["up", "down"]]},
194                   "min": 0, "max": 1},
195          "ephemeral": true},
196        "link_state": {
197          "type": {"key": {"type": "string",
198                           "enum": ["set", ["up", "down"]]},
199                   "min": 0, "max": 1},
200          "ephemeral": true},
201        "link_speed": {
202          "type": {"key": "integer", "min": 0, "max": 1},
203          "ephemeral": true},
204        "duplex": {
205          "type": {"key": {"type": "string",
206                           "enum": ["set", ["half", "full"]]},
207                   "min": 0, "max": 1},
208          "ephemeral": true},
209        "mtu": {
210          "type": {"key": "integer", "min": 0, "max": 1},
211          "ephemeral": true}}},
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": {
224          "type": {"key": "string", "value": "string",
225                   "min": 0, "max": "unlimited"}},
226        "external_ids": {
227          "type": {"key": "string", "value": "string",
228                   "min": 0, "max": "unlimited"}}},
229      "isRoot": true},
230    "Queue": {
231      "columns": {
232        "other_config": {
233          "type": {"key": "string", "value": "string",
234                   "min": 0, "max": "unlimited"}},
235        "external_ids": {
236          "type": {"key": "string", "value": "string",
237                   "min": 0, "max": "unlimited"}}},
238      "isRoot": true},
239    "Mirror": {
240      "columns": {
241        "name": {
242          "type": "string"},
243        "select_all": {
244          "type": "boolean"
245        },
246        "select_src_port": {
247          "type": {"key": {"type": "uuid",
248                           "refTable": "Port",
249                           "refType": "weak"},
250                    "min": 0, "max": "unlimited"}},
251        "select_dst_port": {
252          "type": {"key": {"type": "uuid",
253                           "refTable": "Port",
254                           "refType": "weak"},
255                    "min": 0, "max": "unlimited"}},
256        "select_vlan": {
257          "type": {"key": {"type": "integer",
258                           "minInteger": 0,
259                           "maxInteger": 4095},
260                   "min": 0, "max": 4096}},
261        "output_port": {
262          "type": {"key": {"type": "uuid",
263                           "refTable": "Port",
264                           "refType": "weak"},
265                   "min": 0, "max": 1}},
266        "output_vlan": {
267          "type": {"key": {"type": "integer",
268                           "minInteger": 1,
269                           "maxInteger": 4095},
270                   "min": 0, "max": 1}},
271        "external_ids": {
272          "type": {"key": "string", "value": "string",
273                   "min": 0, "max": "unlimited"}}}},
274    "NetFlow": {
275      "columns": {
276        "targets": {
277          "type": {"key": {"type": "string"},
278                   "min": 1, "max": "unlimited"}},
279        "engine_type": {
280          "type": {"key": {"type": "integer",
281                           "minInteger": 0,
282                           "maxInteger": 255},
283                   "min": 0, "max": 1}},
284        "engine_id": {
285          "type": {"key": {"type": "integer",
286                           "minInteger": 0,
287                           "maxInteger": 255},
288                   "min": 0, "max": 1}},
289        "add_id_to_interface": {
290          "type": "boolean"},
291        "active_timeout": {
292          "type": {"key": {"type": "integer",
293                           "minInteger": -1}}},
294        "external_ids": {
295          "type": {"key": "string", "value": "string",
296                   "min": 0, "max": "unlimited"}}}},
297    "sFlow": {
298      "columns": {
299        "targets": {
300          "type": {"key": "string", "min": 1, "max": "unlimited"}},
301        "sampling": {
302          "type": {"key": "integer", "min": 0, "max": 1}},
303        "polling": {
304          "type": {"key": "integer", "min": 0, "max": 1}},
305        "header": {
306          "type": {"key": "integer", "min": 0, "max": 1}},
307        "agent": {
308          "type": {"key": "string", "min": 0, "max": 1}},
309        "external_ids": {
310          "type": {"key": "string", "value": "string",
311                   "min": 0, "max": "unlimited"}}}},
312    "Controller": {
313      "columns": {
314        "target": {
315          "type": "string"},
316        "max_backoff": {
317          "type": {"key": {"type": "integer",
318                           "minInteger": 1000},
319                   "min": 0, "max": 1}},
320        "inactivity_probe": {
321          "type": {"key": "integer", "min": 0, "max": 1}},
322        "connection_mode": {
323          "type": {"key": {"type": "string",
324                   "enum": ["set", ["in-band", "out-of-band"]]},
325                   "min": 0, "max": 1}},
326        "local_ip": {
327          "type": {"key": {"type": "string"},
328                   "min": 0, "max": 1}},
329        "local_netmask": {
330          "type": {"key": {"type": "string"},
331                   "min": 0, "max": 1}},
332        "local_gateway": {
333          "type": {"key": {"type": "string"},
334                   "min": 0, "max": 1}},
335        "controller_rate_limit": {
336          "type": {"key": {"type": "integer",
337                           "minInteger": 100},
338                   "min": 0, "max": 1}},
339        "controller_burst_limit": {
340          "type": {"key": {"type": "integer",
341                           "minInteger": 25},
342                   "min": 0, "max": 1}},
343        "external_ids": {
344          "type": {"key": "string", "value": "string",
345                   "min": 0, "max": "unlimited"}},
346        "is_connected": {
347          "type": "boolean",
348          "ephemeral": true},
349        "role": {
350          "type": {"key": {"type": "string",
351                           "enum": ["set", ["other", "master", "slave"]]},
352                   "min": 0, "max": 1},
353          "ephemeral": true},
354        "status": {
355          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
356          "ephemeral": true}}},
357    "Manager": {
358      "columns": {
359        "target": {
360          "type": "string"},
361        "max_backoff": {
362          "type": {"key": {"type": "integer",
363                           "minInteger": 1000},
364                   "min": 0, "max": 1}},
365        "inactivity_probe": {
366          "type": {"key": "integer", "min": 0, "max": 1}},
367        "connection_mode": {
368          "type": {"key": {"type": "string",
369                   "enum": ["set", ["in-band", "out-of-band"]]},
370                   "min": 0, "max": 1}},
371        "external_ids": {
372          "type": {"key": "string", "value": "string",
373                   "min": 0, "max": "unlimited"}},
374        "is_connected": {
375          "type": "boolean",
376          "ephemeral": true},
377        "status": {
378          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
379          "ephemeral": true}}},
380    "SSL": {
381      "columns": {
382        "private_key": {
383          "type": "string"},
384        "certificate": {
385          "type": "string"},
386        "ca_cert": {
387          "type": "string"},
388        "bootstrap_ca_cert": {
389          "type": "boolean"},
390        "external_ids": {
391          "type": {"key": "string", "value": "string",
392                   "min": 0, "max": "unlimited"}}},
393      "maxRows": 1}}}