dpif-netlink: add GENEVE creation support
[cascardo/ovs.git] / ovn / ovn-nb.ovsschema
1 {
2     "name": "OVN_Northbound",
3     "version": "3.1.0",
4     "cksum": "1426508118 6135",
5     "tables": {
6         "Logical_Switch": {
7             "columns": {
8                 "name": {"type": "string"},
9                 "ports": {"type": {"key": {"type": "uuid",
10                                            "refTable": "Logical_Switch_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_Switch_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                 "static_routes": {"type": {"key": {"type": "uuid",
75                                             "refTable": "Logical_Router_Static_Route",
76                                             "refType": "strong"},
77                                    "min": 0,
78                                    "max": "unlimited"}},
79                 "default_gw": {"type": {"key": "string", "min": 0, "max": 1}},
80                 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
81                 "nat": {"type": {"key": {"type": "uuid",
82                                          "refTable": "NAT",
83                                          "refType": "strong"},
84                                  "min": 0,
85                                  "max": "unlimited"}},
86                 "options": {
87                      "type": {"key": "string",
88                               "value": "string",
89                               "min": 0,
90                               "max": "unlimited"}},
91                 "external_ids": {
92                     "type": {"key": "string", "value": "string",
93                              "min": 0, "max": "unlimited"}}},
94             "isRoot": true},
95         "Logical_Router_Port": {
96             "columns": {
97                 "name": {"type": "string"},
98                 "network": {"type": "string"},
99                 "mac": {"type": "string"},
100                 "peer": {"type": {"key": "string", "min": 0, "max": 1}},
101                 "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}},
102                 "external_ids": {
103                     "type": {"key": "string", "value": "string",
104                              "min": 0, "max": "unlimited"}}},
105             "indexes": [["name"]],
106             "isRoot": false},
107         "Logical_Router_Static_Route": {
108             "columns": {
109                 "ip_prefix": {"type": "string"},
110                 "nexthop": {"type": "string"},
111                 "output_port": {"type": {"key": "string", "min": 0, "max": 1}}},
112             "isRoot": false},
113         "NAT": {
114             "columns": {
115                 "external_ip": {"type": "string"},
116                 "logical_ip": {"type": "string"},
117                 "type": {"type": {"key": {"type": "string",
118                                            "enum": ["set", ["dnat",
119                                                              "snat",
120                                                              "dnat_and_snat"
121                                                                ]]}}}},
122             "isRoot": false}
123     }
124 }