bug 6579 added basic unit tests
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / test / resources / org / opendaylight / ovsdb / hwvtepsouthbound / hwvtep_schema.json
1 {
2   "error": null,
3   "id": "0",
4   "result": {
5     "cksum": "58544667 7319",
6     "name": "hardware_vtep",
7     "tables": {
8       "Arp_Sources_Local": {
9         "columns": {
10           "locator": {
11             "type": {
12               "key": {
13                 "refTable": "Physical_Locator",
14                 "type": "uuid"
15               }
16             }
17           },
18           "src_mac": {
19             "type": "string"
20           }
21         },
22         "isRoot": true
23       },
24       "Arp_Sources_Remote": {
25         "columns": {
26           "locator": {
27             "type": {
28               "key": {
29                 "refTable": "Physical_Locator",
30                 "type": "uuid"
31               }
32             }
33           },
34           "src_mac": {
35             "type": "string"
36           }
37         },
38         "isRoot": true
39       },
40       "Global": {
41         "columns": {
42           "managers": {
43             "type": {
44               "key": {
45                 "refTable": "Manager",
46                 "type": "uuid"
47               },
48               "max": "unlimited",
49               "min": 0
50             }
51           },
52           "switches": {
53             "type": {
54               "key": {
55                 "refTable": "Physical_Switch",
56                 "type": "uuid"
57               },
58               "max": "unlimited",
59               "min": 0
60             }
61           }
62         },
63         "isRoot": true,
64         "maxRows": 1
65       },
66       "Logical_Binding_Stats": {
67         "columns": {
68           "bytes_from_local": {
69             "type": "integer"
70           },
71           "bytes_to_local": {
72             "type": "integer"
73           },
74           "packets_from_local": {
75             "type": "integer"
76           },
77           "packets_to_local": {
78             "type": "integer"
79           }
80         }
81       },
82       "Logical_Router": {
83         "columns": {
84           "description": {
85             "type": "string"
86           },
87           "name": {
88             "type": "string"
89           },
90           "static_routes": {
91             "type": {
92               "key": "string",
93               "max": "unlimited",
94               "min": 0,
95               "value": "string"
96             }
97           },
98           "switch_binding": {
99             "type": {
100               "key": "string",
101               "max": "unlimited",
102               "min": 0,
103               "value": {
104                 "refTable": "Logical_Switch",
105                 "type": "uuid"
106               }
107             }
108           }
109         },
110         "indexes": [
111           [
112             "name"
113           ]
114         ],
115         "isRoot": true
116       },
117       "Logical_Switch": {
118         "columns": {
119           "description": {
120             "type": "string"
121           },
122           "name": {
123             "type": "string"
124           },
125           "_uuid": {
126             "type": "string"
127           },
128           "tunnel_key": {
129             "type": {
130               "key": "integer",
131               "min": 0
132             }
133           }
134         },
135         "indexes": [
136           [
137             "name"
138           ]
139         ],
140         "isRoot": true
141       },
142       "Manager": {
143         "columns": {
144           "inactivity_probe": {
145             "type": {
146               "key": "integer",
147               "min": 0
148             }
149           },
150           "is_connected": {
151             "ephemeral": true,
152             "type": "boolean"
153           },
154           "max_backoff": {
155             "type": {
156               "key": {
157                 "minInteger": 1000,
158                 "type": "integer"
159               },
160               "min": 0
161             }
162           },
163           "other_config": {
164             "type": {
165               "key": "string",
166               "max": "unlimited",
167               "min": 0,
168               "value": "string"
169             }
170           },
171           "status": {
172             "ephemeral": true,
173             "type": {
174               "key": "string",
175               "max": "unlimited",
176               "min": 0,
177               "value": "string"
178             }
179           },
180           "target": {
181             "type": "string"
182           }
183         },
184         "indexes": [
185           [
186             "target"
187           ]
188         ]
189       },
190       "Mcast_Macs_Local": {
191         "columns": {
192           "MAC": {
193             "type": "string"
194           },
195           "ipaddr": {
196             "type": "string"
197           },
198           "locator_set": {
199             "type": {
200               "key": {
201                 "refTable": "Physical_Locator_Set",
202                 "type": "uuid"
203               }
204             }
205           },
206           "logical_switch": {
207             "type": {
208               "key": {
209                 "refTable": "Logical_Switch",
210                 "type": "uuid"
211               }
212             }
213           }
214         },
215         "isRoot": true
216       },
217       "Mcast_Macs_Remote": {
218         "columns": {
219           "MAC": {
220             "type": "string"
221           },
222           "ipaddr": {
223             "type": "string"
224           },
225           "locator_set": {
226             "type": {
227               "key": {
228                 "refTable": "Physical_Locator_Set",
229                 "type": "uuid"
230               }
231             }
232           },
233           "logical_switch": {
234             "type": {
235               "key": {
236                 "refTable": "Logical_Switch",
237                 "type": "uuid"
238               }
239             }
240           }
241         },
242         "isRoot": true
243       },
244       "Physical_Locator": {
245         "columns": {
246           "dst_ip": {
247             "mutable": false,
248             "type": "string"
249           },
250           "encapsulation_type": {
251             "mutable": false,
252             "type": {
253               "key": {
254                 "enum": "vxlan_over_ipv4",
255                 "type": "string"
256               }
257             }
258           }
259         },
260         "indexes": [
261           [
262             "encapsulation_type",
263             "dst_ip"
264           ]
265         ]
266       },
267       "Physical_Locator_Set": {
268         "columns": {
269           "locators": {
270             "mutable": false,
271             "type": {
272               "key": {
273                 "refTable": "Physical_Locator",
274                 "type": "uuid"
275               },
276               "max": "unlimited"
277             }
278           }
279         }
280       },
281       "Physical_Port": {
282         "columns": {
283           "description": {
284             "type": "string"
285           },
286           "name": {
287             "type": "string"
288           },
289           "port_fault_status": {
290             "ephemeral": true,
291             "type": {
292               "key": "string",
293               "max": "unlimited",
294               "min": 0
295             }
296           },
297           "vlan_bindings": {
298             "type": {
299               "key": {
300                 "maxInteger": 4095,
301                 "minInteger": 0,
302                 "type": "integer"
303               },
304               "max": "unlimited",
305               "min": 0,
306               "value": {
307                 "refTable": "Logical_Switch",
308                 "type": "uuid"
309               }
310             }
311           },
312           "vlan_stats": {
313             "type": {
314               "key": {
315                 "maxInteger": 4095,
316                 "minInteger": 0,
317                 "type": "integer"
318               },
319               "max": "unlimited",
320               "min": 0,
321               "value": {
322                 "refTable": "Logical_Binding_Stats",
323                 "type": "uuid"
324               }
325             }
326           }
327         }
328       },
329       "Physical_Switch": {
330         "columns": {
331           "description": {
332             "type": "string"
333           },
334           "management_ips": {
335             "type": {
336               "key": "string",
337               "max": "unlimited",
338               "min": 0
339             }
340           },
341           "name": {
342             "type": "string"
343           },
344           "ports": {
345             "type": {
346               "key": {
347                 "refTable": "Physical_Port",
348                 "type": "uuid"
349               },
350               "max": "unlimited",
351               "min": 0
352             }
353           },
354           "switch_fault_status": {
355             "ephemeral": true,
356             "type": {
357               "key": "string",
358               "max": "unlimited",
359               "min": 0
360             }
361           },
362           "tunnel_ips": {
363             "type": {
364               "key": "string",
365               "max": "unlimited",
366               "min": 0
367             }
368           },
369           "tunnels": {
370             "type": {
371               "key": {
372                 "refTable": "Tunnel",
373                 "type": "uuid"
374               },
375               "max": "unlimited",
376               "min": 0
377             }
378           }
379         },
380         "indexes": [
381           [
382             "name"
383           ]
384         ]
385       },
386       "Tunnel": {
387         "columns": {
388           "bfd_config_local": {
389             "type": {
390               "key": "string",
391               "max": "unlimited",
392               "min": 0,
393               "value": "string"
394             }
395           },
396           "bfd_config_remote": {
397             "type": {
398               "key": "string",
399               "max": "unlimited",
400               "min": 0,
401               "value": "string"
402             }
403           },
404           "bfd_params": {
405             "type": {
406               "key": "string",
407               "max": "unlimited",
408               "min": 0,
409               "value": "string"
410             }
411           },
412           "bfd_status": {
413             "type": {
414               "key": "string",
415               "max": "unlimited",
416               "min": 0,
417               "value": "string"
418             }
419           },
420           "local": {
421             "type": {
422               "key": {
423                 "refTable": "Physical_Locator",
424                 "type": "uuid"
425               }
426             }
427           },
428           "remote": {
429             "type": {
430               "key": {
431                 "refTable": "Physical_Locator",
432                 "type": "uuid"
433               }
434             }
435           }
436         }
437       },
438       "Ucast_Macs_Local": {
439         "columns": {
440           "MAC": {
441             "type": "string"
442           },
443           "ipaddr": {
444             "type": "string"
445           },
446           "locator": {
447             "type": {
448               "key": {
449                 "refTable": "Physical_Locator",
450                 "type": "uuid"
451               }
452             }
453           },
454           "logical_switch": {
455             "type": {
456               "key": {
457                 "refTable": "Logical_Switch",
458                 "type": "uuid"
459               }
460             }
461           }
462         },
463         "isRoot": true
464       },
465       "Ucast_Macs_Remote": {
466         "columns": {
467           "MAC": {
468             "type": "string"
469           },
470           "ipaddr": {
471             "type": "string"
472           },
473           "locator": {
474             "type": {
475               "key": {
476                 "refTable": "Physical_Locator",
477                 "type": "uuid"
478               }
479             }
480           },
481           "logical_switch": {
482             "type": {
483               "key": {
484                 "refTable": "Logical_Switch",
485                 "type": "uuid"
486               }
487             }
488           }
489         },
490         "isRoot": true
491       }
492     },
493     "version": "1.3.0"
494   }
495 }