Move the aai-schema, annotations and
[aai/schema-service.git] / aai-schema-gen / src / test / resources / dbedgerules / DbEdgerules_one.json
1 {
2   "rules": [
3     {
4       "from": "availability-zone",
5       "to": "complex",
6       "label": "org.onap.relationships.inventory.LocatedIn",
7       "direction": "OUT",
8       "multiplicity": "MANY2ONE",
9       "contains-other-v": "NONE",
10       "delete-other-v": "NONE",
11       "prevent-delete": "!${direction}",
12       "default": "true"
13     },
14     {
15       "from": "availability-zone",
16       "to": "service-capability",
17       "label": "org.onap.relationships.inventory.AppliesTo",
18       "direction": "OUT",
19       "multiplicity": "MANY2MANY",
20       "contains-other-v": "NONE",
21       "delete-other-v": "NONE",
22       "prevent-delete": "!${direction}",
23       "default": "true"
24     },
25     {
26       "from": "availability-zone",
27       "to": "cloud-region",
28       "label": "org.onap.relationships.inventory.BelongsTo",
29       "direction": "OUT",
30       "multiplicity": "MANY2ONE",
31       "contains-other-v": "!${direction}",
32       "delete-other-v": "!${direction}",
33       "prevent-delete": "NONE",
34       "default": "true"
35     },
36     {
37       "from": "cloud-region",
38       "to": "complex",
39       "label": "org.onap.relationships.inventory.LocatedIn",
40       "direction": "OUT",
41       "multiplicity": "MANY2ONE",
42       "contains-other-v": "NONE",
43       "delete-other-v": "NONE",
44       "prevent-delete": "!${direction}",
45       "default": "true"
46     },
47     {
48       "from": "cloud-region",
49       "to": "l3-network",
50       "label": "org.onap.relationships.inventory.Uses",
51       "direction": "OUT",
52       "multiplicity": "MANY2MANY",
53       "contains-other-v": "NONE",
54       "delete-other-v": "NONE",
55       "prevent-delete": "NONE",
56       "default": "true"
57     },
58     {
59       "from": "dvs-switch",
60       "to": "cloud-region",
61       "label": "org.onap.relationships.inventory.BelongsTo",
62       "direction": "OUT",
63       "multiplicity": "MANY2ONE",
64       "contains-other-v": "!${direction}",
65       "delete-other-v": "NONE",
66       "prevent-delete": "!${direction}",
67       "default": "true"
68     },
69     {
70       "from": "flavor",
71       "to": "cloud-region",
72       "label": "org.onap.relationships.inventory.BelongsTo",
73       "direction": "OUT",
74       "multiplicity": "MANY2ONE",
75       "contains-other-v": "!${direction}",
76       "delete-other-v": "NONE",
77       "prevent-delete": "!${direction}",
78       "default": "true"
79     },
80     {
81       "from": "image",
82       "to": "cloud-region",
83       "label": "org.onap.relationships.inventory.BelongsTo",
84       "direction": "OUT",
85       "multiplicity": "MANY2ONE",
86       "contains-other-v": "!${direction}",
87       "delete-other-v": "NONE",
88       "prevent-delete": "!${direction}",
89       "default": "true"
90     },
91     {
92       "from": "oam-network",
93       "to": "cloud-region",
94       "label": "org.onap.relationships.inventory.BelongsTo",
95       "direction": "OUT",
96       "multiplicity": "MANY2ONE",
97       "contains-other-v": "!${direction}",
98       "delete-other-v": "NONE",
99       "prevent-delete": "!${direction}",
100       "default": "true"
101     },
102     {
103       "from": "tenant",
104       "to": "cloud-region",
105       "label": "org.onap.relationships.inventory.BelongsTo",
106       "direction": "OUT",
107       "multiplicity": "MANY2ONE",
108       "contains-other-v": "!${direction}",
109       "delete-other-v": "NONE",
110       "prevent-delete": "!${direction}",
111       "default": "true"
112     },
113     {
114       "from": "volume-group",
115       "to": "cloud-region",
116       "label": "org.onap.relationships.inventory.BelongsTo",
117       "direction": "OUT",
118       "multiplicity": "MANY2ONE",
119       "contains-other-v": "!${direction}",
120       "delete-other-v": "NONE",
121       "prevent-delete": "!${direction}",
122       "default": "true"
123     },
124     {
125       "from": "complex",
126       "to": "l3-network",
127       "label": "org.onap.relationships.inventory.Uses",
128       "direction": "OUT",
129       "multiplicity": "MANY2MANY",
130       "contains-other-v": "NONE",
131       "delete-other-v": "NONE",
132       "prevent-delete": "NONE",
133       "default": "true"
134     },
135     {
136       "from": "ctag-pool",
137       "to": "complex",
138       "label": "org.onap.relationships.inventory.BelongsTo",
139       "direction": "OUT",
140       "multiplicity": "MANY2ONE",
141       "contains-other-v": "!${direction}",
142       "delete-other-v": "!${direction}",
143       "prevent-delete": "NONE",
144       "default": "true"
145     },
146     {
147       "from": "connector",
148       "to": "virtual-data-center",
149       "label": "org.onap.relationships.inventory.LocatedIn",
150       "direction": "OUT",
151       "multiplicity": "MANY2MANY",
152       "contains-other-v": "NONE",
153       "delete-other-v": "NONE",
154       "prevent-delete": "NONE",
155       "default": "true"
156     },
157     {
158       "from": "metadatum",
159       "to": "connector",
160       "label": "org.onap.relationships.inventory.BelongsTo",
161       "direction": "OUT",
162       "multiplicity": "MANY2ONE",
163       "contains-other-v": "!${direction}",
164       "delete-other-v": "!${direction}",
165       "prevent-delete": "NONE",
166       "default": "true"
167     },
168     {
169       "from": "element-choice-set",
170       "to": "constrained-element-set",
171       "label": "org.onap.relationships.inventory.BelongsTo",
172       "direction": "OUT",
173       "multiplicity": "MANY2ONE",
174       "contains-other-v": "!${direction}",
175       "delete-other-v": "!${direction}",
176       "prevent-delete": "NONE",
177       "default": "true"
178     },
179     {
180       "from": "ctag-pool",
181       "to": "availability-zone",
182       "label": "org.onap.relationships.inventory.AppliesTo",
183       "direction": "OUT",
184       "multiplicity": "MANY2MANY",
185       "contains-other-v": "NONE",
186       "delete-other-v": "NONE",
187       "prevent-delete": "!${direction}",
188       "default": "true"
189     },
190     {
191       "from": "service-subscription",
192       "to": "customer",
193       "label": "org.onap.relationships.inventory.BelongsTo",
194       "direction": "OUT",
195       "multiplicity": "MANY2ONE",
196       "contains-other-v": "!${direction}",
197       "delete-other-v": "!${direction}",
198       "prevent-delete": "NONE",
199       "default": "true"
200     },
201     {
202       "from": "dvs-switch",
203       "to": "availability-zone",
204       "label": "org.onap.relationships.inventory.AppliesTo",
205       "direction": "OUT",
206       "multiplicity": "MANY2MANY",
207       "contains-other-v": "NONE",
208       "delete-other-v": "NONE",
209       "prevent-delete": "!${direction}",
210       "default": "true"
211     },
212     {
213       "from": "model-element",
214       "to": "element-choice-set",
215       "label": "org.onap.relationships.inventory.BelongsTo",
216       "direction": "OUT",
217       "multiplicity": "MANY2ONE",
218       "contains-other-v": "!${direction}",
219       "delete-other-v": "!${direction}",
220       "prevent-delete": "NONE",
221       "default": "true"
222     },
223     {
224       "from": "generic-vnf",
225       "to": "availability-zone",
226       "label": "org.onap.relationships.inventory.Uses",
227       "direction": "OUT",
228       "multiplicity": "MANY2MANY",
229       "contains-other-v": "NONE",
230       "delete-other-v": "NONE",
231       "prevent-delete": "!${direction}",
232       "default": "true"
233     },
234     {
235       "from": "generic-vnf",
236       "to": "ipsec-configuration",
237       "label": "org.onap.relationships.inventory.Uses",
238       "direction": "OUT",
239       "multiplicity": "MANY2ONE",
240       "contains-other-v": "NONE",
241       "delete-other-v": "NONE",
242       "prevent-delete": "NONE",
243       "default": "true"
244     },
245     {
246       "from": "generic-vnf",
247       "to": "l3-network",
248       "label": "org.onap.relationships.inventory.Uses",
249       "direction": "OUT",
250       "multiplicity": "MANY2MANY",
251       "contains-other-v": "NONE",
252       "delete-other-v": "NONE",
253       "prevent-delete": "NONE",
254       "default": "true"
255     },
256     {
257       "from": "generic-vnf",
258       "to": "pserver",
259       "label": "tosca.relationships.HostedOn",
260       "direction": "OUT",
261       "multiplicity": "MANY2MANY",
262       "contains-other-v": "NONE",
263       "delete-other-v": "NONE",
264       "prevent-delete": "!${direction}",
265       "default": "true"
266     },
267     {
268       "from": "generic-vnf",
269       "to": "vnf-image",
270       "label": "org.onap.relationships.inventory.Uses",
271       "direction": "OUT",
272       "multiplicity": "MANY2ONE",
273       "contains-other-v": "NONE",
274       "delete-other-v": "NONE",
275       "prevent-delete": "!${direction}",
276       "default": "true"
277     },
278     {
279       "from": "generic-vnf",
280       "to": "volume-group",
281       "label": "org.onap.relationships.inventory.DependsOn",
282       "direction": "OUT",
283       "multiplicity": "ONE2MANY",
284       "contains-other-v": "NONE",
285       "delete-other-v": "NONE",
286       "prevent-delete": "NONE",
287       "default": "true"
288     },
289     {
290       "from": "generic-vnf",
291       "to": "vserver",
292       "label": "tosca.relationships.HostedOn",
293       "direction": "OUT",
294       "multiplicity": "ONE2MANY",
295       "contains-other-v": "NONE",
296       "delete-other-v": "NONE",
297       "prevent-delete": "NONE",
298       "default": "true"
299     },
300     {
301       "from": "lag-interface",
302       "to": "generic-vnf",
303       "label": "org.onap.relationships.inventory.BelongsTo",
304       "direction": "OUT",
305       "multiplicity": "MANY2ONE",
306       "contains-other-v": "!${direction}",
307       "delete-other-v": "!${direction}",
308       "prevent-delete": "NONE",
309       "default": "true"
310     },
311     {
312       "from": "l-interface",
313       "to": "generic-vnf",
314       "label": "org.onap.relationships.inventory.BelongsTo",
315       "direction": "OUT",
316       "multiplicity": "MANY2ONE",
317       "contains-other-v": "!${direction}",
318       "delete-other-v": "!${direction}",
319       "prevent-delete": "NONE",
320       "default": "true"
321     },
322     {
323       "from": "network-profile",
324       "to": "generic-vnf",
325       "label": "org.onap.relationships.inventory.AppliesTo",
326       "direction": "OUT",
327       "multiplicity": "MANY2MANY",
328       "contains-other-v": "NONE",
329       "delete-other-v": "NONE",
330       "prevent-delete": "NONE",
331       "default": "true"
332     },
333     {
334       "from": "service-instance",
335       "to": "generic-vnf",
336       "label": "org.onap.relationships.inventory.ComposedOf",
337       "direction": "OUT",
338       "multiplicity": "ONE2MANY",
339       "contains-other-v": "NONE",
340       "delete-other-v": "NONE",
341       "prevent-delete": "NONE",
342       "default": "true"
343     },
344     {
345       "from": "site-pair-set",
346       "to": "generic-vnf",
347       "label": "org.onap.relationships.inventory.AppliesTo",
348       "direction": "OUT",
349       "multiplicity": "MANY2MANY",
350       "contains-other-v": "NONE",
351       "delete-other-v": "NONE",
352       "prevent-delete": "NONE",
353       "default": "true"
354     },
355     {
356       "from": "vf-module",
357       "to": "generic-vnf",
358       "label": "org.onap.relationships.inventory.BelongsTo",
359       "direction": "OUT",
360       "multiplicity": "MANY2ONE",
361       "contains-other-v": "!${direction}",
362       "delete-other-v": "!${direction}",
363       "prevent-delete": "NONE",
364       "default": "true"
365     },
366     {
367       "from": "metadatum",
368       "to": "image",
369       "label": "org.onap.relationships.inventory.BelongsTo",
370       "direction": "OUT",
371       "multiplicity": "MANY2ONE",
372       "contains-other-v": "!${direction}",
373       "delete-other-v": "!${direction}",
374       "prevent-delete": "NONE",
375       "default": "true"
376     },
377     {
378       "from": "vig-server",
379       "to": "ipsec-configuration",
380       "label": "org.onap.relationships.inventory.BelongsTo",
381       "direction": "OUT",
382       "multiplicity": "MANY2ONE",
383       "contains-other-v": "!${direction}",
384       "delete-other-v": "!${direction}",
385       "prevent-delete": "NONE",
386       "default": "true"
387     },
388     {
389       "from": "l3-interface-ipv4-address-list",
390       "to": "l3-network",
391       "label": "org.onap.relationships.inventory.network.MemberOf",
392       "direction": "OUT",
393       "multiplicity": "MANY2MANY",
394       "contains-other-v": "NONE",
395       "delete-other-v": "NONE",
396       "prevent-delete": "NONE",
397       "default": "true"
398     },
399     {
400       "from": "l3-interface-ipv4-address-list",
401       "to": "subnet",
402       "label": "org.onap.relationships.inventory.network.MemberOf",
403       "direction": "OUT",
404       "multiplicity": "MANY2MANY",
405       "contains-other-v": "NONE",
406       "delete-other-v": "NONE",
407       "prevent-delete": "!${direction}",
408       "default": "true"
409     },
410     {
411       "from": "l3-interface-ipv6-address-list",
412       "to": "l3-network",
413       "label": "org.onap.relationships.inventory.network.MemberOf",
414       "direction": "OUT",
415       "multiplicity": "MANY2MANY",
416       "contains-other-v": "NONE",
417       "delete-other-v": "NONE",
418       "prevent-delete": "NONE",
419       "default": "true"
420     },
421     {
422       "from": "l3-interface-ipv6-address-list",
423       "to": "subnet",
424       "label": "org.onap.relationships.inventory.network.MemberOf",
425       "direction": "OUT",
426       "multiplicity": "MANY2MANY",
427       "contains-other-v": "NONE",
428       "delete-other-v": "NONE",
429       "prevent-delete": "!${direction}",
430       "default": "true"
431     },
432     {
433       "from": "ctag-assignment",
434       "to": "l3-network",
435       "label": "org.onap.relationships.inventory.BelongsTo",
436       "direction": "OUT",
437       "multiplicity": "MANY2ONE",
438       "contains-other-v": "!${direction}",
439       "delete-other-v": "!${direction}",
440       "prevent-delete": "NONE",
441       "default": "true"
442     },
443     {
444       "from": "l3-network",
445       "to": "network-policy",
446       "label": "org.onap.relationships.inventory.Uses",
447       "direction": "OUT",
448       "multiplicity": "MANY2MANY",
449       "contains-other-v": "NONE",
450       "delete-other-v": "NONE",
451       "prevent-delete": "NONE",
452       "default": "true"
453     },
454     {
455       "from": "l3-network",
456       "to": "vpn-binding",
457       "label": "org.onap.relationships.inventory.Uses",
458       "direction": "OUT",
459       "multiplicity": "MANY2MANY",
460       "contains-other-v": "NONE",
461       "delete-other-v": "NONE",
462       "prevent-delete": "!${direction}",
463       "default": "true"
464     },
465     {
466       "from": "service-instance",
467       "to": "l3-network",
468       "label": "org.onap.relationships.inventory.ComposedOf",
469       "direction": "OUT",
470       "multiplicity": "ONE2MANY",
471       "contains-other-v": "NONE",
472       "delete-other-v": "NONE",
473       "prevent-delete": "NONE",
474       "default": "true"
475     },
476     {
477       "from": "subnet",
478       "to": "l3-network",
479       "label": "org.onap.relationships.inventory.BelongsTo",
480       "direction": "OUT",
481       "multiplicity": "MANY2ONE",
482       "contains-other-v": "!${direction}",
483       "delete-other-v": "!${direction}",
484       "prevent-delete": "NONE",
485       "default": "true"
486     },
487     {
488       "from": "lag-interface",
489       "to": "lag-link",
490       "label": "tosca.relationships.network.LinksTo",
491       "direction": "OUT",
492       "multiplicity": "MANY2MANY",
493       "contains-other-v": "NONE",
494       "delete-other-v": "${direction}",
495       "prevent-delete": "NONE",
496       "default": "true"
497     },
498     {
499       "from": "lag-interface",
500       "to": "p-interface",
501       "label": "org.onap.relationships.inventory.Uses",
502       "direction": "OUT",
503       "multiplicity": "MANY2MANY",
504       "contains-other-v": "NONE",
505       "delete-other-v": "NONE",
506       "prevent-delete": "NONE",
507       "default": "true"
508     },
509     {
510       "from": "l-interface",
511       "to": "lag-interface",
512       "label": "org.onap.relationships.inventory.BelongsTo",
513       "direction": "OUT",
514       "multiplicity": "MANY2ONE",
515       "contains-other-v": "!${direction}",
516       "delete-other-v": "!${direction}",
517       "prevent-delete": "NONE",
518       "default": "true"
519     },
520     {
521       "from": "l3-interface-ipv4-address-list",
522       "to": "l-interface",
523       "label": "org.onap.relationships.inventory.BelongsTo",
524       "direction": "OUT",
525       "multiplicity": "MANY2ONE",
526       "contains-other-v": "!${direction}",
527       "delete-other-v": "!${direction}",
528       "prevent-delete": "NONE",
529       "default": "true"
530     },
531     {
532       "from": "l3-interface-ipv6-address-list",
533       "to": "l-interface",
534       "label": "org.onap.relationships.inventory.BelongsTo",
535       "direction": "OUT",
536       "multiplicity": "MANY2ONE",
537       "contains-other-v": "!${direction}",
538       "delete-other-v": "!${direction}",
539       "prevent-delete": "NONE",
540       "default": "true"
541     },
542     {
543       "from": "l-interface",
544       "to": "logical-link",
545       "label": "tosca.relationships.network.LinksTo",
546       "direction": "OUT",
547       "multiplicity": "MANY2MANY",
548       "contains-other-v": "NONE",
549       "delete-other-v": "${direction}",
550       "prevent-delete": "NONE",
551       "default": "true"
552     },
553     {
554       "from": "sriov-vf",
555       "to": "l-interface",
556       "label": "org.onap.relationships.inventory.BelongsTo",
557       "direction": "OUT",
558       "multiplicity": "ONE2ONE",
559       "contains-other-v": "!${direction}",
560       "delete-other-v": "!${direction}",
561       "prevent-delete": "NONE",
562       "default": "true"
563     },
564     {
565       "from": "vlan",
566       "to": "l-interface",
567       "label": "tosca.relationships.network.LinksTo",
568       "direction": "OUT",
569       "multiplicity": "MANY2ONE",
570       "contains-other-v": "!${direction}",
571       "delete-other-v": "!${direction}",
572       "prevent-delete": "NONE",
573       "default": "true"
574     },
575     {
576       "from": "logical-link",
577       "to": "generic-vnf",
578       "label": "org.onap.relationships.inventory.BridgedTo",
579       "direction": "OUT",
580       "multiplicity": "MANY2MANY",
581       "contains-other-v": "NONE",
582       "delete-other-v": "NONE",
583       "prevent-delete": "NONE",
584       "default": "true"
585     },
586     {
587       "from": "logical-link",
588       "to": "lag-link",
589       "label": "org.onap.relationships.inventory.Uses",
590       "direction": "OUT",
591       "multiplicity": "MANY2MANY",
592       "contains-other-v": "NONE",
593       "delete-other-v": "NONE",
594       "prevent-delete": "NONE",
595       "default": "true"
596     },
597     {
598       "from": "logical-link",
599       "to": "pserver",
600       "label": "org.onap.relationships.inventory.BridgedTo",
601       "direction": "OUT",
602       "multiplicity": "MANY2MANY",
603       "contains-other-v": "NONE",
604       "delete-other-v": "NONE",
605       "prevent-delete": "!${direction}",
606       "default": "true"
607     },
608     {
609       "from": "constrained-element-set",
610       "to": "model-constraint",
611       "label": "org.onap.relationships.inventory.BelongsTo",
612       "direction": "OUT",
613       "multiplicity": "MANY2ONE",
614       "contains-other-v": "!${direction}",
615       "delete-other-v": "!${direction}",
616       "prevent-delete": "NONE",
617       "default": "true"
618     },
619     {
620       "from": "constrained-element-set",
621       "to": "model-element",
622       "label": "org.onap.relationships.inventory.BelongsTo",
623       "direction": "OUT",
624       "multiplicity": "MANY2ONE",
625       "contains-other-v": "!${direction}",
626       "delete-other-v": "!${direction}",
627       "prevent-delete": "NONE",
628       "default": "true"
629     },
630     {
631       "from": "model-constraint",
632       "to": "model-element",
633       "label": "org.onap.relationships.inventory.BelongsTo",
634       "direction": "OUT",
635       "multiplicity": "MANY2ONE",
636       "contains-other-v": "!${direction}",
637       "delete-other-v": "!${direction}",
638       "prevent-delete": "NONE",
639       "default": "true"
640     },
641     {
642       "from": "model-element",
643       "to": "model-element",
644       "label": "org.onap.relationships.inventory.BelongsTo",
645       "direction": "OUT",
646       "multiplicity": "MANY2ONE",
647       "contains-other-v": "!${direction}",
648       "delete-other-v": "!${direction}",
649       "prevent-delete": "NONE",
650       "default": "true"
651     },
652     {
653       "from": "named-query",
654       "to": "model",
655       "label": "org.onap.relationships.inventory.AppliesTo",
656       "direction": "OUT",
657       "multiplicity": "ONE2MANY",
658       "contains-other-v": "NONE",
659       "delete-other-v": "NONE",
660       "prevent-delete": "!${direction}",
661       "default": "true"
662     },
663     {
664       "from": "named-query-element",
665       "to": "named-query",
666       "label": "org.onap.relationships.inventory.BelongsTo",
667       "direction": "OUT",
668       "multiplicity": "ONE2ONE",
669       "contains-other-v": "!${direction}",
670       "delete-other-v": "!${direction}",
671       "prevent-delete": "NONE",
672       "default": "true"
673     },
674     {
675       "from": "named-query-element",
676       "to": "model",
677       "label": "org.onap.relationships.inventory.IsA",
678       "direction": "OUT",
679       "multiplicity": "MANY2ONE",
680       "contains-other-v": "NONE",
681       "delete-other-v": "NONE",
682       "prevent-delete": "!${direction}",
683       "default": "true"
684     },
685     {
686       "from": "named-query-element",
687       "to": "named-query-element",
688       "label": "org.onap.relationships.inventory.BelongsTo",
689       "direction": "OUT",
690       "multiplicity": "MANY2ONE",
691       "contains-other-v": "!${direction}",
692       "delete-other-v": "!${direction}",
693       "prevent-delete": "NONE",
694       "default": "true"
695     },
696     {
697       "from": "property-constraint",
698       "to": "named-query-element",
699       "label": "org.onap.relationships.inventory.BelongsTo",
700       "direction": "OUT",
701       "multiplicity": "MANY2ONE",
702       "contains-other-v": "!${direction}",
703       "delete-other-v": "!${direction}",
704       "prevent-delete": "NONE",
705       "default": "true"
706     },
707     {
708       "from": "related-lookup",
709       "to": "named-query-element",
710       "label": "org.onap.relationships.inventory.BelongsTo",
711       "direction": "OUT",
712       "multiplicity": "MANY2ONE",
713       "contains-other-v": "!${direction}",
714       "delete-other-v": "!${direction}",
715       "prevent-delete": "NONE",
716       "default": "true"
717     },
718     {
719       "from": "l-interface",
720       "to": "newvce",
721       "label": "org.onap.relationships.inventory.BelongsTo",
722       "direction": "OUT",
723       "multiplicity": "MANY2ONE",
724       "contains-other-v": "!${direction}",
725       "delete-other-v": "!${direction}",
726       "prevent-delete": "NONE",
727       "default": "true"
728     },
729     {
730       "from": "oam-network",
731       "to": "complex",
732       "label": "org.onap.relationships.inventory.AppliesTo",
733       "direction": "OUT",
734       "multiplicity": "MANY2MANY",
735       "contains-other-v": "NONE",
736       "delete-other-v": "NONE",
737       "prevent-delete": "!${direction}",
738       "default": "true"
739     },
740     {
741       "from": "oam-network",
742       "to": "service-capability",
743       "label": "org.onap.relationships.inventory.AppliesTo",
744       "direction": "OUT",
745       "multiplicity": "MANY2MANY",
746       "contains-other-v": "NONE",
747       "delete-other-v": "NONE",
748       "prevent-delete": "!${direction}",
749       "default": "true"
750     },
751     {
752       "from": "l-interface",
753       "to": "p-interface",
754       "label": "tosca.relationships.network.BindsTo",
755       "direction": "OUT",
756       "multiplicity": "MANY2ONE",
757       "contains-other-v": "!${direction}",
758       "delete-other-v": "!${direction}",
759       "prevent-delete": "NONE",
760       "default": "true"
761     },
762     {
763       "from": "p-interface",
764       "to": "logical-link",
765       "label": "tosca.relationships.network.LinksTo",
766       "direction": "OUT",
767       "multiplicity": "MANY2ONE",
768       "contains-other-v": "NONE",
769       "delete-other-v": "NONE",
770       "prevent-delete": "NONE",
771       "default": "true"
772     },
773     {
774       "from": "p-interface",
775       "to": "physical-link",
776       "label": "tosca.relationships.network.LinksTo",
777       "direction": "OUT",
778       "multiplicity": "MANY2ONE",
779       "contains-other-v": "NONE",
780       "delete-other-v": "${direction}",
781       "prevent-delete": "NONE",
782       "default": "true"
783     },
784     {
785       "from": "p-interface",
786       "to": "pnf",
787       "label": "tosca.relationships.network.BindsTo",
788       "direction": "OUT",
789       "multiplicity": "MANY2ONE",
790       "contains-other-v": "!${direction}",
791       "delete-other-v": "!${direction}",
792       "prevent-delete": "NONE",
793       "default": "true"
794     },
795     {
796       "from": "pnf",
797       "to": "complex",
798       "label": "org.onap.relationships.inventory.LocatedIn",
799       "direction": "OUT",
800       "multiplicity": "MANY2ONE",
801       "contains-other-v": "NONE",
802       "delete-other-v": "NONE",
803       "prevent-delete": "!${direction}",
804       "default": "true"
805     },
806     {
807       "from": "cvlan-tag",
808       "to": "port-group",
809       "label": "org.onap.relationships.inventory.BelongsTo",
810       "direction": "OUT",
811       "multiplicity": "MANY2ONE",
812       "contains-other-v": "!${direction}",
813       "delete-other-v": "!${direction}",
814       "prevent-delete": "NONE",
815       "default": "true"
816     },
817     {
818       "from": "lag-interface",
819       "to": "pserver",
820       "label": "tosca.relationships.network.BindsTo",
821       "direction": "OUT",
822       "multiplicity": "MANY2ONE",
823       "contains-other-v": "!${direction}",
824       "delete-other-v": "!${direction}",
825       "prevent-delete": "NONE",
826       "default": "true"
827     },
828     {
829       "from": "p-interface",
830       "to": "pserver",
831       "label": "tosca.relationships.network.BindsTo",
832       "direction": "OUT",
833       "multiplicity": "MANY2ONE",
834       "contains-other-v": "!${direction}",
835       "delete-other-v": "!${direction}",
836       "prevent-delete": "NONE",
837       "default": "true"
838     },
839     {
840       "from": "pserver",
841       "to": "availability-zone",
842       "label": "org.onap.relationships.inventory.MemberOf",
843       "direction": "OUT",
844       "multiplicity": "MANY2ONE",
845       "contains-other-v": "NONE",
846       "delete-other-v": "NONE",
847       "prevent-delete": "!${direction}",
848       "default": "true"
849     },
850     {
851       "from": "pserver",
852       "to": "cloud-region",
853       "label": "org.onap.relationships.inventory.LocatedIn",
854       "direction": "OUT",
855       "multiplicity": "MANY2ONE",
856       "contains-other-v": "NONE",
857       "delete-other-v": "NONE",
858       "prevent-delete": "NONE",
859       "default": "true"
860     },
861     {
862       "from": "pserver",
863       "to": "complex",
864       "label": "org.onap.relationships.inventory.LocatedIn",
865       "direction": "OUT",
866       "multiplicity": "MANY2ONE",
867       "contains-other-v": "NONE",
868       "delete-other-v": "NONE",
869       "prevent-delete": "!${direction}",
870       "default": "true"
871     },
872     {
873       "from": "site-pair",
874       "to": "routing-instance",
875       "label": "org.onap.relationships.inventory.BelongsTo",
876       "direction": "OUT",
877       "multiplicity": "MANY2ONE",
878       "contains-other-v": "!${direction}",
879       "delete-other-v": "!${direction}",
880       "prevent-delete": "NONE",
881       "default": "true"
882     },
883     {
884       "from": "metadatum",
885       "to": "service-instance",
886       "label": "org.onap.relationships.inventory.BelongsTo",
887       "direction": "OUT",
888       "multiplicity": "MANY2ONE",
889       "contains-other-v": "!${direction}",
890       "delete-other-v": "!${direction}",
891       "prevent-delete": "NONE",
892       "default": "true"
893     },
894     {
895       "from": "service-instance",
896       "to": "connector",
897       "label": "org.onap.relationships.inventory.Uses",
898       "direction": "OUT",
899       "multiplicity": "MANY2MANY",
900       "contains-other-v": "NONE",
901       "delete-other-v": "NONE",
902       "prevent-delete": "NONE",
903       "default": "true"
904     },
905     {
906       "from": "service-instance",
907       "to": "cvlan-tag",
908       "label": "org.onap.relationships.inventory.ComposedOf",
909       "direction": "OUT",
910       "multiplicity": "MANY2MANY",
911       "contains-other-v": "NONE",
912       "delete-other-v": "NONE",
913       "prevent-delete": "NONE",
914       "default": "true"
915     },
916     {
917       "from": "service-instance",
918       "to": "logical-link",
919       "label": "org.onap.relationships.inventory.Uses",
920       "direction": "OUT",
921       "multiplicity": "MANY2MANY",
922       "contains-other-v": "NONE",
923       "delete-other-v": "${direction}",
924       "prevent-delete": "NONE",
925       "default": "true"
926     },
927     {
928       "from": "service-instance",
929       "to": "service-subscription",
930       "label": "org.onap.relationships.inventory.BelongsTo",
931       "direction": "OUT",
932       "multiplicity": "MANY2ONE",
933       "contains-other-v": "!${direction}",
934       "delete-other-v": "!${direction}",
935       "prevent-delete": "NONE",
936       "default": "true"
937     },
938     {
939       "from": "class-of-service",
940       "to": "site-pair",
941       "label": "org.onap.relationships.inventory.BelongsTo",
942       "direction": "OUT",
943       "multiplicity": "MANY2ONE",
944       "contains-other-v": "!${direction}",
945       "delete-other-v": "!${direction}",
946       "prevent-delete": "NONE",
947       "default": "true"
948     },
949     {
950       "from": "routing-instance",
951       "to": "site-pair-set",
952       "label": "org.onap.relationships.inventory.BelongsTo",
953       "direction": "OUT",
954       "multiplicity": "MANY2ONE",
955       "contains-other-v": "!${direction}",
956       "delete-other-v": "!${direction}",
957       "prevent-delete": "NONE",
958       "default": "true"
959     },
960     {
961       "from": "service-subscription",
962       "to": "tenant",
963       "label": "org.onap.relationships.inventory.Uses",
964       "direction": "OUT",
965       "multiplicity": "MANY2MANY",
966       "contains-other-v": "NONE",
967       "delete-other-v": "NONE",
968       "prevent-delete": "NONE",
969       "default": "true"
970     },
971     {
972       "from": "tenant",
973       "to": "l3-network",
974       "label": "org.onap.relationships.inventory.Uses",
975       "direction": "OUT",
976       "multiplicity": "MANY2MANY",
977       "contains-other-v": "NONE",
978       "delete-other-v": "NONE",
979       "prevent-delete": "NONE",
980       "default": "true"
981     },
982     {
983       "from": "vserver",
984       "to": "tenant",
985       "label": "org.onap.relationships.inventory.BelongsTo",
986       "direction": "OUT",
987       "multiplicity": "MANY2ONE",
988       "contains-other-v": "!${direction}",
989       "delete-other-v": "NONE",
990       "prevent-delete": "!${direction}",
991       "default": "true"
992     },
993     {
994       "from": "port-group",
995       "to": "vce",
996       "label": "org.onap.relationships.inventory.BelongsTo",
997       "direction": "OUT",
998       "multiplicity": "MANY2ONE",
999       "contains-other-v": "!${direction}",
1000       "delete-other-v": "!${direction}",
1001       "prevent-delete": "NONE",
1002       "default": "true"
1003     },
1004     {
1005       "from": "service-instance",
1006       "to": "vce",
1007       "label": "org.onap.relationships.inventory.ComposedOf",
1008       "direction": "OUT",
1009       "multiplicity": "ONE2MANY",
1010       "contains-other-v": "NONE",
1011       "delete-other-v": "NONE",
1012       "prevent-delete": "NONE",
1013       "default": "true"
1014     },
1015     {
1016       "from": "vce",
1017       "to": "availability-zone",
1018       "label": "org.onap.relationships.inventory.Uses",
1019       "direction": "OUT",
1020       "multiplicity": "MANY2MANY",
1021       "contains-other-v": "NONE",
1022       "delete-other-v": "NONE",
1023       "prevent-delete": "!${direction}",
1024       "default": "true"
1025     },
1026     {
1027       "from": "vce",
1028       "to": "complex",
1029       "label": "org.onap.relationships.inventory.LocatedIn",
1030       "direction": "OUT",
1031       "multiplicity": "MANY2MANY",
1032       "contains-other-v": "NONE",
1033       "delete-other-v": "NONE",
1034       "prevent-delete": "!${direction}",
1035       "default": "true"
1036     },
1037     {
1038       "from": "vce",
1039       "to": "vserver",
1040       "label": "tosca.relationships.HostedOn",
1041       "direction": "OUT",
1042       "multiplicity": "ONE2MANY",
1043       "contains-other-v": "NONE",
1044       "delete-other-v": "NONE",
1045       "prevent-delete": "NONE",
1046       "default": "true"
1047     },
1048     {
1049       "from": "vf-module",
1050       "to": "l3-network",
1051       "label": "org.onap.relationships.inventory.DependsOn",
1052       "direction": "OUT",
1053       "multiplicity": "MANY2MANY",
1054       "contains-other-v": "NONE",
1055       "delete-other-v": "NONE",
1056       "prevent-delete": "NONE",
1057       "default": "true"
1058     },
1059     {
1060       "from": "vf-module",
1061       "to": "volume-group",
1062       "label": "org.onap.relationships.inventory.Uses",
1063       "direction": "OUT",
1064       "multiplicity": "ONE2ONE",
1065       "contains-other-v": "NONE",
1066       "delete-other-v": "NONE",
1067       "prevent-delete": "NONE",
1068       "default": "true"
1069     },
1070     {
1071       "from": "generic-vnf",
1072       "to": "virtual-data-center",
1073       "label": "org.onap.relationships.inventory.LocatedIn",
1074       "direction": "OUT",
1075       "multiplicity": "MANY2MANY",
1076       "contains-other-v": "NONE",
1077       "delete-other-v": "NONE",
1078       "prevent-delete": "NONE",
1079       "default": "true"
1080     },
1081     {
1082       "from": "logical-link",
1083       "to": "virtual-data-center",
1084       "label": "org.onap.relationships.inventory.LocatedIn",
1085       "direction": "OUT",
1086       "multiplicity": "MANY2MANY",
1087       "contains-other-v": "NONE",
1088       "delete-other-v": "NONE",
1089       "prevent-delete": "NONE",
1090       "default": "true"
1091     },
1092     {
1093       "from": "l3-interface-ipv4-address-list",
1094       "to": "vlan",
1095       "label": "org.onap.relationships.inventory.BelongsTo",
1096       "direction": "OUT",
1097       "multiplicity": "MANY2ONE",
1098       "contains-other-v": "!${direction}",
1099       "delete-other-v": "!${direction}",
1100       "prevent-delete": "NONE",
1101       "default": "true"
1102     },
1103     {
1104       "from": "l3-interface-ipv6-address-list",
1105       "to": "vlan",
1106       "label": "org.onap.relationships.inventory.BelongsTo",
1107       "direction": "OUT",
1108       "multiplicity": "MANY2ONE",
1109       "contains-other-v": "!${direction}",
1110       "delete-other-v": "!${direction}",
1111       "prevent-delete": "NONE",
1112       "default": "true"
1113     },
1114     {
1115       "from": "vlan",
1116       "to": "logical-link",
1117       "label": "org.onap.relationships.inventory.Uses",
1118       "direction": "OUT",
1119       "multiplicity": "MANY2MANY",
1120       "contains-other-v": "NONE",
1121       "delete-other-v": "${direction}",
1122       "prevent-delete": "NONE",
1123       "default": "true"
1124     },
1125     {
1126       "from": "vlan",
1127       "to": "multicast-configuration",
1128       "label": "org.onap.relationships.inventory.Uses",
1129       "direction": "OUT",
1130       "multiplicity": "MANY2MANY",
1131       "contains-other-v": "NONE",
1132       "delete-other-v": "NONE",
1133       "prevent-delete": "NONE",
1134       "default": "true"
1135     },
1136     {
1137       "from": "tenant",
1138       "to": "volume-group",
1139       "label": "org.onap.relationships.inventory.DependsOn",
1140       "direction": "OUT",
1141       "multiplicity": "ONE2MANY",
1142       "contains-other-v": "NONE",
1143       "delete-other-v": "NONE",
1144       "prevent-delete": "NONE",
1145       "default": "true"
1146     },
1147     {
1148       "from": "volume-group",
1149       "to": "complex",
1150       "label": "org.onap.relationships.inventory.LocatedIn",
1151       "direction": "OUT",
1152       "multiplicity": "MANY2ONE",
1153       "contains-other-v": "NONE",
1154       "delete-other-v": "NONE",
1155       "prevent-delete": "!${direction}",
1156       "default": "true"
1157     },
1158     {
1159       "from": "lag-interface",
1160       "to": "vpls-pe",
1161       "label": "tosca.relationships.network.BindsTo",
1162       "direction": "OUT",
1163       "multiplicity": "MANY2ONE",
1164       "contains-other-v": "!${direction}",
1165       "delete-other-v": "!${direction}",
1166       "prevent-delete": "NONE",
1167       "default": "true"
1168     },
1169     {
1170       "from": "p-interface",
1171       "to": "vpls-pe",
1172       "label": "tosca.relationships.network.BindsTo",
1173       "direction": "OUT",
1174       "multiplicity": "MANY2ONE",
1175       "contains-other-v": "!${direction}",
1176       "delete-other-v": "!${direction}",
1177       "prevent-delete": "NONE",
1178       "default": "true"
1179     },
1180     {
1181       "from": "vpls-pe",
1182       "to": "complex",
1183       "label": "org.onap.relationships.inventory.LocatedIn",
1184       "direction": "OUT",
1185       "multiplicity": "MANY2ONE",
1186       "contains-other-v": "NONE",
1187       "delete-other-v": "NONE",
1188       "prevent-delete": "!${direction}",
1189       "default": "true"
1190     },
1191     {
1192       "from": "vpls-pe",
1193       "to": "ctag-pool",
1194       "label": "org.onap.relationships.inventory.Uses",
1195       "direction": "OUT",
1196       "multiplicity": "MANY2MANY",
1197       "contains-other-v": "NONE",
1198       "delete-other-v": "NONE",
1199       "prevent-delete": "NONE",
1200       "default": "true"
1201     },
1202     {
1203       "from": "l-interface",
1204       "to": "vserver",
1205       "label": "tosca.relationships.network.BindsTo",
1206       "direction": "OUT",
1207       "multiplicity": "MANY2ONE",
1208       "contains-other-v": "!${direction}",
1209       "delete-other-v": "!${direction}",
1210       "prevent-delete": "NONE",
1211       "default": "true"
1212     },
1213     {
1214       "from": "vf-module",
1215       "to": "vserver",
1216       "label": "org.onap.relationships.inventory.Uses",
1217       "direction": "OUT",
1218       "multiplicity": "ONE2MANY",
1219       "contains-other-v": "NONE",
1220       "delete-other-v": "NONE",
1221       "prevent-delete": "NONE",
1222       "default": "true"
1223     },
1224     {
1225       "from": "vnfc",
1226       "to": "vserver",
1227       "label": "tosca.relationships.HostedOn",
1228       "direction": "OUT",
1229       "multiplicity": "ONE2MANY",
1230       "contains-other-v": "NONE",
1231       "delete-other-v": "NONE",
1232       "prevent-delete": "NONE",
1233       "default": "true"
1234     },
1235     {
1236       "from": "vserver",
1237       "to": "flavor",
1238       "label": "org.onap.relationships.inventory.Uses",
1239       "direction": "OUT",
1240       "multiplicity": "MANY2ONE",
1241       "contains-other-v": "NONE",
1242       "delete-other-v": "NONE",
1243       "prevent-delete": "!${direction}",
1244       "default": "true"
1245     },
1246     {
1247       "from": "vserver",
1248       "to": "image",
1249       "label": "org.onap.relationships.inventory.Uses",
1250       "direction": "OUT",
1251       "multiplicity": "MANY2ONE",
1252       "contains-other-v": "NONE",
1253       "delete-other-v": "NONE",
1254       "prevent-delete": "!${direction}",
1255       "default": "true"
1256     },
1257     {
1258       "from": "vserver",
1259       "to": "pserver",
1260       "label": "tosca.relationships.HostedOn",
1261       "direction": "OUT",
1262       "multiplicity": "MANY2ONE",
1263       "contains-other-v": "NONE",
1264       "delete-other-v": "NONE",
1265       "prevent-delete": "!${direction}",
1266       "default": "true"
1267     },
1268     {
1269       "from": "model-element",
1270       "to": "model",
1271       "label": "isA",
1272       "direction": "OUT",
1273       "multiplicity": "MANY2ONE",
1274       "contains-other-v": "NONE",
1275       "delete-other-v": "NONE",
1276       "prevent-delete": "NONE",
1277       "default": "true"
1278     },
1279     {
1280       "from": "model",
1281       "to": "model-element",
1282       "label": "startsWith",
1283       "direction": "OUT",
1284       "multiplicity": "ONE2MANY",
1285       "contains-other-v": "${direction}",
1286       "delete-other-v": "${direction}",
1287       "prevent-delete": "NONE",
1288       "default": "true"
1289     },
1290     {
1291       "from": "metadatum",
1292       "to": "model",
1293       "label": "org.onap.relationships.inventory.BelongsTo",
1294       "direction": "OUT",
1295       "multiplicity": "MANY2ONE",
1296       "contains-other-v": "!${direction}",
1297       "delete-other-v": "!${direction}",
1298       "prevent-delete": "NONE",
1299       "default": "true"
1300     },
1301     {
1302       "from": "vserver",
1303       "to": "volume",
1304       "label": "tosca.relationships.AttachesTo",
1305       "direction": "OUT",
1306       "multiplicity": "ONE2MANY",
1307       "contains-other-v": "${direction}",
1308       "delete-other-v": "${direction}",
1309       "prevent-delete": "NONE",
1310       "default": "true"
1311     }
1312   ]
1313 }