]> git.proxmox.com Git - ovs.git/blob - vtep/vtep.ovsschema
ofpbuf: Rename 'data_delta' to 'xxx_offset'
[ovs.git] / vtep / vtep.ovsschema
1 {
2 "name": "hardware_vtep",
3 "cksum": "1621458335 10585",
4 "tables": {
5 "Global": {
6 "columns": {
7 "managers": {
8 "type": {"key": {"type": "uuid",
9 "refTable": "Manager"},
10 "min": 0, "max": "unlimited"}},
11 "switches": {
12 "type": {"key": {"type": "uuid", "refTable": "Physical_Switch"},
13 "min": 0, "max": "unlimited"}}
14 },
15 "maxRows": 1,
16 "isRoot": true},
17 "Physical_Switch": {
18 "columns": {
19 "ports": {
20 "type": {"key": {"type": "uuid", "refTable": "Physical_Port"},
21 "min": 0, "max": "unlimited"}},
22 "name": {"type": "string"},
23 "description": {"type": "string"},
24 "management_ips": {
25 "type": {"key": {"type": "string"}, "min": 0, "max": "unlimited"}},
26 "tunnel_ips": {
27 "type": {"key": {"type": "string"}, "min": 0, "max": "unlimited"}},
28 "tunnels": {
29 "type": {"key": {"type": "uuid", "refTable": "Tunnel"},
30 "min": 0, "max": "unlimited"}},
31 "switch_fault_status": {
32 "type": {
33 "key": "string", "min": 0, "max": "unlimited"},
34 "ephemeral": true}},
35 "indexes": [["name"]]},
36 "Physical_Port": {
37 "columns": {
38 "name": {"type": "string"},
39 "description": {"type": "string"},
40 "vlan_bindings": {
41 "type": {"key": {"type": "integer",
42 "minInteger": 0, "maxInteger": 4095},
43 "value": {"type": "uuid", "refTable": "Logical_Switch"},
44 "min": 0, "max": "unlimited"}},
45 "acl_bindings": {
46 "type": {"key": {"type": "integer",
47 "minInteger": 0, "maxInteger": 4095},
48 "value": {"type": "uuid", "refTable": "ACL"},
49 "min": 0, "max": "unlimited"}},
50 "vlan_stats": {
51 "type": {"key": {"type": "integer",
52 "minInteger": 0, "maxInteger": 4095},
53 "value": {"type": "uuid",
54 "refTable": "Logical_Binding_Stats"},
55 "min": 0, "max": "unlimited"},
56 "ephemeral": true},
57 "port_fault_status": {
58 "type": {
59 "key": "string", "min": 0, "max": "unlimited"},
60 "ephemeral": true}}},
61 "Tunnel": {
62 "columns": {
63 "local": {
64 "type": {"key": {"type": "uuid",
65 "refTable": "Physical_Locator"}}},
66 "remote": {
67 "type": {"key": {"type": "uuid",
68 "refTable": "Physical_Locator"}}},
69 "bfd_config_local": {
70 "type": {"key": "string", "value": "string",
71 "min": 0, "max": "unlimited"}},
72 "bfd_config_remote": {
73 "type": {"key": "string", "value": "string",
74 "min": 0, "max": "unlimited"}},
75 "bfd_params": {
76 "type": {"key": "string", "value": "string",
77 "min": 0, "max": "unlimited"}},
78 "bfd_status": {
79 "type": {"key": "string", "value": "string",
80 "min": 0, "max": "unlimited"},
81 "ephemeral": true}}},
82 "Logical_Binding_Stats": {
83 "columns": {
84 "bytes_from_local": {"type": "integer", "ephemeral": true},
85 "packets_from_local": {"type": "integer", "ephemeral": true},
86 "bytes_to_local": {"type": "integer", "ephemeral": true},
87 "packets_to_local": {"type": "integer", "ephemeral": true}}},
88 "Logical_Switch": {
89 "columns": {
90 "name": {"type": "string"},
91 "description": {"type": "string"},
92 "tunnel_key": {"type": {"key": "integer", "min": 0, "max": 1}}},
93 "isRoot": true,
94 "indexes": [["name"]]},
95 "Ucast_Macs_Local": {
96 "columns": {
97 "MAC": {"type": "string"},
98 "logical_switch": {
99 "type": {"key": {"type": "uuid",
100 "refTable": "Logical_Switch"}}},
101 "locator": {
102 "type": {"key": {"type": "uuid",
103 "refTable": "Physical_Locator"}}},
104 "ipaddr": {"type": "string"}},
105 "isRoot": true},
106 "Ucast_Macs_Remote": {
107 "columns": {
108 "MAC": {"type": "string"},
109 "logical_switch": {
110 "type": {"key": {"type": "uuid",
111 "refTable": "Logical_Switch"}}},
112 "locator": {
113 "type": {"key": {"type": "uuid",
114 "refTable": "Physical_Locator"}}},
115 "ipaddr": {"type": "string"}},
116 "isRoot": true},
117 "Mcast_Macs_Local": {
118 "columns": {
119 "MAC": {"type": "string"},
120 "logical_switch": {
121 "type": {"key": {"type": "uuid",
122 "refTable": "Logical_Switch"}}},
123 "locator_set": {
124 "type": {"key": {"type": "uuid",
125 "refTable": "Physical_Locator_Set"}}},
126 "ipaddr": {"type": "string"}},
127 "isRoot": true},
128 "Mcast_Macs_Remote": {
129 "columns": {
130 "MAC": {"type": "string"},
131 "logical_switch": {
132 "type": {"key": {"type": "uuid",
133 "refTable": "Logical_Switch"}}},
134 "locator_set": {
135 "type": {"key": {"type": "uuid",
136 "refTable": "Physical_Locator_Set"}}},
137 "ipaddr": {"type": "string"}},
138 "isRoot": true},
139 "Logical_Router": {
140 "columns": {
141 "name": {"type": "string"},
142 "description": {"type": "string"},
143 "switch_binding": {
144 "type": {"key": {"type": "string"},
145 "value": {"type": "uuid",
146 "refTable": "Logical_Switch"},
147 "min": 0, "max": "unlimited"}},
148 "static_routes": {
149 "type": {"key": {"type": "string"},
150 "value": {"type" : "string"},
151 "min": 0, "max": "unlimited"}},
152 "acl_binding": {
153 "type": {"key": {"type": "string"},
154 "value": {"type": "uuid",
155 "refTable": "ACL"},
156 "min": 0, "max": "unlimited"}},
157 "LR_fault_status": {
158 "type": {
159 "key": "string", "min": 0, "max": "unlimited"},
160 "ephemeral": true}},
161 "isRoot": true,
162 "indexes": [["name"]]},
163 "Arp_Sources_Local": {
164 "columns": {
165 "src_mac": {"type": "string"},
166 "locator": {
167 "type": {"key": {"type": "uuid",
168 "refTable": "Physical_Locator"}}}},
169 "isRoot": true},
170 "Arp_Sources_Remote": {
171 "columns": {
172 "src_mac": {"type": "string"},
173 "locator": {
174 "type": {"key": {"type": "uuid",
175 "refTable": "Physical_Locator"}}}},
176 "isRoot": true},
177 "Physical_Locator_Set": {
178 "columns": {
179 "locators": {
180 "type": {"key": {"type": "uuid", "refTable": "Physical_Locator"},
181 "min": 1, "max": "unlimited"},
182 "mutable": false}}},
183 "Physical_Locator": {
184 "columns": {
185 "encapsulation_type": {
186 "type": {
187 "key": {
188 "enum": ["set", ["vxlan_over_ipv4"]],
189 "type": "string"}},
190 "mutable": false},
191 "dst_ip": {"type": "string", "mutable": false},
192 "tunnel_key": {"type": {"key": "integer", "min": 0, "max": 1}}},
193 "indexes": [["encapsulation_type", "dst_ip", "tunnel_key"]]},
194 "ACL_entry": {
195 "columns": {
196 "sequence": {"type": "integer"},
197 "source_mac": {
198 "type": {
199 "key": "string", "min": 0, "max": 1}},
200 "dest_mac": {
201 "type": {
202 "key": "string", "min": 0, "max": 1}},
203 "ethertype": {
204 "type": {
205 "key": "string", "min": 0, "max": 1}},
206 "source_ip": {
207 "type": {
208 "key": "string", "min": 0, "max": 1}},
209 "source_mask": {
210 "type": {
211 "key": "string", "min": 0, "max": 1}},
212 "dest_ip": {
213 "type": {
214 "key": "string", "min": 0, "max": 1}},
215 "dest_mask": {
216 "type": {
217 "key": "string", "min": 0, "max": 1}},
218 "protocol": {
219 "type": {
220 "key": "integer", "min": 0, "max": 1}},
221 "source_port_min": {
222 "type": {
223 "key": "integer", "min": 0, "max": 1}},
224 "source_port_max": {
225 "type": {
226 "key": "integer", "min": 0, "max": 1}},
227 "dest_port_min": {
228 "type": {
229 "key": "integer", "min": 0, "max": 1}},
230 "dest_port_max": {
231 "type": {
232 "key": "integer", "min": 0, "max": 1}},
233 "tcp_flags": {
234 "type": {
235 "key": "integer", "min": 0, "max": 1}},
236 "tcp_flags_mask": {
237 "type": {
238 "key": "integer", "min": 0, "max": 1}},
239 "icmp_code": {
240 "type": {
241 "key": "integer", "min": 0, "max": 1}},
242 "icmp_type": {
243 "type": {
244 "key": "integer", "min": 0, "max": 1}},
245 "direction": {
246 "type": {
247 "key": {"type": "string", "enum": ["set", ["ingress", "egress"]]}}},
248 "action": {
249 "type": {
250 "key": {"type": "string", "enum": ["set", ["permit", "deny"]]}}},
251 "acle_fault_status": {
252 "type": {
253 "key": "string", "min": 0, "max": "unlimited"},
254 "ephemeral": true}},
255 "isRoot": true},
256 "ACL": {
257 "columns": {
258 "acl_entries": {
259 "type": {"key": {"type": "uuid", "refTable": "ACL_entry"},
260 "min": 1, "max": "unlimited"}},
261 "acl_name": {"type": "string"},
262 "acl_fault_status": {
263 "type": {
264 "key": "string", "min": 0, "max": "unlimited"},
265 "ephemeral": true}},
266 "indexes": [["acl_name"]],
267 "isRoot": true},
268 "Manager": {
269 "columns": {
270 "target": {"type": "string"},
271 "max_backoff": {
272 "type": {"key": {"type": "integer",
273 "minInteger": 1000},
274 "min": 0, "max": 1}},
275 "inactivity_probe": {
276 "type": {"key": "integer", "min": 0, "max": 1}},
277 "other_config": {
278 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}},
279 "is_connected": {
280 "type": "boolean",
281 "ephemeral": true},
282 "status": {
283 "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"},
284 "ephemeral": true}},
285 "indexes": [["target"]],
286 "isRoot": false}},
287 "version": "1.5.0"}