dpif-netlink: add GENEVE creation support
[cascardo/ovs.git] / vtep / vtep.ovsschema
1 {
2   "name": "hardware_vtep",
3   "cksum": "353943336 11434",
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         "other_config": {
15           "type": {"key": "string", "value": "string",
16                    "min": 0, "max": "unlimited"}}
17       },
18       "maxRows": 1,
19       "isRoot": true},
20     "Physical_Switch": {
21       "columns": {
22         "ports": {
23           "type": {"key": {"type": "uuid", "refTable": "Physical_Port"},
24                    "min": 0, "max": "unlimited"}},
25         "name": {"type": "string"},
26         "description": {"type": "string"},
27         "management_ips": {
28           "type": {"key": {"type": "string"}, "min": 0, "max": "unlimited"}},
29         "tunnel_ips": {
30           "type": {"key": {"type": "string"}, "min": 0, "max": "unlimited"}},
31         "tunnels": {
32           "type": {"key": {"type": "uuid", "refTable": "Tunnel"},
33                    "min": 0, "max": "unlimited"}},
34         "other_config": {
35           "type": {"key": "string", "value": "string",
36                    "min": 0, "max": "unlimited"}},
37         "switch_fault_status": {
38           "type": {
39             "key": "string", "min": 0, "max": "unlimited"},
40           "ephemeral": true}},
41       "indexes": [["name"]]},
42     "Physical_Port": {
43       "columns": {
44         "name": {"type": "string"},
45         "description": {"type": "string"},
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"}},
51         "acl_bindings": {
52           "type": {"key": {"type": "integer",
53                            "minInteger": 0, "maxInteger": 4095},
54                    "value": {"type": "uuid", "refTable": "ACL"},
55                    "min": 0, "max": "unlimited"}},
56         "vlan_stats": {
57           "type": {"key": {"type": "integer",
58                            "minInteger": 0, "maxInteger": 4095},
59                    "value": {"type": "uuid",
60                              "refTable": "Logical_Binding_Stats"},
61                    "min": 0, "max": "unlimited"},
62           "ephemeral": true},
63         "other_config": {
64           "type": {"key": "string", "value": "string",
65                    "min": 0, "max": "unlimited"}},
66         "port_fault_status": {
67           "type": {
68             "key": "string", "min": 0, "max": "unlimited"},
69           "ephemeral": true}}},
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",
89               "min": 0, "max": "unlimited"},
90           "ephemeral": true}}},
91     "Logical_Binding_Stats": {
92       "columns": {
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}}},
97     "Logical_Switch": {
98       "columns": {
99         "name": {"type": "string"},
100         "description": {"type": "string"},
101         "tunnel_key": {"type": {"key": "integer", "min": 0, "max": 1}},
102         "replication_mode": {
103           "type": {
104             "key": {
105               "enum": ["set", ["service_node", "source_node"]],
106               "type": "string"},"min": 0, "max": 1}},
107         "other_config": {
108           "type": {"key": "string", "value": "string",
109                    "min": 0, "max": "unlimited"}}},
110       "isRoot": true,
111       "indexes": [["name"]]},
112     "Ucast_Macs_Local": {
113       "columns": {
114         "MAC": {"type": "string"},
115         "logical_switch": {
116           "type": {"key": {"type": "uuid",
117                            "refTable": "Logical_Switch"}}},
118         "locator": {
119           "type": {"key": {"type": "uuid",
120                            "refTable": "Physical_Locator"}}},
121         "ipaddr": {"type": "string"}},
122       "isRoot": true},
123     "Ucast_Macs_Remote": {
124       "columns": {
125         "MAC": {"type": "string"},
126         "logical_switch": {
127           "type": {"key": {"type": "uuid",
128                            "refTable": "Logical_Switch"}}},
129         "locator": {
130           "type": {"key": {"type": "uuid",
131                            "refTable": "Physical_Locator"}}},
132         "ipaddr": {"type": "string"}},
133       "isRoot": true},
134     "Mcast_Macs_Local": {
135       "columns": {
136         "MAC": {"type": "string"},
137         "logical_switch": {
138           "type": {"key": {"type": "uuid",
139                            "refTable": "Logical_Switch"}}},
140         "locator_set": {
141           "type": {"key": {"type": "uuid",
142                            "refTable": "Physical_Locator_Set"}}},
143         "ipaddr": {"type": "string"}},
144       "isRoot": true},
145     "Mcast_Macs_Remote": {
146       "columns": {
147         "MAC": {"type": "string"},
148         "logical_switch": {
149           "type": {"key": {"type": "uuid",
150                            "refTable": "Logical_Switch"}}},
151         "locator_set": {
152           "type": {"key": {"type": "uuid",
153                            "refTable": "Physical_Locator_Set"}}},
154         "ipaddr": {"type": "string"}},
155       "isRoot": true},
156     "Logical_Router": {
157       "columns": {
158         "name": {"type": "string"},
159         "description": {"type": "string"},
160         "switch_binding": {
161           "type": {"key": {"type": "string"},
162                    "value": {"type": "uuid",
163                              "refTable": "Logical_Switch"},
164                    "min": 0, "max": "unlimited"}},
165         "static_routes": {
166           "type": {"key": {"type": "string"},
167                    "value": {"type" : "string"},
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"}},
174         "other_config": {
175           "type": {"key": "string", "value": "string",
176                    "min": 0, "max": "unlimited"}},
177         "LR_fault_status": {
178           "type": {
179             "key": "string", "min": 0, "max": "unlimited"},
180           "ephemeral": true}},
181       "isRoot": true,
182       "indexes": [["name"]]},
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},
197     "Physical_Locator_Set": {
198       "columns": {
199         "locators": {
200           "type": {"key": {"type": "uuid", "refTable": "Physical_Locator"},
201                    "min": 1, "max": "unlimited"},
202                    "mutable": false}}},
203     "Physical_Locator": {
204       "columns": {
205         "encapsulation_type": {
206           "type": {
207             "key": {
208               "enum": ["set", ["vxlan_over_ipv4"]],
209               "type": "string"}},
210           "mutable": false},
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"]]},
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"},
274           "ephemeral": true}},
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"},
285           "ephemeral": true}},
286       "indexes": [["acl_name"]],
287       "isRoot": true},
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}},
307   "version": "1.7.0"}