[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / subInterfaceToInterfaceConnection / nestedMultiLevels / expectedoutputfiles / GlobalSubstitutionTypesServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: GlobalSubstitutionTypes
4 imports:
5 - CommonGlobalTypes:
6     file: CommonGlobalTypesServiceTemplate.yaml
7 - NovaServerGlobalTypes:
8     file: NovaServerGlobalTypesServiceTemplate.yaml
9 - NeutronPortGlobalTypes:
10     file: NeutronPortGlobalTypesServiceTemplate.yaml
11 - NeutronSecurityRulesGlobalTypes:
12     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
13 - NeutronNetGlobalTypes:
14     file: NeutronNetGlobalTypesServiceTemplate.yaml
15 - CinderVolumeGlobalTypes:
16     file: CinderVolumeGlobalTypesServiceTemplate.yaml
17 - ContrailVirtualNetworkGlobalType:
18     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
19 - ContrailNetworkRuleGlobalType:
20     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
21 - AbstractSubstituteGlobalTypes:
22     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
23 - ContrailV2VirtualMachineInterfaceGlobalType:
24     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
25 - ContrailComputeGlobalTypes:
26     file: ContrailComputeGlobalTypesServiceTemplate.yaml
27 - ContrailPortGlobalTypes:
28     file: ContrailPortGlobalTypesServiceTemplate.yaml
29 - ContrailAbstractSubstituteGlobalTypes:
30     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
31 - ContrailV2VirtualNetworkGlobalType:
32     file: ContrailV2VirtualNetworkGlobalTypeServiceTemplate.yaml
33 - ContrailV2NetworkRuleGlobalType:
34     file: ContrailV2NetworkRuleGlobalTypeServiceTemplate.yaml
35 - ContrailV2VLANSubInterfaceGlobalType:
36     file: ContrailV2VLANSubInterfaceGlobalTypeServiceTemplate.yaml
37 node_types:
38   org.openecomp.resource.abstract.nodes.heat.nested1:
39     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
40     properties:
41       vlan_ids:
42         type: string
43         required: true
44         status: SUPPORTED
45       virtual_ipv6_address:
46         type: string
47         required: true
48         status: SUPPORTED
49       virtual_ip_address:
50         type: string
51         required: true
52         status: SUPPORTED
53       lb_st_vlan_type_oam:
54         type: string
55         description: dummy
56         required: true
57         status: SUPPORTED
58       mac_address:
59         type: string
60         required: true
61         status: SUPPORTED
62       net2:
63         type: string
64         required: true
65         status: SUPPORTED
66       net1:
67         type: string
68         required: true
69         status: SUPPORTED
70       indx:
71         type: float
72         required: true
73         status: SUPPORTED
74       subinterface_name_prefix:
75         type: string
76         required: true
77         status: SUPPORTED
78       subinterface_instance_index:
79         type: float
80         required: true
81         status: SUPPORTED
82       port1:
83         type: string
84         required: true
85         status: SUPPORTED
86       port2:
87         type: string
88         required: true
89         status: SUPPORTED
90     requirements:
91     - link_template_Vlan_2:
92         capability: tosca.capabilities.network.Linkable
93         node: tosca.nodes.Root
94         relationship: tosca.relationships.network.LinksTo
95         occurrences:
96         - 1
97         - 1
98     - binding_template_Vlan_2:
99         capability: tosca.capabilities.network.Bindable
100         node: org.openecomp.resource.cp.nodes.network.Port
101         relationship: tosca.relationships.network.BindsTo
102         occurrences:
103         - 1
104         - 1
105     - link_template_Vlan_1:
106         capability: tosca.capabilities.network.Linkable
107         node: tosca.nodes.Root
108         relationship: tosca.relationships.network.LinksTo
109         occurrences:
110         - 1
111         - 1
112     - binding_template_Vlan_1:
113         capability: tosca.capabilities.network.Bindable
114         node: org.openecomp.resource.cp.nodes.network.Port
115         relationship: tosca.relationships.network.BindsTo
116         occurrences:
117         - 1
118         - 1
119     - link_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
120         capability: tosca.capabilities.network.Linkable
121         node: tosca.nodes.Root
122         relationship: tosca.relationships.network.LinksTo
123         occurrences:
124         - 1
125         - 1
126     - binding_template_Vlan_8_test_nested4Level_test_nested3Level_test_nested2Level:
127         capability: tosca.capabilities.network.Bindable
128         node: org.openecomp.resource.cp.nodes.network.Port
129         relationship: tosca.relationships.network.BindsTo
130         occurrences:
131         - 1
132         - 1
133     - link_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
134         capability: tosca.capabilities.network.Linkable
135         node: tosca.nodes.Root
136         relationship: tosca.relationships.network.LinksTo
137         occurrences:
138         - 1
139         - 1
140     - binding_template_Vlan_7_test_nested4Level_test_nested3Level_test_nested2Level:
141         capability: tosca.capabilities.network.Bindable
142         node: org.openecomp.resource.cp.nodes.network.Port
143         relationship: tosca.relationships.network.BindsTo
144         occurrences:
145         - 1
146         - 1
147     - link_template_Vlan_6_test_nested3Level_test_nested2Level:
148         capability: tosca.capabilities.network.Linkable
149         node: tosca.nodes.Root
150         relationship: tosca.relationships.network.LinksTo
151         occurrences:
152         - 1
153         - 1
154     - binding_template_Vlan_6_test_nested3Level_test_nested2Level:
155         capability: tosca.capabilities.network.Bindable
156         node: org.openecomp.resource.cp.nodes.network.Port
157         relationship: tosca.relationships.network.BindsTo
158         occurrences:
159         - 1
160         - 1
161     - link_template_Vlan_5_test_nested3Level_test_nested2Level:
162         capability: tosca.capabilities.network.Linkable
163         node: tosca.nodes.Root
164         relationship: tosca.relationships.network.LinksTo
165         occurrences:
166         - 1
167         - 1
168     - binding_template_Vlan_5_test_nested3Level_test_nested2Level:
169         capability: tosca.capabilities.network.Bindable
170         node: org.openecomp.resource.cp.nodes.network.Port
171         relationship: tosca.relationships.network.BindsTo
172         occurrences:
173         - 1
174         - 1
175     - link_template_Vlan_4_test_nested2Level:
176         capability: tosca.capabilities.network.Linkable
177         node: tosca.nodes.Root
178         relationship: tosca.relationships.network.LinksTo
179         occurrences:
180         - 1
181         - 1
182     - binding_template_Vlan_4_test_nested2Level:
183         capability: tosca.capabilities.network.Bindable
184         node: org.openecomp.resource.cp.nodes.network.Port
185         relationship: tosca.relationships.network.BindsTo
186         occurrences:
187         - 1
188         - 1
189     - link_template_Vlan_3_test_nested2Level:
190         capability: tosca.capabilities.network.Linkable
191         node: tosca.nodes.Root
192         relationship: tosca.relationships.network.LinksTo
193         occurrences:
194         - 1
195         - 1
196     - binding_template_Vlan_3_test_nested2Level:
197         capability: tosca.capabilities.network.Bindable
198         node: org.openecomp.resource.cp.nodes.network.Port
199         relationship: tosca.relationships.network.BindsTo
200         occurrences:
201         - 1
202         - 1
203   org.openecomp.resource.abstract.nodes.heat.nested2:
204     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
205     properties:
206       cmaui_names:
207         type: list
208         description: CMAUI1, CMAUI2 server names
209         required: true
210         status: SUPPORTED
211         entry_schema:
212           type: string
213       template_PortTuple_LB1:
214         type: string
215         required: true
216         status: SUPPORTED
217       lb_st_interface_type_oam:
218         type: string
219         required: true
220         status: SUPPORTED
221       oam_sec_group_name:
222         type: string
223         required: true
224         status: SUPPORTED
225       virtual_ip_address:
226         type: string
227         required: true
228         status: SUPPORTED
229       net2:
230         type: string
231         required: true
232         status: SUPPORTED
233       net1:
234         type: string
235         required: true
236         status: SUPPORTED
237       indx:
238         type: float
239         required: true
240         status: SUPPORTED
241       security_group_name:
242         type: list
243         description: CMAUI1, CMAUI2 server names
244         required: true
245         status: SUPPORTED
246         entry_schema:
247           type: string
248       port1:
249         type: string
250         required: true
251         status: SUPPORTED
252       port2:
253         type: string
254         required: true
255         status: SUPPORTED
256       vlan_ids:
257         type: string
258         required: true
259         status: SUPPORTED
260       cmaui_image:
261         type: string
262         description: Image for CMAUI server
263         required: true
264         status: SUPPORTED
265       virtual_ipv6_address:
266         type: string
267         required: true
268         status: SUPPORTED
269       cmaui_flavor:
270         type: string
271         description: Flavor for CMAUI server
272         required: true
273         status: SUPPORTED
274       lb_st_vlan_type_oam:
275         type: string
276         description: dummy
277         required: true
278         status: SUPPORTED
279       mac_address:
280         type: string
281         required: true
282         status: SUPPORTED
283       availability_zone_0:
284         type: string
285         description: availabilityzone name
286         required: true
287         status: SUPPORTED
288       subinterface_name_prefix:
289         type: string
290         required: true
291         status: SUPPORTED
292       subinterface_instance_index:
293         type: float
294         required: true
295         status: SUPPORTED
296       cmaui_oam_ips:
297         type: string
298         required: true
299         status: SUPPORTED
300     requirements:
301     - link_template_Vlan_8_test_nested4Level_test_nested3Level:
302         capability: tosca.capabilities.network.Linkable
303         node: tosca.nodes.Root
304         relationship: tosca.relationships.network.LinksTo
305         occurrences:
306         - 1
307         - 1
308     - binding_template_Vlan_8_test_nested4Level_test_nested3Level:
309         capability: tosca.capabilities.network.Bindable
310         node: org.openecomp.resource.cp.nodes.network.Port
311         relationship: tosca.relationships.network.BindsTo
312         occurrences:
313         - 1
314         - 1
315     - link_template_Vlan_7_test_nested4Level_test_nested3Level:
316         capability: tosca.capabilities.network.Linkable
317         node: tosca.nodes.Root
318         relationship: tosca.relationships.network.LinksTo
319         occurrences:
320         - 1
321         - 1
322     - binding_template_Vlan_7_test_nested4Level_test_nested3Level:
323         capability: tosca.capabilities.network.Bindable
324         node: org.openecomp.resource.cp.nodes.network.Port
325         relationship: tosca.relationships.network.BindsTo
326         occurrences:
327         - 1
328         - 1
329     - link_template_Vlan_6_test_nested3Level:
330         capability: tosca.capabilities.network.Linkable
331         node: tosca.nodes.Root
332         relationship: tosca.relationships.network.LinksTo
333         occurrences:
334         - 1
335         - 1
336     - binding_template_Vlan_6_test_nested3Level:
337         capability: tosca.capabilities.network.Bindable
338         node: org.openecomp.resource.cp.nodes.network.Port
339         relationship: tosca.relationships.network.BindsTo
340         occurrences:
341         - 1
342         - 1
343     - link_template_Vlan_5_test_nested3Level:
344         capability: tosca.capabilities.network.Linkable
345         node: tosca.nodes.Root
346         relationship: tosca.relationships.network.LinksTo
347         occurrences:
348         - 1
349         - 1
350     - binding_template_Vlan_5_test_nested3Level:
351         capability: tosca.capabilities.network.Bindable
352         node: org.openecomp.resource.cp.nodes.network.Port
353         relationship: tosca.relationships.network.BindsTo
354         occurrences:
355         - 1
356         - 1
357     - link_template_Vlan_4:
358         capability: tosca.capabilities.network.Linkable
359         node: tosca.nodes.Root
360         relationship: tosca.relationships.network.LinksTo
361         occurrences:
362         - 1
363         - 1
364     - binding_template_Vlan_4:
365         capability: tosca.capabilities.network.Bindable
366         node: org.openecomp.resource.cp.nodes.network.Port
367         relationship: tosca.relationships.network.BindsTo
368         occurrences:
369         - 1
370         - 1
371     - link_template_Vlan_3:
372         capability: tosca.capabilities.network.Linkable
373         node: tosca.nodes.Root
374         relationship: tosca.relationships.network.LinksTo
375         occurrences:
376         - 1
377         - 1
378     - binding_template_Vlan_3:
379         capability: tosca.capabilities.network.Bindable
380         node: org.openecomp.resource.cp.nodes.network.Port
381         relationship: tosca.relationships.network.BindsTo
382         occurrences:
383         - 1
384         - 1
385   org.openecomp.resource.abstract.nodes.heat.nested3:
386     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
387     properties:
388       cmaui_names:
389         type: list
390         description: CMAUI1, CMAUI2 server names
391         required: true
392         status: SUPPORTED
393         entry_schema:
394           type: string
395       template_PortTuple_LB1:
396         type: string
397         required: true
398         status: SUPPORTED
399       lb_st_interface_type_oam:
400         type: string
401         required: true
402         status: SUPPORTED
403       oam_sec_group_name:
404         type: string
405         required: true
406         status: SUPPORTED
407       virtual_ip_address:
408         type: string
409         required: true
410         status: SUPPORTED
411       net2:
412         type: string
413         required: true
414         status: SUPPORTED
415       net1:
416         type: string
417         required: true
418         status: SUPPORTED
419       indx:
420         type: float
421         required: true
422         status: SUPPORTED
423       security_group_name:
424         type: list
425         description: CMAUI1, CMAUI2 server names
426         required: true
427         status: SUPPORTED
428         entry_schema:
429           type: string
430       port1:
431         type: string
432         required: true
433         status: SUPPORTED
434       port2:
435         type: string
436         required: true
437         status: SUPPORTED
438       vlan_ids:
439         type: string
440         required: true
441         status: SUPPORTED
442       cmaui_image:
443         type: string
444         description: Image for CMAUI server
445         required: true
446         status: SUPPORTED
447       virtual_ipv6_address:
448         type: string
449         required: true
450         status: SUPPORTED
451       cmaui_flavor:
452         type: string
453         description: Flavor for CMAUI server
454         required: true
455         status: SUPPORTED
456       lb_st_vlan_type_oam:
457         type: string
458         description: dummy
459         required: true
460         status: SUPPORTED
461       mac_address:
462         type: string
463         required: true
464         status: SUPPORTED
465       availability_zone_0:
466         type: string
467         description: availabilityzone name
468         required: true
469         status: SUPPORTED
470       subinterface_name_prefix:
471         type: string
472         required: true
473         status: SUPPORTED
474       subinterface_instance_index:
475         type: float
476         required: true
477         status: SUPPORTED
478       cmaui_oam_ips:
479         type: string
480         required: true
481         status: SUPPORTED
482     requirements:
483     - link_template_Vlan_8_test_nested4Level:
484         capability: tosca.capabilities.network.Linkable
485         node: tosca.nodes.Root
486         relationship: tosca.relationships.network.LinksTo
487         occurrences:
488         - 1
489         - 1
490     - binding_template_Vlan_8_test_nested4Level:
491         capability: tosca.capabilities.network.Bindable
492         node: org.openecomp.resource.cp.nodes.network.Port
493         relationship: tosca.relationships.network.BindsTo
494         occurrences:
495         - 1
496         - 1
497     - link_template_Vlan_7_test_nested4Level:
498         capability: tosca.capabilities.network.Linkable
499         node: tosca.nodes.Root
500         relationship: tosca.relationships.network.LinksTo
501         occurrences:
502         - 1
503         - 1
504     - binding_template_Vlan_7_test_nested4Level:
505         capability: tosca.capabilities.network.Bindable
506         node: org.openecomp.resource.cp.nodes.network.Port
507         relationship: tosca.relationships.network.BindsTo
508         occurrences:
509         - 1
510         - 1
511     - link_template_Vlan_6:
512         capability: tosca.capabilities.network.Linkable
513         node: tosca.nodes.Root
514         relationship: tosca.relationships.network.LinksTo
515         occurrences:
516         - 1
517         - 1
518     - binding_template_Vlan_6:
519         capability: tosca.capabilities.network.Bindable
520         node: org.openecomp.resource.cp.nodes.network.Port
521         relationship: tosca.relationships.network.BindsTo
522         occurrences:
523         - 1
524         - 1
525     - link_template_Vlan_5:
526         capability: tosca.capabilities.network.Linkable
527         node: tosca.nodes.Root
528         relationship: tosca.relationships.network.LinksTo
529         occurrences:
530         - 1
531         - 1
532     - binding_template_Vlan_5:
533         capability: tosca.capabilities.network.Bindable
534         node: org.openecomp.resource.cp.nodes.network.Port
535         relationship: tosca.relationships.network.BindsTo
536         occurrences:
537         - 1
538         - 1
539   org.openecomp.resource.abstract.nodes.heat.nested4:
540     derived_from: org.openecomp.resource.abstract.nodes.AbstractSubstitute
541     properties:
542       cmaui_names:
543         type: list
544         description: CMAUI1, CMAUI2 server names
545         required: true
546         status: SUPPORTED
547         entry_schema:
548           type: string
549       template_PortTuple_LB1:
550         type: string
551         required: true
552         status: SUPPORTED
553       lb_st_interface_type_oam:
554         type: string
555         required: true
556         status: SUPPORTED
557       oam_sec_group_name:
558         type: string
559         required: true
560         status: SUPPORTED
561       virtual_ip_address:
562         type: string
563         required: true
564         status: SUPPORTED
565       net2:
566         type: string
567         required: true
568         status: SUPPORTED
569       net1:
570         type: string
571         required: true
572         status: SUPPORTED
573       indx:
574         type: float
575         required: true
576         status: SUPPORTED
577       security_group_name:
578         type: list
579         description: CMAUI1, CMAUI2 server names
580         required: true
581         status: SUPPORTED
582         entry_schema:
583           type: string
584       port1:
585         type: string
586         required: true
587         status: SUPPORTED
588       port2:
589         type: string
590         required: true
591         status: SUPPORTED
592       vlan_ids:
593         type: string
594         required: true
595         status: SUPPORTED
596       cmaui_image:
597         type: string
598         description: Image for CMAUI server
599         required: true
600         status: SUPPORTED
601       virtual_ipv6_address:
602         type: string
603         required: true
604         status: SUPPORTED
605       cmaui_flavor:
606         type: string
607         description: Flavor for CMAUI server
608         required: true
609         status: SUPPORTED
610       lb_st_vlan_type_oam:
611         type: string
612         description: dummy
613         required: true
614         status: SUPPORTED
615       mac_address:
616         type: string
617         required: true
618         status: SUPPORTED
619       availability_zone_0:
620         type: string
621         description: availabilityzone name
622         required: true
623         status: SUPPORTED
624       subinterface_name_prefix:
625         type: string
626         required: true
627         status: SUPPORTED
628       subinterface_instance_index:
629         type: float
630         required: true
631         status: SUPPORTED
632       cmaui_oam_ips:
633         type: string
634         required: true
635         status: SUPPORTED
636     requirements:
637     - link_template_Vlan_8:
638         capability: tosca.capabilities.network.Linkable
639         node: tosca.nodes.Root
640         relationship: tosca.relationships.network.LinksTo
641         occurrences:
642         - 1
643         - 1
644     - binding_template_Vlan_8:
645         capability: tosca.capabilities.network.Bindable
646         node: org.openecomp.resource.cp.nodes.network.Port
647         relationship: tosca.relationships.network.BindsTo
648         occurrences:
649         - 1
650         - 1
651     - link_template_Vlan_7:
652         capability: tosca.capabilities.network.Linkable
653         node: tosca.nodes.Root
654         relationship: tosca.relationships.network.LinksTo
655         occurrences:
656         - 1
657         - 1
658     - binding_template_Vlan_7:
659         capability: tosca.capabilities.network.Bindable
660         node: org.openecomp.resource.cp.nodes.network.Port
661         relationship: tosca.relationships.network.BindsTo
662         occurrences:
663         - 1
664         - 1