ofpbuf: Fix trivial spelling typo.
[cascardo/ovs.git] / ovn / ovn-nb.ovsschema
1 {
2     "name": "OVN_Northbound",
3     "version": "2.0.1",
4     "cksum": "660370796 4618",
5     "tables": {
6         "Logical_Switch": {
7             "columns": {
8                 "name": {"type": "string"},
9                 "ports": {"type": {"key": {"type": "uuid",
10                                            "refTable": "Logical_Port",
11                                            "refType": "strong"},
12                                    "min": 0,
13                                    "max": "unlimited"}},
14                 "acls": {"type": {"key": {"type": "uuid",
15                                           "refTable": "ACL",
16                                           "refType": "strong"},
17                                   "min": 0,
18                                   "max": "unlimited"}},
19                 "external_ids": {
20                     "type": {"key": "string", "value": "string",
21                              "min": 0, "max": "unlimited"}}},
22             "isRoot": true},
23         "Logical_Port": {
24             "columns": {
25                 "name": {"type": "string"},
26                 "type": {"type": "string"},
27                 "options": {
28                      "type": {"key": "string",
29                               "value": "string",
30                               "min": 0,
31                               "max": "unlimited"}},
32                 "parent_name": {"type": {"key": "string", "min": 0, "max": 1}},
33                 "tag": {
34                      "type": {"key": {"type": "integer",
35                                       "minInteger": 1,
36                                       "maxInteger": 4095},
37                               "min": 0, "max": 1}},
38                 "addresses": {"type": {"key": "string",
39                                        "min": 0,
40                                        "max": "unlimited"}},
41                 "port_security": {"type": {"key": "string",
42                                            "min": 0,
43                                            "max": "unlimited"}},
44                 "up": {"type": {"key": "boolean", "min": 0, "max": 1}},
45                 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
46                 "external_ids": {
47                     "type": {"key": "string", "value": "string",
48                              "min": 0, "max": "unlimited"}}},
49             "indexes": [["name"]],
50             "isRoot": false},
51         "ACL": {
52             "columns": {
53                 "priority": {"type": {"key": {"type": "integer",
54                                               "minInteger": 0,
55                                               "maxInteger": 32767}}},
56                 "direction": {"type": {"key": {"type": "string",
57                                             "enum": ["set", ["from-lport", "to-lport"]]}}},
58                 "match": {"type": "string"},
59                 "action": {"type": {"key": {"type": "string",
60                                             "enum": ["set", ["allow", "allow-related", "drop", "reject"]]}}},
61                 "log": {"type": "boolean"},
62                 "external_ids": {
63                     "type": {"key": "string", "value": "string",
64                              "min": 0, "max": "unlimited"}}},
65             "isRoot": false},
66         "Logical_Router": {
67             "columns": {
68                 "name": {"type": "string"},
69                 "ports": {"type": {"key": {"type": "uuid",
70                                            "refTable": "Logical_Router_Port",
71                                            "refType": "strong"},
72                                    "min": 0,
73                                    "max": "unlimited"}},
74                 "default_gw": {"type": {"key": "string", "min": 0, "max": 1}},
75                 "external_ids": {
76                     "type": {"key": "string", "value": "string",
77                              "min": 0, "max": "unlimited"}}},
78             "isRoot": true},
79         "Logical_Router_Port": {
80             "columns": {
81                 "name": {"type": "string"},
82                 "network": {"type": "string"},
83                 "mac": {"type": "string"},
84                 "peer": {"type": {"key": {"type": "uuid",
85                                           "refTable": "Logical_Router_Port",
86                                           "refType": "strong"},
87                                   "min": 0, "max": 1}},
88                 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
89                 "external_ids": {
90                     "type": {"key": "string", "value": "string",
91                              "min": 0, "max": "unlimited"}}},
92             "indexes": [["name"]],
93             "isRoot": false}
94     }
95 }