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