]> git.proxmox.com Git - mirror_ovs.git/blame - ovn/ovn-sb.ovsschema
ovn: add rbac tables to ovn southbound schema
[mirror_ovs.git] / ovn / ovn-sb.ovsschema
CommitLineData
fe36184b 1{
ec78987f 2 "name": "OVN_Southbound",
75ddb5f4
LR
3 "version": "1.13.0",
4 "cksum": "3451836240 12038",
fe36184b 5 "tables": {
fa183acc
BP
6 "SB_Global": {
7 "columns": {
8 "nb_cfg": {"type": {"key": "integer"}},
9 "external_ids": {
10 "type": {"key": "string", "value": "string",
7fff4eb7
LR
11 "min": 0, "max": "unlimited"}},
12 "connections": {
13 "type": {"key": {"type": "uuid",
14 "refTable": "Connection"},
15 "min": 0,
10471820
LR
16 "max": "unlimited"}},
17 "ssl": {
18 "type": {"key": {"type": "uuid",
19 "refTable": "SSL"},
20 "min": 0, "max": 1}}},
fa183acc
BP
21 "maxRows": 1,
22 "isRoot": true},
fe36184b
BP
23 "Chassis": {
24 "columns": {
25 "name": {"type": "string"},
2229f3ec 26 "hostname": {"type": "string"},
09db214c
JP
27 "encaps": {"type": {"key": {"type": "uuid",
28 "refTable": "Encap"},
29 "min": 1, "max": "unlimited"}},
62fdd819
AW
30 "vtep_logical_switches" : {"type": {"key": "string",
31 "min": 0,
1cef5fff 32 "max": "unlimited"}},
fa183acc 33 "nb_cfg": {"type": {"key": "integer"}},
1cef5fff
RB
34 "external_ids": {
35 "type": {"key": "string", "value": "string",
36 "min": 0, "max": "unlimited"}}},
fe36184b
BP
37 "isRoot": true,
38 "indexes": [["name"]]},
09db214c
JP
39 "Encap": {
40 "columns": {
b705f9ea
JP
41 "type": {"type": {"key": {
42 "type": "string",
43 "enum": ["set", ["geneve", "stt", "vxlan"]]}}},
09db214c
JP
44 "options": {"type": {"key": "string",
45 "value": "string",
46 "min": 0,
47 "max": "unlimited"}},
48 "ip": {"type": "string"}}},
ea382567
RB
49 "Address_Set": {
50 "columns": {
51 "name": {"type": "string"},
52 "addresses": {"type": {"key": "string",
53 "min": 0,
54 "max": "unlimited"}}},
55 "indexes": [["name"]],
56 "isRoot": true},
48605550 57 "Logical_Flow": {
fe36184b 58 "columns": {
5868eb24
BP
59 "logical_datapath": {"type": {"key": {"type": "uuid",
60 "refTable": "Datapath_Binding"}}},
61 "pipeline": {"type": {"key": {"type": "string",
62 "enum": ["set", ["ingress",
63 "egress"]]}}},
fe36184b
BP
64 "table_id": {"type": {"key": {"type": "integer",
65 "minInteger": 0,
00c875d0 66 "maxInteger": 23}}},
fe36184b
BP
67 "priority": {"type": {"key": {"type": "integer",
68 "minInteger": 0,
69 "maxInteger": 65535}}},
70 "match": {"type": "string"},
091e3af9
JP
71 "actions": {"type": "string"},
72 "external_ids": {
73 "type": {"key": "string", "value": "string",
74 "min": 0, "max": "unlimited"}}},
fe36184b 75 "isRoot": true},
5868eb24
BP
76 "Multicast_Group": {
77 "columns": {
78 "datapath": {"type": {"key": {"type": "uuid",
79 "refTable": "Datapath_Binding"}}},
80 "name": {"type": "string"},
81 "tunnel_key": {
82 "type": {"key": {"type": "integer",
83 "minInteger": 32768,
84 "maxInteger": 65535}}},
85 "ports": {"type": {"key": {"type": "uuid",
86 "refTable": "Port_Binding",
87 "refType": "weak"},
88 "min": 1, "max": "unlimited"}}},
89 "indexes": [["datapath", "tunnel_key"],
90 ["datapath", "name"]],
91 "isRoot": true},
92 "Datapath_Binding": {
93 "columns": {
94 "tunnel_key": {
95 "type": {"key": {"type": "integer",
96 "minInteger": 1,
97 "maxInteger": 16777215}}},
98 "external_ids": {
99 "type": {"key": "string", "value": "string",
100 "min": 0, "max": "unlimited"}}},
101 "indexes": [["tunnel_key"]],
102 "isRoot": true},
dcda6e0d 103 "Port_Binding": {
fe36184b
BP
104 "columns": {
105 "logical_port": {"type": "string"},
1a76c93e
RB
106 "type": {"type": "string"},
107 "options": {
108 "type": {"key": "string",
109 "value": "string",
110 "min": 0,
111 "max": "unlimited"}},
5868eb24
BP
112 "datapath": {"type": {"key": {"type": "uuid",
113 "refTable": "Datapath_Binding"}}},
eb00399e
BP
114 "tunnel_key": {
115 "type": {"key": {"type": "integer",
116 "minInteger": 1,
5868eb24 117 "maxInteger": 32767}}},
9fb4636f
GS
118 "parent_port": {"type": {"key": "string", "min": 0, "max": 1}},
119 "tag": {
120 "type": {"key": {"type": "integer",
0a45a9e9 121 "minInteger": 1,
9fb4636f
GS
122 "maxInteger": 4095},
123 "min": 0, "max": 1}},
71332231
AW
124 "chassis": {"type": {"key": {"type": "uuid",
125 "refTable": "Chassis",
126 "refType": "weak"},
127 "min": 0, "max": 1}},
fe36184b
BP
128 "mac": {"type": {"key": "string",
129 "min": 0,
f40c5588
MS
130 "max": "unlimited"}},
131 "nat_addresses": {"type": {"key": "string",
132 "min": 0,
4a680bff
BP
133 "max": "unlimited"}},
134 "external_ids": {"type": {"key": "string",
135 "value": "string",
136 "min": 0,
137 "max": "unlimited"}}},
5868eb24 138 "indexes": [["datapath", "tunnel_key"], ["logical_port"]],
0bac7164
BP
139 "isRoot": true},
140 "MAC_Binding": {
141 "columns": {
142 "logical_port": {"type": "string"},
143 "ip": {"type": "string"},
791a7747
LS
144 "mac": {"type": "string"},
145 "datapath": {"type": {"key": {"type": "uuid",
146 "refTable": "Datapath_Binding"}}}},
0bac7164 147 "indexes": [["logical_port", "ip"]],
42814145
NS
148 "isRoot": true},
149 "DHCP_Options": {
150 "columns": {
151 "name": {"type": "string"},
152 "code": {
153 "type": {"key": {"type": "integer",
154 "minInteger": 0, "maxInteger": 254}}},
155 "type": {
156 "type": {"key": {
157 "type": "string",
158 "enum": ["set", ["bool", "uint8", "uint16", "uint32",
159 "ipv4", "static_routes", "str"]]}}}},
01cfdb2f
NS
160 "isRoot": true},
161 "DHCPv6_Options": {
162 "columns": {
163 "name": {"type": "string"},
164 "code": {
165 "type": {"key": {"type": "integer",
166 "minInteger": 0, "maxInteger": 254}}},
167 "type": {
168 "type": {"key": {
169 "type": "string",
170 "enum": ["set", ["ipv6", "str", "mac"]]}}}},
7fff4eb7
LR
171 "isRoot": true},
172 "Connection": {
173 "columns": {
174 "target": {"type": "string"},
175 "max_backoff": {"type": {"key": {"type": "integer",
176 "minInteger": 1000},
177 "min": 0,
178 "max": 1}},
179 "inactivity_probe": {"type": {"key": "integer",
180 "min": 0,
181 "max": 1}},
182 "read_only": {"type": "boolean"},
75ddb5f4 183 "role": {"type": "string"},
7fff4eb7
LR
184 "other_config": {"type": {"key": "string",
185 "value": "string",
186 "min": 0,
187 "max": "unlimited"}},
188 "external_ids": {"type": {"key": "string",
189 "value": "string",
190 "min": 0,
191 "max": "unlimited"}},
192 "is_connected": {"type": "boolean", "ephemeral": true},
193 "status": {"type": {"key": "string",
194 "value": "string",
195 "min": 0,
196 "max": "unlimited"},
197 "ephemeral": true}},
10471820
LR
198 "indexes": [["target"]]},
199 "SSL": {
200 "columns": {
201 "private_key": {"type": "string"},
202 "certificate": {"type": "string"},
203 "ca_cert": {"type": "string"},
204 "bootstrap_ca_cert": {"type": "boolean"},
51af591b
LR
205 "ssl_protocols": {"type": "string"},
206 "ssl_ciphers": {"type": "string"},
10471820
LR
207 "external_ids": {"type": {"key": "string",
208 "value": "string",
209 "min": 0,
210 "max": "unlimited"}}},
ea991ad2
NS
211 "maxRows": 1},
212 "DNS": {
213 "columns": {
214 "records": {"type": {"key": "string",
215 "value": "string",
216 "min": 0,
217 "max": "unlimited"}},
218 "datapaths": {"type": {"key": {"type": "uuid",
219 "refTable": "Datapath_Binding"},
220 "min": 1,
221 "max": "unlimited"}},
222 "external_ids": {"type": {"key": "string",
223 "value": "string",
224 "min": 0,
225 "max": "unlimited"}}},
75ddb5f4
LR
226 "isRoot": true},
227 "RBAC_Role": {
228 "columns": {
229 "name": {"type": "string"},
230 "permissions": {
231 "type": {"key": {"type": "string"},
232 "value": {"type": "uuid",
233 "refTable": "RBAC_Permission",
234 "refType": "weak"},
235 "min": 0, "max": "unlimited"}}},
236 "isRoot": true},
237 "RBAC_Permission": {
238 "columns": {
239 "table": {"type": "string"},
240 "authorization": {"type": {"key": "string",
241 "min": 0,
242 "max": "unlimited"}},
243 "insert_delete": {"type": "boolean"},
244 "update" : {"type": {"key": "string",
245 "min": 0,
246 "max": "unlimited"}}},
ea991ad2 247 "isRoot": true}}}