ovn-nbctl: Add lport-get-up command.
[cascardo/ovs.git] / ovn / ovn.ovsschema
1 {
2     "name": "OVN",
3     "tables": {
4         "Chassis": {
5             "columns": {
6                 "name": {"type": "string"},
7                 "encaps": {"type": {"key": {"type": "uuid",
8                                             "refTable": "Encap"},
9                                     "min": 1, "max": "unlimited"}},
10                 "gateway_ports": {"type": {"key": "string",
11                                            "value": {"type": "uuid",
12                                                      "refTable": "Gateway",
13                                                      "refType": "strong"},
14                                            "min": 0,
15                                            "max": "unlimited"}}},
16             "isRoot": true,
17             "indexes": [["name"]]},
18         "Encap": {
19             "columns": {
20                 "type": {"type": "string"},
21                 "options": {"type": {"key": "string",
22                                      "value": "string",
23                                      "min": 0,
24                                      "max": "unlimited"}},
25                 "ip": {"type": "string"}}},
26         "Gateway": {
27             "columns": {"attached_port": {"type": "string"},
28                         "vlan_map": {"type": {"key": {"type": "integer",
29                                                       "minInteger": 0,
30                                                       "maxInteger": 4095},
31                                               "value": {"type": "string"},
32                                               "min": 0,
33                                               "max": "unlimited"}}}},
34         "Pipeline": {
35             "columns": {
36                 "table_id": {"type": {"key": {"type": "integer",
37                                               "minInteger": 0,
38                                               "maxInteger": 127}}},
39                 "priority": {"type": {"key": {"type": "integer",
40                                               "minInteger": 0,
41                                               "maxInteger": 65535}}},
42                 "match": {"type": "string"},
43                 "actions": {"type": "string"}},
44             "isRoot": true},
45         "Bindings": {
46             "columns": {
47                 "logical_port": {"type": "string"},
48                 "parent_port": {"type": {"key": "string", "min": 0, "max": 1}},
49                 "tag": {
50                      "type": {"key": {"type": "integer",
51                                       "minInteger": 0,
52                                       "maxInteger": 4095},
53                               "min": 0, "max": 1}},
54                 "chassis": {"type": "string"},
55                 "mac": {"type": {"key": "string",
56                                  "min": 0,
57                                  "max": "unlimited"}}},
58             "indexes": [["logical_port"]],
59             "isRoot": true}},
60     "version": "1.0.0"}