command-line: add ovs_cmdl_ prefix
[cascardo/ovs.git] / vswitchd / vswitch.ovsschema
1 {"name": "Open_vSwitch",
2  "version": "7.11.2",
3  "cksum": "320332148 22294",
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        "other_config": {
20          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
21        "external_ids": {
22          "type": {"key": "string", "value": "string",
23                   "min": 0, "max": "unlimited"}},
24        "next_cfg": {
25          "type": "integer"},
26        "cur_cfg": {
27          "type": "integer"},
28        "statistics": {
29          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
30          "ephemeral": true},
31        "ovs_version": {
32          "type": {"key": {"type": "string"},
33                   "min": 0, "max": 1}},
34        "db_version": {
35          "type": {"key": {"type": "string"},
36                   "min": 0, "max": 1}},
37        "system_type": {
38          "type": {"key": {"type": "string"},
39                   "min": 0, "max": 1}},
40        "system_version": {
41          "type": {"key": {"type": "string"},
42                   "min": 0, "max": 1}}},
43      "isRoot": true,
44      "maxRows": 1},
45    "Bridge": {
46      "columns": {
47        "name": {
48          "type": "string",
49          "mutable": false},
50        "datapath_type": {
51          "type": "string"},
52        "datapath_version": {
53          "type": "string"},
54        "datapath_id": {
55          "type": {"key": "string", "min": 0, "max": 1},
56          "ephemeral": true},
57        "stp_enable": {
58          "type": "boolean"},
59        "rstp_enable": {
60          "type": "boolean"},
61        "mcast_snooping_enable": {
62          "type": "boolean"},
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        "ipfix": {
80          "type": {"key": {"type": "uuid",
81                           "refTable": "IPFIX"},
82                   "min": 0, "max": 1}},
83        "controller": {
84          "type": {"key": {"type": "uuid",
85                           "refTable": "Controller"},
86                   "min": 0, "max": "unlimited"}},
87        "protocols": {
88          "type": {"key": {"type": "string",
89            "enum": ["set", ["OpenFlow10",
90                             "OpenFlow11",
91                             "OpenFlow12",
92                             "OpenFlow13",
93                             "OpenFlow14",
94                             "OpenFlow15"]]},
95            "min": 0, "max": "unlimited"}},
96        "fail_mode": {
97          "type": {"key": {"type": "string",
98                           "enum": ["set", ["standalone", "secure"]]},
99                   "min": 0, "max": 1}},
100        "status": {
101          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
102          "ephemeral": true},
103        "rstp_status": {
104          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
105          "ephemeral": true},
106        "other_config": {
107          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
108        "external_ids": {
109          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
110        "flood_vlans": {
111          "type": {"key": {"type": "integer",
112                           "minInteger": 0,
113                           "maxInteger": 4095},
114                   "min": 0, "max": 4096}},
115        "flow_tables": {
116          "type": {"key": {"type": "integer",
117                           "minInteger": 0,
118                           "maxInteger": 254},
119                   "value": {"type": "uuid",
120                             "refTable": "Flow_Table"},
121                   "min": 0, "max": "unlimited"}},
122        "auto_attach": {
123          "type": {"key": {"type": "uuid",
124                           "refTable": "AutoAttach"},
125                   "min": 0, "max": 1}}},
126      "indexes": [["name"]]},
127    "Port": {
128      "columns": {
129        "name": {
130          "type": "string",
131          "mutable": false},
132        "interfaces": {
133          "type": {"key": {"type": "uuid",
134                           "refTable": "Interface"},
135                   "min": 1, "max": "unlimited"}},
136        "trunks": {
137          "type": {"key": {"type": "integer",
138                           "minInteger": 0,
139                           "maxInteger": 4095},
140                   "min": 0, "max": 4096}},
141        "tag": {
142          "type": {"key": {"type": "integer",
143                           "minInteger": 0,
144                           "maxInteger": 4095},
145                   "min": 0, "max": 1}},
146        "vlan_mode": {
147          "type": {"key": {"type": "string",
148            "enum": ["set", ["trunk", "access", "native-tagged", "native-untagged"]]},
149          "min": 0, "max": 1}},
150        "qos": {
151          "type": {"key": {"type": "uuid",
152                           "refTable": "QoS"},
153                   "min": 0, "max": 1}},
154        "mac": {
155          "type": {"key": {"type": "string"},
156                   "min": 0, "max": 1}},
157        "bond_mode": {
158          "type": {"key": {"type": "string",
159            "enum": ["set", ["balance-tcp", "balance-slb", "active-backup"]]},
160          "min": 0, "max": 1}},
161        "lacp": {
162          "type": {"key": {"type": "string",
163            "enum": ["set", ["active", "passive", "off"]]},
164          "min": 0, "max": 1}},
165        "bond_updelay": {
166          "type": "integer"},
167        "bond_downdelay": {
168          "type": "integer"},
169        "bond_active_slave": {
170          "type": {"key": {"type": "string"},
171                   "min": 0, "max": 1}},
172        "bond_fake_iface": {
173          "type": "boolean"},
174        "fake_bridge": {
175          "type": "boolean"},
176        "status": {
177          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
178          "ephemeral": true},
179        "rstp_status": {
180          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
181          "ephemeral": true},
182        "rstp_statistics": {
183            "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
184            "ephemeral": true},
185        "statistics": {
186          "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
187          "ephemeral": true},
188        "other_config": {
189          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
190        "external_ids": {
191          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}},
192      "indexes": [["name"]]},
193    "Interface": {
194      "columns": {
195        "name": {
196          "type": "string",
197          "mutable": false},
198        "type": {
199          "type": "string"},
200        "options": {
201          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
202        "ingress_policing_rate": {
203          "type": {"key": {"type": "integer",
204                           "minInteger": 0}}},
205        "ingress_policing_burst": {
206          "type": {"key": {"type": "integer",
207                           "minInteger": 0}}},
208        "mac_in_use": {
209          "type": {"key": {"type": "string"},
210                   "min": 0, "max": 1},
211                   "ephemeral": true},
212        "mac": {
213          "type": {"key": {"type": "string"},
214                   "min": 0, "max": 1}},
215        "ifindex": {
216          "type": {
217            "key": {"type": "integer",
218                    "minInteger": 0,
219                    "maxInteger": 4294967295},
220            "min": 0,
221            "max": 1},
222          "ephemeral": true},
223        "external_ids": {
224          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
225        "ofport": {
226          "type": {"key": "integer", "min": 0, "max": 1}},
227        "ofport_request": {
228          "type": {
229            "key": {"type": "integer",
230                    "minInteger": 1,
231                    "maxInteger": 65279},
232            "min": 0,
233            "max": 1}},
234        "bfd": {
235            "type": {"key": "string", "value": "string",
236                "min": 0, "max": "unlimited"}},
237        "bfd_status": {
238            "type": {"key": "string", "value": "string",
239                "min": 0, "max": "unlimited"}},
240        "cfm_mpid": {
241          "type": {
242            "key": {"type": "integer"},
243            "min": 0,
244            "max": 1}},
245        "cfm_remote_mpids": {
246          "type": {
247            "key": {"type": "integer"},
248            "min": 0,
249            "max": "unlimited"},
250          "ephemeral": true},
251        "cfm_flap_count": {
252          "type": {
253            "key": {"type": "integer"},
254            "min": 0,
255            "max": 1}},
256        "cfm_fault": {
257          "type": {
258            "key": { "type": "boolean"},
259            "min": 0,
260            "max": 1},
261          "ephemeral": true},
262        "cfm_fault_status": {
263          "type": {
264            "key": "string", "min": 0, "max": "unlimited"},
265            "ephemeral": true},
266        "cfm_remote_opstate": {
267          "type": {"key": {"type": "string",
268                           "enum": ["set", ["up", "down"]]},
269                   "min": 0, "max": 1},
270          "ephemeral": true},
271        "cfm_health": {
272          "type": {"key": {"type": "integer",
273                           "minInteger": 0,
274                           "maxInteger": 100},
275                   "min": 0, "max": 1},
276            "ephemeral": true},
277        "lacp_current": {
278          "type": {"key": {"type": "boolean"},
279                   "min": 0, "max": 1},
280          "ephemeral": true},
281        "lldp": {
282            "type": {"key": "string", "value": "string",
283                "min": 0, "max": "unlimited"}},
284        "other_config": {
285          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
286        "statistics": {
287          "type": {"key": "string", "value": "integer", "min": 0, "max": "unlimited"},
288          "ephemeral": true},
289        "status": {
290          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
291          "ephemeral": true},
292        "admin_state": {
293          "type": {"key": {"type": "string",
294                           "enum": ["set", ["up", "down"]]},
295                   "min": 0, "max": 1},
296          "ephemeral": true},
297        "link_state": {
298          "type": {"key": {"type": "string",
299                           "enum": ["set", ["up", "down"]]},
300                   "min": 0, "max": 1},
301          "ephemeral": true},
302        "link_resets": {
303          "type": {"key": {"type": "integer"},
304                   "min": 0, "max": 1},
305          "ephemeral": true},
306        "link_speed": {
307          "type": {"key": "integer", "min": 0, "max": 1},
308          "ephemeral": true},
309        "duplex": {
310          "type": {"key": {"type": "string",
311                           "enum": ["set", ["half", "full"]]},
312                   "min": 0, "max": 1},
313          "ephemeral": true},
314        "mtu": {
315          "type": {"key": "integer", "min": 0, "max": 1},
316          "ephemeral": true},
317        "error": {
318          "type": {"key": "string", "min": 0, "max": 1}}},
319      "indexes": [["name"]]},
320    "Flow_Table": {
321      "columns": {
322        "name": {
323          "type": {"key": "string", "min": 0, "max": 1}},
324        "flow_limit": {
325          "type": {"key": {"type": "integer", "minInteger": 0},
326                   "min": 0, "max": 1}},
327        "overflow_policy": {
328          "type": {"key": {"type": "string",
329                           "enum": ["set", ["refuse", "evict"]]},
330                   "min": 0, "max": 1}},
331        "groups": {
332          "type": {"key": "string", "min": 0, "max": "unlimited"}},
333        "prefixes": {
334          "type": {"key": "string", "min": 0, "max": 3}},
335        "external_ids": {
336          "type": {"key": "string", "value": "string",
337                   "min": 0, "max": "unlimited"}}}},
338    "QoS": {
339      "columns": {
340        "type": {
341          "type": "string"},
342        "queues": {
343          "type": {"key": {"type": "integer",
344                           "minInteger": 0,
345                           "maxInteger": 4294967295},
346                   "value": {"type": "uuid",
347                             "refTable": "Queue"},
348                   "min": 0, "max": "unlimited"}},
349        "other_config": {
350          "type": {"key": "string", "value": "string",
351                   "min": 0, "max": "unlimited"}},
352        "external_ids": {
353          "type": {"key": "string", "value": "string",
354                   "min": 0, "max": "unlimited"}}},
355      "isRoot": true},
356    "Queue": {
357      "columns": {
358        "dscp": {
359          "type": {"key": {"type": "integer",
360                           "minInteger": 0,
361                           "maxInteger": 63},
362                   "min": 0, "max": 1}},
363        "other_config": {
364          "type": {"key": "string", "value": "string",
365                   "min": 0, "max": "unlimited"}},
366        "external_ids": {
367          "type": {"key": "string", "value": "string",
368                   "min": 0, "max": "unlimited"}}},
369      "isRoot": true},
370    "Mirror": {
371      "columns": {
372        "name": {
373          "type": "string"},
374        "select_all": {
375          "type": "boolean"},
376        "select_src_port": {
377          "type": {"key": {"type": "uuid",
378                           "refTable": "Port",
379                           "refType": "weak"},
380                    "min": 0, "max": "unlimited"}},
381        "select_dst_port": {
382          "type": {"key": {"type": "uuid",
383                           "refTable": "Port",
384                           "refType": "weak"},
385                    "min": 0, "max": "unlimited"}},
386        "select_vlan": {
387          "type": {"key": {"type": "integer",
388                           "minInteger": 0,
389                           "maxInteger": 4095},
390                   "min": 0, "max": 4096}},
391        "output_port": {
392          "type": {"key": {"type": "uuid",
393                           "refTable": "Port",
394                           "refType": "weak"},
395                   "min": 0, "max": 1}},
396        "output_vlan": {
397          "type": {"key": {"type": "integer",
398                           "minInteger": 1,
399                           "maxInteger": 4095},
400                   "min": 0, "max": 1}},
401        "statistics": {
402          "type": {"key": "string", "value": "integer",
403                   "min": 0, "max": "unlimited"},
404          "ephemeral": true},
405        "external_ids": {
406          "type": {"key": "string", "value": "string",
407                   "min": 0, "max": "unlimited"}}}},
408    "NetFlow": {
409      "columns": {
410        "targets": {
411          "type": {"key": {"type": "string"},
412                   "min": 1, "max": "unlimited"}},
413        "engine_type": {
414          "type": {"key": {"type": "integer",
415                           "minInteger": 0,
416                           "maxInteger": 255},
417                   "min": 0, "max": 1}},
418        "engine_id": {
419          "type": {"key": {"type": "integer",
420                           "minInteger": 0,
421                           "maxInteger": 255},
422                   "min": 0, "max": 1}},
423        "add_id_to_interface": {
424          "type": "boolean"},
425        "active_timeout": {
426          "type": {"key": {"type": "integer",
427                           "minInteger": -1}}},
428        "external_ids": {
429          "type": {"key": "string", "value": "string",
430                   "min": 0, "max": "unlimited"}}}},
431    "sFlow": {
432      "columns": {
433        "targets": {
434          "type": {"key": "string", "min": 1, "max": "unlimited"}},
435        "sampling": {
436          "type": {"key": "integer", "min": 0, "max": 1}},
437        "polling": {
438          "type": {"key": "integer", "min": 0, "max": 1}},
439        "header": {
440          "type": {"key": "integer", "min": 0, "max": 1}},
441        "agent": {
442          "type": {"key": "string", "min": 0, "max": 1}},
443        "external_ids": {
444          "type": {"key": "string", "value": "string",
445                   "min": 0, "max": "unlimited"}}}},
446    "IPFIX": {
447      "columns": {
448        "targets": {
449          "type": {"key": "string", "min": 0, "max": "unlimited"}},
450        "sampling": {
451          "type": {"key": {"type": "integer",
452                           "minInteger": 1,
453                           "maxInteger": 4294967295},
454                   "min": 0, "max": 1}},
455        "obs_domain_id": {
456          "type": {"key": {"type": "integer",
457                           "minInteger": 0,
458                           "maxInteger": 4294967295},
459                   "min": 0, "max": 1}},
460        "obs_point_id": {
461          "type": {"key": {"type": "integer",
462                           "minInteger": 0,
463                           "maxInteger": 4294967295},
464                   "min": 0, "max": 1}},
465        "cache_active_timeout": {
466          "type": {"key": {"type": "integer",
467                           "minInteger": 0,
468                           "maxInteger": 4200},
469                   "min": 0, "max": 1}},
470        "cache_max_flows": {
471          "type": {"key": {"type": "integer",
472                           "minInteger": 0,
473                           "maxInteger": 4294967295},
474                   "min": 0, "max": 1}},
475        "other_config": {
476          "type": {"key": "string", "value": "string",
477                   "min": 0, "max": "unlimited"}},
478        "external_ids": {
479          "type": {"key": "string", "value": "string",
480                   "min": 0, "max": "unlimited"}}}},
481    "Flow_Sample_Collector_Set": {
482      "columns": {
483        "id": {
484          "type": {"key": {"type": "integer",
485                           "minInteger": 0,
486                           "maxInteger": 4294967295},
487                   "min": 1, "max": 1}},
488        "bridge": {
489          "type": {"key": {"type": "uuid",
490                           "refTable": "Bridge"},
491                   "min": 1, "max": 1}},
492        "ipfix": {
493          "type": {"key": {"type": "uuid",
494                           "refTable": "IPFIX"},
495                   "min": 0, "max": 1}},
496        "external_ids": {
497          "type": {"key": "string", "value": "string",
498                   "min": 0, "max": "unlimited"}}},
499      "isRoot": true,
500      "indexes": [["id", "bridge"]]},
501    "Controller": {
502      "columns": {
503        "target": {
504          "type": "string"},
505        "max_backoff": {
506          "type": {"key": {"type": "integer",
507                           "minInteger": 1000},
508                   "min": 0, "max": 1}},
509        "inactivity_probe": {
510          "type": {"key": "integer", "min": 0, "max": 1}},
511        "connection_mode": {
512          "type": {"key": {"type": "string",
513                   "enum": ["set", ["in-band", "out-of-band"]]},
514                   "min": 0, "max": 1}},
515        "local_ip": {
516          "type": {"key": {"type": "string"},
517                   "min": 0, "max": 1}},
518        "local_netmask": {
519          "type": {"key": {"type": "string"},
520                   "min": 0, "max": 1}},
521        "local_gateway": {
522          "type": {"key": {"type": "string"},
523                   "min": 0, "max": 1}},
524        "enable_async_messages": {
525          "type": {"key": {"type": "boolean"},
526                   "min": 0, "max": 1}},
527        "controller_rate_limit": {
528          "type": {"key": {"type": "integer",
529                           "minInteger": 100},
530                   "min": 0, "max": 1}},
531        "controller_burst_limit": {
532          "type": {"key": {"type": "integer",
533                           "minInteger": 25},
534                   "min": 0, "max": 1}},
535        "other_config": {
536          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
537        "external_ids": {
538          "type": {"key": "string", "value": "string",
539                   "min": 0, "max": "unlimited"}},
540        "is_connected": {
541          "type": "boolean",
542          "ephemeral": true},
543        "role": {
544          "type": {"key": {"type": "string",
545                           "enum": ["set", ["other", "master", "slave"]]},
546                   "min": 0, "max": 1},
547          "ephemeral": true},
548        "status": {
549          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
550          "ephemeral": true}}},
551    "Manager": {
552      "columns": {
553        "target": {
554          "type": "string"},
555        "max_backoff": {
556          "type": {"key": {"type": "integer",
557                           "minInteger": 1000},
558                   "min": 0, "max": 1}},
559        "inactivity_probe": {
560          "type": {"key": "integer", "min": 0, "max": 1}},
561        "connection_mode": {
562          "type": {"key": {"type": "string",
563                   "enum": ["set", ["in-band", "out-of-band"]]},
564                   "min": 0, "max": 1}},
565        "other_config": {
566          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
567        "external_ids": {
568          "type": {"key": "string", "value": "string",
569                   "min": 0, "max": "unlimited"}},
570        "is_connected": {
571          "type": "boolean",
572          "ephemeral": true},
573        "status": {
574          "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
575          "ephemeral": true}},
576      "indexes": [["target"]]},
577    "SSL": {
578      "columns": {
579        "private_key": {
580          "type": "string"},
581        "certificate": {
582          "type": "string"},
583        "ca_cert": {
584          "type": "string"},
585        "bootstrap_ca_cert": {
586          "type": "boolean"},
587        "external_ids": {
588          "type": {"key": "string", "value": "string",
589                   "min": 0, "max": "unlimited"}}},
590      "maxRows": 1},
591    "AutoAttach": {
592      "columns": {
593        "system_name": {
594          "type": "string"},
595        "system_description": {
596          "type": "string"},
597        "mappings": {
598          "type": {"key": {"type": "integer",
599                           "minInteger": 0,
600                           "maxInteger": 16777215},
601                   "value": {"type": "integer",
602                           "minInteger": 0,
603                           "maxInteger": 4095},
604                   "min": 0, "max": "unlimited"}}}}}}