bug 6579 removed boilerplate code
[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           "_uuid": {
199             "type": "string"
200           },
201           "locator_set": {
202             "type": {
203               "key": {
204                 "refTable": "Physical_Locator_Set",
205                 "type": "uuid"
206               }
207             }
208           },
209           "logical_switch": {
210             "type": {
211               "key": {
212                 "refTable": "Logical_Switch",
213                 "type": "uuid"
214               }
215             }
216           }
217         },
218         "isRoot": true
219       },
220       "Mcast_Macs_Remote": {
221         "columns": {
222           "MAC": {
223             "type": "string"
224           },
225           "ipaddr": {
226             "type": "string"
227           },
228           "_uuid": {
229             "type": "string"
230           },
231           "locator_set": {
232             "type": {
233               "key": {
234                 "refTable": "Physical_Locator_Set",
235                 "type": "uuid"
236               }
237             }
238           },
239           "logical_switch": {
240             "type": {
241               "key": {
242                 "refTable": "Logical_Switch",
243                 "type": "uuid"
244               }
245             }
246           }
247         },
248         "isRoot": true
249       },
250       "Physical_Locator": {
251         "columns": {
252           "dst_ip": {
253             "mutable": false,
254             "type": "string"
255           },
256           "encapsulation_type": {
257             "mutable": false,
258             "type": {
259               "key": {
260                 "enum": "vxlan_over_ipv4",
261                 "type": "string"
262               }
263             }
264           }
265         },
266         "_uuid": {
267           "type": "string"
268         },
269         "indexes": [
270           [
271             "encapsulation_type",
272             "dst_ip"
273           ]
274         ]
275       },
276       "Physical_Locator_Set": {
277         "columns": {
278           "_uuid": {
279             "type": "string"
280           },
281           "locators": {
282             "mutable": false,
283             "type": {
284               "key": {
285                 "refTable": "Physical_Locator",
286                 "type": "uuid"
287               },
288               "max": "unlimited"
289             }
290           }
291         }
292       },
293       "Physical_Port": {
294         "columns": {
295           "description": {
296             "type": "string"
297           },
298           "_uuid": {
299             "type": "string"
300           },
301           "name": {
302             "type": "string"
303           },
304           "port_fault_status": {
305             "ephemeral": true,
306             "type": {
307               "key": "string",
308               "max": "unlimited",
309               "min": 0
310             }
311           },
312           "vlan_bindings": {
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_Switch",
323                 "type": "uuid"
324               }
325             }
326           },
327           "vlan_stats": {
328             "type": {
329               "key": {
330                 "maxInteger": 4095,
331                 "minInteger": 0,
332                 "type": "integer"
333               },
334               "max": "unlimited",
335               "min": 0,
336               "value": {
337                 "refTable": "Logical_Binding_Stats",
338                 "type": "uuid"
339               }
340             }
341           }
342         }
343       },
344       "Physical_Switch": {
345         "columns": {
346           "description": {
347             "type": "string"
348           },
349           "_uuid": {
350             "type": "string"
351           },
352           "management_ips": {
353             "type": {
354               "key": "string",
355               "max": "unlimited",
356               "min": 0
357             }
358           },
359           "name": {
360             "type": "string"
361           },
362           "ports": {
363             "type": {
364               "key": {
365                 "refTable": "Physical_Port",
366                 "type": "uuid"
367               },
368               "max": "unlimited",
369               "min": 0
370             }
371           },
372           "switch_fault_status": {
373             "ephemeral": true,
374             "type": {
375               "key": "string",
376               "max": "unlimited",
377               "min": 0
378             }
379           },
380           "tunnel_ips": {
381             "type": {
382               "key": "string",
383               "max": "unlimited",
384               "min": 0
385             }
386           },
387           "tunnels": {
388             "type": {
389               "key": {
390                 "refTable": "Tunnel",
391                 "type": "uuid"
392               },
393               "max": "unlimited",
394               "min": 0
395             }
396           }
397         },
398         "indexes": [
399           [
400             "name"
401           ]
402         ]
403       },
404       "Tunnel": {
405         "columns": {
406           "bfd_config_local": {
407             "type": {
408               "key": "string",
409               "max": "unlimited",
410               "min": 0,
411               "value": "string"
412             }
413           },
414           "bfd_config_remote": {
415             "type": {
416               "key": "string",
417               "max": "unlimited",
418               "min": 0,
419               "value": "string"
420             }
421           },
422           "bfd_params": {
423             "type": {
424               "key": "string",
425               "max": "unlimited",
426               "min": 0,
427               "value": "string"
428             }
429           },
430           "bfd_status": {
431             "type": {
432               "key": "string",
433               "max": "unlimited",
434               "min": 0,
435               "value": "string"
436             }
437           },
438           "local": {
439             "type": {
440               "key": {
441                 "refTable": "Physical_Locator",
442                 "type": "uuid"
443               }
444             }
445           },
446           "remote": {
447             "type": {
448               "key": {
449                 "refTable": "Physical_Locator",
450                 "type": "uuid"
451               }
452             }
453           }
454         }
455       },
456       "Ucast_Macs_Local": {
457         "columns": {
458           "MAC": {
459             "type": "string"
460           },
461           "ipaddr": {
462             "type": "string"
463           },
464           "_uuid": {
465             "type": "string"
466           },
467           "locator": {
468             "type": {
469               "key": {
470                 "refTable": "Physical_Locator",
471                 "type": "uuid"
472               }
473             }
474           },
475           "logical_switch": {
476             "type": {
477               "key": {
478                 "refTable": "Logical_Switch",
479                 "type": "uuid"
480               }
481             }
482           }
483         },
484         "isRoot": true
485       },
486       "Ucast_Macs_Remote": {
487         "columns": {
488           "MAC": {
489             "type": "string"
490           },
491           "ipaddr": {
492             "type": "string"
493           },
494           "_uuid": {
495             "type": "uuid"
496           },
497           "uuid": {
498             "type": "uuid"
499           },
500           "locator": {
501             "type": {
502               "key": {
503                 "refTable": "Physical_Locator",
504                 "type": "uuid"
505               }
506             }
507           },
508           "logical_switch": {
509             "type": {
510               "key": {
511                 "refTable": "Logical_Switch",
512                 "type": "uuid"
513               }
514             }
515           }
516         },
517         "isRoot": true
518       }
519     },
520     "version": "1.3.0"
521   }
522 }