]> git.proxmox.com Git - ovs.git/blob - ovn/ovn-sb.ovsschema
fail-open: Refactor NORMAL flow add/del
[ovs.git] / ovn / ovn-sb.ovsschema
1 {
2 "name": "OVN_Southbound",
3 "version": "1.15.0",
4 "cksum": "70426956 13327",
5 "tables": {
6 "SB_Global": {
7 "columns": {
8 "nb_cfg": {"type": {"key": "integer"}},
9 "external_ids": {
10 "type": {"key": "string", "value": "string",
11 "min": 0, "max": "unlimited"}},
12 "connections": {
13 "type": {"key": {"type": "uuid",
14 "refTable": "Connection"},
15 "min": 0,
16 "max": "unlimited"}},
17 "ssl": {
18 "type": {"key": {"type": "uuid",
19 "refTable": "SSL"},
20 "min": 0, "max": 1}}},
21 "maxRows": 1,
22 "isRoot": true},
23 "Chassis": {
24 "columns": {
25 "name": {"type": "string"},
26 "hostname": {"type": "string"},
27 "encaps": {"type": {"key": {"type": "uuid",
28 "refTable": "Encap"},
29 "min": 1, "max": "unlimited"}},
30 "vtep_logical_switches" : {"type": {"key": "string",
31 "min": 0,
32 "max": "unlimited"}},
33 "nb_cfg": {"type": {"key": "integer"}},
34 "external_ids": {
35 "type": {"key": "string", "value": "string",
36 "min": 0, "max": "unlimited"}}},
37 "isRoot": true,
38 "indexes": [["name"]]},
39 "Encap": {
40 "columns": {
41 "type": {"type": {"key": {
42 "type": "string",
43 "enum": ["set", ["geneve", "stt", "vxlan"]]}}},
44 "options": {"type": {"key": "string",
45 "value": "string",
46 "min": 0,
47 "max": "unlimited"}},
48 "ip": {"type": "string"},
49 "chassis_name": {"type": "string"}}},
50 "Address_Set": {
51 "columns": {
52 "name": {"type": "string"},
53 "addresses": {"type": {"key": "string",
54 "min": 0,
55 "max": "unlimited"}}},
56 "indexes": [["name"]],
57 "isRoot": true},
58 "Logical_Flow": {
59 "columns": {
60 "logical_datapath": {"type": {"key": {"type": "uuid",
61 "refTable": "Datapath_Binding"}}},
62 "pipeline": {"type": {"key": {"type": "string",
63 "enum": ["set", ["ingress",
64 "egress"]]}}},
65 "table_id": {"type": {"key": {"type": "integer",
66 "minInteger": 0,
67 "maxInteger": 23}}},
68 "priority": {"type": {"key": {"type": "integer",
69 "minInteger": 0,
70 "maxInteger": 65535}}},
71 "match": {"type": "string"},
72 "actions": {"type": "string"},
73 "external_ids": {
74 "type": {"key": "string", "value": "string",
75 "min": 0, "max": "unlimited"}}},
76 "isRoot": true},
77 "Multicast_Group": {
78 "columns": {
79 "datapath": {"type": {"key": {"type": "uuid",
80 "refTable": "Datapath_Binding"}}},
81 "name": {"type": "string"},
82 "tunnel_key": {
83 "type": {"key": {"type": "integer",
84 "minInteger": 32768,
85 "maxInteger": 65535}}},
86 "ports": {"type": {"key": {"type": "uuid",
87 "refTable": "Port_Binding",
88 "refType": "weak"},
89 "min": 1, "max": "unlimited"}}},
90 "indexes": [["datapath", "tunnel_key"],
91 ["datapath", "name"]],
92 "isRoot": true},
93 "Datapath_Binding": {
94 "columns": {
95 "tunnel_key": {
96 "type": {"key": {"type": "integer",
97 "minInteger": 1,
98 "maxInteger": 16777215}}},
99 "external_ids": {
100 "type": {"key": "string", "value": "string",
101 "min": 0, "max": "unlimited"}}},
102 "indexes": [["tunnel_key"]],
103 "isRoot": true},
104 "Port_Binding": {
105 "columns": {
106 "logical_port": {"type": "string"},
107 "type": {"type": "string"},
108 "gateway_chassis": {
109 "type": {"key": {"type": "uuid",
110 "refTable": "Gateway_Chassis",
111 "refType": "strong"},
112 "min": 0,
113 "max": "unlimited"}},
114 "options": {
115 "type": {"key": "string",
116 "value": "string",
117 "min": 0,
118 "max": "unlimited"}},
119 "datapath": {"type": {"key": {"type": "uuid",
120 "refTable": "Datapath_Binding"}}},
121 "tunnel_key": {
122 "type": {"key": {"type": "integer",
123 "minInteger": 1,
124 "maxInteger": 32767}}},
125 "parent_port": {"type": {"key": "string", "min": 0, "max": 1}},
126 "tag": {
127 "type": {"key": {"type": "integer",
128 "minInteger": 1,
129 "maxInteger": 4095},
130 "min": 0, "max": 1}},
131 "chassis": {"type": {"key": {"type": "uuid",
132 "refTable": "Chassis",
133 "refType": "weak"},
134 "min": 0, "max": 1}},
135 "mac": {"type": {"key": "string",
136 "min": 0,
137 "max": "unlimited"}},
138 "nat_addresses": {"type": {"key": "string",
139 "min": 0,
140 "max": "unlimited"}},
141 "external_ids": {"type": {"key": "string",
142 "value": "string",
143 "min": 0,
144 "max": "unlimited"}}},
145 "indexes": [["datapath", "tunnel_key"], ["logical_port"]],
146 "isRoot": true},
147 "MAC_Binding": {
148 "columns": {
149 "logical_port": {"type": "string"},
150 "ip": {"type": "string"},
151 "mac": {"type": "string"},
152 "datapath": {"type": {"key": {"type": "uuid",
153 "refTable": "Datapath_Binding"}}}},
154 "indexes": [["logical_port", "ip"]],
155 "isRoot": true},
156 "DHCP_Options": {
157 "columns": {
158 "name": {"type": "string"},
159 "code": {
160 "type": {"key": {"type": "integer",
161 "minInteger": 0, "maxInteger": 254}}},
162 "type": {
163 "type": {"key": {
164 "type": "string",
165 "enum": ["set", ["bool", "uint8", "uint16", "uint32",
166 "ipv4", "static_routes", "str"]]}}}},
167 "isRoot": true},
168 "DHCPv6_Options": {
169 "columns": {
170 "name": {"type": "string"},
171 "code": {
172 "type": {"key": {"type": "integer",
173 "minInteger": 0, "maxInteger": 254}}},
174 "type": {
175 "type": {"key": {
176 "type": "string",
177 "enum": ["set", ["ipv6", "str", "mac"]]}}}},
178 "isRoot": true},
179 "Connection": {
180 "columns": {
181 "target": {"type": "string"},
182 "max_backoff": {"type": {"key": {"type": "integer",
183 "minInteger": 1000},
184 "min": 0,
185 "max": 1}},
186 "inactivity_probe": {"type": {"key": "integer",
187 "min": 0,
188 "max": 1}},
189 "read_only": {"type": "boolean"},
190 "role": {"type": "string"},
191 "other_config": {"type": {"key": "string",
192 "value": "string",
193 "min": 0,
194 "max": "unlimited"}},
195 "external_ids": {"type": {"key": "string",
196 "value": "string",
197 "min": 0,
198 "max": "unlimited"}},
199 "is_connected": {"type": "boolean", "ephemeral": true},
200 "status": {"type": {"key": "string",
201 "value": "string",
202 "min": 0,
203 "max": "unlimited"},
204 "ephemeral": true}},
205 "indexes": [["target"]]},
206 "SSL": {
207 "columns": {
208 "private_key": {"type": "string"},
209 "certificate": {"type": "string"},
210 "ca_cert": {"type": "string"},
211 "bootstrap_ca_cert": {"type": "boolean"},
212 "ssl_protocols": {"type": "string"},
213 "ssl_ciphers": {"type": "string"},
214 "external_ids": {"type": {"key": "string",
215 "value": "string",
216 "min": 0,
217 "max": "unlimited"}}},
218 "maxRows": 1},
219 "DNS": {
220 "columns": {
221 "records": {"type": {"key": "string",
222 "value": "string",
223 "min": 0,
224 "max": "unlimited"}},
225 "datapaths": {"type": {"key": {"type": "uuid",
226 "refTable": "Datapath_Binding"},
227 "min": 1,
228 "max": "unlimited"}},
229 "external_ids": {"type": {"key": "string",
230 "value": "string",
231 "min": 0,
232 "max": "unlimited"}}},
233 "isRoot": true},
234 "RBAC_Role": {
235 "columns": {
236 "name": {"type": "string"},
237 "permissions": {
238 "type": {"key": {"type": "string"},
239 "value": {"type": "uuid",
240 "refTable": "RBAC_Permission",
241 "refType": "weak"},
242 "min": 0, "max": "unlimited"}}},
243 "isRoot": true},
244 "RBAC_Permission": {
245 "columns": {
246 "table": {"type": "string"},
247 "authorization": {"type": {"key": "string",
248 "min": 0,
249 "max": "unlimited"}},
250 "insert_delete": {"type": "boolean"},
251 "update" : {"type": {"key": "string",
252 "min": 0,
253 "max": "unlimited"}}},
254 "isRoot": true},
255 "Gateway_Chassis": {
256 "columns": {
257 "name": {"type": "string"},
258 "chassis": {"type": {"key": {"type": "uuid",
259 "refTable": "Chassis",
260 "refType": "weak"},
261 "min": 0, "max": 1}},
262 "priority": {"type": {"key": {"type": "integer",
263 "minInteger": 0,
264 "maxInteger": 32767}}},
265 "external_ids": {
266 "type": {"key": "string", "value": "string",
267 "min": 0, "max": "unlimited"}},
268 "options": {
269 "type": {"key": "string", "value": "string",
270 "min": 0, "max": "unlimited"}}},
271 "indexes": [["name"]],
272 "isRoot": false}}}