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