58b33a492e6b4f6ae9ba7633052da4c859458279
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / mixPatterns / twoAppearancePerPatternWithConnectivities / out / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     pd_flavor_name:
12       label: PD flavor name
13       hidden: false
14       immutable: false
15       annotations:
16         source:
17           type: org.openecomp.annotations.Source
18           properties:
19             vf_module_label:
20             - hot-mog-0108-bs1271
21             source_type: HEAT
22             param_name: pd_flavor_name
23       type: string
24       description: flavor name of PD instance
25     availabilityzone_name:
26       label: availabilityzone name
27       hidden: false
28       immutable: false
29       annotations:
30         source:
31           type: org.openecomp.annotations.Source
32           properties:
33             vf_module_label:
34             - hot-mog-0108-bs1271
35             source_type: HEAT
36             param_name: availabilityzone_name
37       type: string
38       description: availabilityzone name
39     ppds_net_name:
40       hidden: false
41       immutable: false
42       annotations:
43         source:
44           type: org.openecomp.annotations.Source
45           properties:
46             vf_module_label:
47             - hot-mog-0108-bs1271
48             source_type: HEAT
49             param_name: ppds_net_name
50       type: string
51     a_single_1a_names:
52       hidden: false
53       immutable: false
54       annotations:
55         source:
56           type: org.openecomp.annotations.Source
57           properties:
58             vf_module_label:
59             - hot-mog-0108-bs1271
60             source_type: HEAT
61             param_name: a_single_1a_names
62       type: string
63     a_single_2a_names:
64       hidden: false
65       immutable: false
66       annotations:
67         source:
68           type: org.openecomp.annotations.Source
69           properties:
70             vf_module_label:
71             - hot-mog-0108-bs1271
72             source_type: HEAT
73             param_name: a_single_2a_names
74       type: string
75     2c2_catalog_instance_names:
76       hidden: false
77       immutable: false
78       annotations:
79         source:
80           type: org.openecomp.annotations.Source
81           properties:
82             vf_module_label:
83             - hot-mog-0108-bs1271
84             source_type: HEAT
85             param_name: 2c2_catalog_instance_names
86       type: string
87     pcm_server_names:
88       hidden: false
89       immutable: false
90       annotations:
91         source:
92           type: org.openecomp.annotations.Source
93           properties:
94             vf_module_label:
95             - hot-mog-0108-bs1271
96             source_type: HEAT
97             param_name: pcm_server_names
98       type: string
99     pcm_image_name:
100       hidden: false
101       immutable: false
102       annotations:
103         source:
104           type: org.openecomp.annotations.Source
105           properties:
106             vf_module_label:
107             - hot-mog-0108-bs1271
108             source_type: HEAT
109             param_name: pcm_image_name
110       type: string
111     pd_image_name:
112       label: image name
113       hidden: false
114       immutable: false
115       annotations:
116         source:
117           type: org.openecomp.annotations.Source
118           properties:
119             vf_module_label:
120             - hot-mog-0108-bs1271
121             source_type: HEAT
122             param_name: pd_image_name
123       type: string
124       description: PD image name
125     security_group_name:
126       hidden: false
127       immutable: false
128       annotations:
129         source:
130           type: org.openecomp.annotations.Source
131           properties:
132             vf_module_label:
133             - hot-mog-0108-bs1271
134             source_type: HEAT
135             param_name: security_group_name
136       type: string
137     pd_server_names:
138       label: PD server names
139       hidden: false
140       immutable: false
141       annotations:
142         source:
143           type: org.openecomp.annotations.Source
144           properties:
145             vf_module_label:
146             - hot-mog-0108-bs1271
147             source_type: HEAT
148             param_name: pd_server_names
149       type: list
150       description: name of the PD instance
151       entry_schema:
152         type: string
153     1c2_catalog_instance_names:
154       hidden: false
155       immutable: false
156       annotations:
157         source:
158           type: org.openecomp.annotations.Source
159           properties:
160             vf_module_label:
161             - hot-mog-0108-bs1271
162             source_type: HEAT
163             param_name: 1c2_catalog_instance_names
164       type: string
165     pcm_flavor_name:
166       hidden: false
167       immutable: false
168       annotations:
169         source:
170           type: org.openecomp.annotations.Source
171           properties:
172             vf_module_label:
173             - hot-mog-0108-bs1271
174             source_type: HEAT
175             param_name: pcm_flavor_name
176       type: string
177     b_single_1b_names:
178       hidden: false
179       immutable: false
180       annotations:
181         source:
182           type: org.openecomp.annotations.Source
183           properties:
184             vf_module_label:
185             - hot-mog-0108-bs1271
186             source_type: HEAT
187             param_name: b_single_1b_names
188       type: string
189     1c12_scalling_instance_names:
190       hidden: false
191       immutable: false
192       annotations:
193         source:
194           type: org.openecomp.annotations.Source
195           properties:
196             vf_module_label:
197             - hot-mog-0108-bs1271
198             source_type: HEAT
199             param_name: 1c12_scalling_instance_names
200       type: string
201     b_single_2b_names:
202       hidden: false
203       immutable: false
204       annotations:
205         source:
206           type: org.openecomp.annotations.Source
207           properties:
208             vf_module_label:
209             - hot-mog-0108-bs1271
210             source_type: HEAT
211             param_name: b_single_2b_names
212       type: string
213     myIPs:
214       hidden: false
215       immutable: false
216       annotations:
217         source:
218           type: org.openecomp.annotations.Source
219           properties:
220             vf_module_label:
221             - hot-mog-0108-bs1271
222             source_type: HEAT
223             param_name: myIPs
224       type: string
225     net_name:
226       hidden: false
227       immutable: false
228       annotations:
229         source:
230           type: org.openecomp.annotations.Source
231           properties:
232             vf_module_label:
233             - hot-mog-0108-bs1271
234             source_type: HEAT
235             param_name: net_name
236       type: string
237     1c11_scalling_instance_names:
238       hidden: false
239       immutable: false
240       annotations:
241         source:
242           type: org.openecomp.annotations.Source
243           properties:
244             vf_module_label:
245             - hot-mog-0108-bs1271
246             source_type: HEAT
247             param_name: 1c11_scalling_instance_names
248       type: string
249     oam_net_name:
250       hidden: false
251       immutable: false
252       annotations:
253         source:
254           type: org.openecomp.annotations.Source
255           properties:
256             vf_module_label:
257             - hot-mog-0108-bs1271
258             source_type: HEAT
259             param_name: oam_net_name
260       type: string
261   node_templates:
262     abstract_b_single_1b:
263       type: org.openecomp.resource.abstract.nodes.b_single_1b
264       directives:
265       - substitutable
266       properties:
267         vm_flavor_name:
268           get_input: pd_flavor_name
269         port_1b_t1_port_ip_requirements:
270         - ip_version: 4
271           ip_count_required:
272             is_required: false
273           floating_ip_count_required:
274             is_required: false
275         vm_image_name:
276           get_input: pd_image_name
277         compute_b_single_1b_user_data_format:
278         - RAW
279         port_1b_t2_port_mac_requirements:
280           mac_count_required:
281             is_required: false
282         compute_b_single_1b_availability_zone:
283         - get_input: availabilityzone_name
284         compute_b_single_1b_scheduler_hints:
285         - group: BE_Affinity_group
286         port_1b_t2_port_ip_requirements:
287         - ip_version: 4
288           ip_count_required:
289             is_required: false
290           floating_ip_count_required:
291             is_required: false
292         port_1b_t1_port_value_specs:
293         - get_attribute:
294           - abstract_a_single_1a
295           - a_single_1a_1a_t1_port_tenant_id
296         port_1b_t1_port_network_role_tag: oam
297         port_1b_t1_port_mac_requirements:
298           mac_count_required:
299             is_required: false
300         port_1b_t2_port_network:
301         - b_single_1b_network_1
302         port_1b_t1_port_network:
303         - get_input: oam_net_name
304         compute_b_single_1b_name:
305         - get_input:
306           - b_single_1b_names
307           - 1
308         service_template_filter:
309           substitute_service_template: Nested_b_single_1bServiceTemplate.yaml
310           count: 1
311         index_value:
312           get_property:
313           - SELF
314           - service_template_filter
315           - index_value
316       requirements:
317       - link_b_single_1b_1b_t2_port:
318           capability: tosca.capabilities.network.Linkable
319           node: b_single_1b_network_1
320           relationship: tosca.relationships.network.LinksTo
321     abstract_2c2_catalog_instance_0:
322       type: org.openecomp.resource.abstract.nodes.2c2_catalog_instance
323       directives:
324       - substitutable
325       properties:
326         compute_2c2_catalog_instance_user_data_format:
327         - get_attribute:
328           - abstract_1c2_catalog_instance_1
329           - 1c2_catalog_instance_instance_name
330         vm_flavor_name:
331           get_input: pd_flavor_name
332         port_2c202_port_ip_requirements:
333         - ip_version: 4
334           ip_count_required:
335             is_required: false
336           floating_ip_count_required:
337             is_required: false
338         vm_image_name:
339           get_input: pd_image_name
340         port_1c201_port_network_role_tag: oam
341         compute_2c2_catalog_instance_scheduler_hints:
342         - group: BE_Affinity_group
343         compute_2c2_catalog_instance_availability_zone:
344         - get_input: availabilityzone_name
345         compute_2c2_catalog_instance_name:
346         - get_input:
347           - 2c2_catalog_instance_names
348           - 1
349         port_2c202_port_mac_requirements:
350           mac_count_required:
351             is_required: false
352         port_2c202_port_network:
353         - 1c2_catalog_instance_network
354         port_1c201_port_ip_requirements:
355         - ip_version: 4
356           ip_count_required:
357             is_required: false
358           floating_ip_count_required:
359             is_required: false
360         port_1c201_port_mac_requirements:
361           mac_count_required:
362             is_required: false
363         port_1c201_port_network:
364         - get_input: oam_net_name
365         service_template_filter:
366           substitute_service_template: Nested_2c2_catalog_instanceServiceTemplate.yaml
367           count: 1
368         index_value:
369           get_property:
370           - SELF
371           - service_template_filter
372           - index_value
373       requirements:
374       - link_2c2_catalog_instance_2c202_port:
375           capability: tosca.capabilities.network.Linkable
376           node: 1c2_catalog_instance_network
377           relationship: tosca.relationships.network.LinksTo
378     abstract_2c2_catalog_instance_1:
379       type: org.openecomp.resource.abstract.nodes.2c2_catalog_instance
380       directives:
381       - substitutable
382       properties:
383         compute_2c2_catalog_instance_user_data_format:
384         - RAW1
385         vm_flavor_name:
386           get_input: pd_flavor_name
387         port_2c202_port_ip_requirements:
388         - ip_version: 4
389           ip_count_required:
390             is_required: false
391           floating_ip_count_required:
392             is_required: false
393         vm_image_name:
394           get_input: pd_image_name
395         port_1c201_port_network_role_tag: oam
396         compute_2c2_catalog_instance_scheduler_hints:
397         - group: BE_Affinity_group
398         compute_2c2_catalog_instance_availability_zone:
399         - get_input: availabilityzone_name
400         compute_2c2_catalog_instance_name:
401         - get_input:
402           - 2c2_catalog_instance_names
403           - 0
404         port_2c202_port_mac_requirements:
405           mac_count_required:
406             is_required: false
407         port_2c202_port_network:
408         - 1c2_catalog_instance_network
409         port_1c201_port_ip_requirements:
410         - ip_version: 4
411           ip_count_required:
412             is_required: false
413           floating_ip_count_required:
414             is_required: false
415         port_1c201_port_mac_requirements:
416           mac_count_required:
417             is_required: false
418         port_1c201_port_network:
419         - get_input: oam_net_name
420         service_template_filter:
421           substitute_service_template: Nested_2c2_catalog_instanceServiceTemplate.yaml
422           count: 1
423         index_value:
424           get_property:
425           - SELF
426           - service_template_filter
427           - index_value
428       requirements:
429       - link_2c2_catalog_instance_2c202_port:
430           capability: tosca.capabilities.network.Linkable
431           node: 1c2_catalog_instance_network
432           relationship: tosca.relationships.network.LinksTo
433     abstract_1c2_catalog_instance_0:
434       type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance
435       directives:
436       - substitutable
437       properties:
438         compute_1c2_catalog_instance_availability_zone:
439         - get_input: availabilityzone_name
440         vm_flavor_name:
441           get_input: pd_flavor_name
442         compute_1c2_catalog_instance_personality:
443         - - UNSUPPORTED_RESOURCE_[1a_single_1A_1, instance_name]
444         port_2c202_port_ip_requirements:
445         - ip_version: 4
446           ip_count_required:
447             is_required: false
448           floating_ip_count_required:
449             is_required: false
450         vm_image_name:
451           get_input: pd_image_name
452         port_1c201_port_network_role_tag: oam
453         compute_1c2_catalog_instance_name:
454         - get_input:
455           - 1c2_catalog_instance_names
456           - 1
457         port_2c202_port_mac_requirements:
458           mac_count_required:
459             is_required: false
460         port_2c202_port_network:
461         - 1c2_catalog_instance_network
462         port_1c201_port_ip_requirements:
463         - ip_version: 4
464           ip_count_required:
465             is_required: false
466           floating_ip_count_required:
467             is_required: false
468         port_1c201_port_mac_requirements:
469           mac_count_required:
470             is_required: false
471         compute_1c2_catalog_instance_user_data_format:
472         - RAW1
473         port_1c201_port_network:
474         - get_input: oam_net_name
475         compute_1c2_catalog_instance_scheduler_hints:
476         - group: BE_Affinity_group
477         service_template_filter:
478           substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml
479           count: 1
480         index_value:
481           get_property:
482           - SELF
483           - service_template_filter
484           - index_value
485       requirements:
486       - link_1c2_catalog_instance_2c202_port:
487           capability: tosca.capabilities.network.Linkable
488           node: 1c2_catalog_instance_network
489           relationship: tosca.relationships.network.LinksTo
490     abstract_1c2_catalog_instance_1:
491       type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance
492       directives:
493       - substitutable
494       properties:
495         compute_1c2_catalog_instance_availability_zone:
496         - get_input: availabilityzone_name
497         vm_flavor_name:
498           get_input: pd_flavor_name
499         port_2c202_port_ip_requirements:
500         - ip_version: 4
501           ip_count_required:
502             is_required: false
503           floating_ip_count_required:
504             is_required: false
505         vm_image_name:
506           get_input: pd_image_name
507         port_1c201_port_network_role_tag: oam
508         compute_1c2_catalog_instance_name:
509         - get_input:
510           - 1c2_catalog_instance_names
511           - 2
512         port_2c202_port_mac_requirements:
513           mac_count_required:
514             is_required: false
515         port_2c202_port_network:
516         - 1c2_catalog_instance_network
517         port_1c201_port_ip_requirements:
518         - ip_version: 4
519           ip_count_required:
520             is_required: false
521           floating_ip_count_required:
522             is_required: false
523         port_1c201_port_mac_requirements:
524           mac_count_required:
525             is_required: false
526         compute_1c2_catalog_instance_user_data_format:
527         - get_attribute:
528           - abstract_1c2_catalog_instance_0
529           - 1c2_catalog_instance_instance_name
530         port_1c201_port_network:
531         - get_input: oam_net_name
532         compute_1c2_catalog_instance_scheduler_hints:
533         - group: BE_Affinity_group
534         service_template_filter:
535           substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml
536           count: 1
537         index_value:
538           get_property:
539           - SELF
540           - service_template_filter
541           - index_value
542       requirements:
543       - link_1c2_catalog_instance_2c202_port:
544           capability: tosca.capabilities.network.Linkable
545           node: 1c2_catalog_instance_network
546           relationship: tosca.relationships.network.LinksTo
547     nodeGetAttIn_network:
548       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
549       properties:
550         dhcp_agent_ids:
551           get_attribute:
552           - abstract_1c2_catalog_instance_1
553           - 1c2_catalog_instance_1c201_port_tenant_id
554           - get_attribute:
555             - abstract_1c2_catalog_instance_0
556             - 1c2_catalog_instance_1c201_port_tenant_id
557             - get_attribute:
558               - abstract_1c2_catalog_instance_1
559               - 1c2_catalog_instance_instance_name
560               - get_attribute:
561                 - abstract_2c2_catalog_instance_1
562                 - 2c2_catalog_instance_instance_name
563         tenant_id:
564           get_attribute:
565           - abstract_1c11_scalling_instance
566           - 1c11_scalling_instance_instance_name
567           - get_attribute:
568             - abstract_1c11_scalling_instance
569             - 1c11_scalling_instance_instance_name
570             - get_attribute:
571               - 1c1_t2_port_02
572               - tenant_id
573               - get_attribute:
574                 - 1c1_t2_port_11
575                 - tenant_id
576               - get_attribute:
577                 - 1c1_t2_port_12
578                 - tenant_id
579               - get_attribute:
580                 - abstract_1c12_scalling_instance
581                 - 1c12_scalling_instance_instance_name
582         admin_state_up:
583           get_attribute:
584           - abstract_a_single_1a
585           - a_single_1a_1a_t1_port_tenant_id
586         qos_policy:
587           get_attribute:
588           - abstract_a_single_1a
589           - a_single_1a_instance_name
590         network_name:
591           get_attribute:
592           - nestedNoUnified_1
593           - portId
594           - get_attribute:
595             - 4p_nested_2
596             - server_pcm_id
597         value_specs:
598           get_attribute:
599           - abstract_b_single_1b_1
600           - b_single_1b_instance_name
601           - get_attribute:
602             - abstract_b_single_1b
603             - b_single_1b_instance_name
604             - get_attribute:
605               - abstract_b_single_1b_1
606               - b_single_1b_1b_t1_port_tenant_id
607               - get_attribute:
608                 - abstract_b_single_1b
609                 - b_single_1b_1b_t1_port_tenant_id
610     abstract_a_single_1a:
611       type: org.openecomp.resource.abstract.nodes.a_single_1a
612       directives:
613       - substitutable
614       properties:
615         compute_a_single_1a_metadata:
616         - connectivityTo4PNested_2:
617             get_attribute:
618             - 4p_nested_2
619             - server_pcm_id
620           connectivityTo1A:
621             get_attribute:
622             - abstract_a_single_2a
623             - a_single_2a_instance_name
624           connectivityTo1B02:
625             get_attribute:
626             - abstract_b_single_1b
627             - b_single_1b_instance_name
628             - get_attribute:
629               - abstract_b_single_1b_1
630               - b_single_1b_instance_name
631           connectivityTo1B01:
632             get_attribute:
633             - abstract_b_single_1b_1
634             - b_single_1b_instance_name
635           connectivityTo1C1_T2_01:
636             get_attribute:
637             - 1c1_t2_port_01
638             - tenant_id
639           connectivityTo1C1_T2_12:
640             get_attribute:
641             - 1c1_t2_port_12
642             - tenant_id
643           connectivityTo4PNested_1:
644             get_attribute:
645             - 4p_nested_1
646             - server_pcm_id
647           connectivityTo1C1_T2_02:
648             get_attribute:
649             - 1c1_t2_port_02
650             - tenant_id
651           connectivityTo1C1_T2_11:
652             get_attribute:
653             - 1c1_t2_port_11
654             - tenant_id
655           connectivityTo1C2_2_2:
656             get_attribute:
657             - abstract_2c2_catalog_instance_0
658             - 2c2_catalog_instance_instance_name
659           connectivityToNoUnifiedNested_2:
660             get_attribute:
661             - nestedNoUnified_2
662             - portId
663           connectivityToNoUnifiedNested_1:
664             get_attribute:
665             - nestedNoUnified_1
666             - portId
667           connectivityTo1C2_1_1:
668             get_attribute:
669             - abstract_1c2_catalog_instance_0
670             - 1c2_catalog_instance_instance_name
671           connectivityTo1C2_2_1:
672             get_attribute:
673             - abstract_2c2_catalog_instance_1
674             - 2c2_catalog_instance_instance_name
675           connectivityTo1C2_1_2:
676             get_attribute:
677             - abstract_1c2_catalog_instance_1
678             - 1c2_catalog_instance_instance_name
679         port_1a_t1_port_ip_requirements:
680         - ip_version: 4
681           ip_count_required:
682             is_required: false
683           floating_ip_count_required:
684             is_required: false
685         port_1a_t2_port_network_role_tag: ppds
686         vm_flavor_name:
687           get_input: pd_flavor_name
688         port_1a_t2_port_network:
689         - get_input: ppds_net_name
690         port_1a_t1_port_mac_requirements:
691           mac_count_required:
692             is_required: false
693         port_1a_t1_port_network:
694         - a_single_1a_network
695         vm_image_name:
696           get_input: pd_image_name
697         port_1a_t2_port_ip_requirements:
698         - ip_version: 4
699           ip_count_required:
700             is_required: false
701           floating_ip_count_required:
702             is_required: false
703         compute_a_single_1a_availability_zone:
704         - get_input: availabilityzone_name
705         compute_a_single_1a_scheduler_hints:
706         - group: BE_Affinity_group
707         compute_a_single_1a_user_data_format:
708         - RAW
709         compute_a_single_1a_name:
710         - get_input:
711           - a_single_1a_names
712           - 0
713         port_1a_t2_port_mac_requirements:
714           mac_count_required:
715             is_required: false
716         service_template_filter:
717           substitute_service_template: Nested_a_single_1aServiceTemplate.yaml
718           count: 1
719         index_value:
720           get_property:
721           - SELF
722           - service_template_filter
723           - index_value
724       requirements:
725       - link_a_single_1a_1a_t1_port:
726           capability: tosca.capabilities.network.Linkable
727           node: a_single_1a_network
728           relationship: tosca.relationships.network.LinksTo
729     nestedNoUnified_1:
730       type: org.openecomp.resource.abstract.nodes.heat.nested-no_vfc_v0.1
731       directives:
732       - substitutable
733       properties:
734         pcm_flavor_name:
735           get_input: pcm_flavor_name
736         service_template_filter:
737           substitute_service_template: nested-no_vfc_v0.1ServiceTemplate.yaml
738         server_group: BE_Affinity_group
739         connectivityChk:
740           connectivityTo4PNested_2:
741             get_attribute:
742             - 4p_nested_2
743             - server_pcm_id
744           connectivityTo1C1_T1_02:
745             get_attribute:
746             - abstract_1c11_scalling_instance
747             - 1c11_scalling_instance_1c1_t1_port_tenant_id
748           connectivityTo1C1_T1_11:
749             get_attribute:
750             - abstract_1c12_scalling_instance
751             - 1c12_scalling_instance_1c1_t1_port_tenant_id
752           connectivityTo4PNested_1:
753             get_attribute:
754             - 4p_nested_1
755             - server_pcm_id
756           connectivityTo1C1_T1_01:
757             get_attribute:
758             - abstract_1c11_scalling_instance
759             - 1c11_scalling_instance_1c1_t1_port_tenant_id
760           connectivityTo1C1_T1_12:
761             get_attribute:
762             - abstract_1c12_scalling_instance
763             - 1c12_scalling_instance_1c1_t1_port_tenant_id
764           connectivityTo1B01_1:
765             get_attribute:
766             - abstract_b_single_1b_1
767             - b_single_1b_instance_name
768           connectivityTo1B02_1:
769             get_attribute:
770             - abstract_b_single_1b
771             - b_single_1b_instance_name
772           connectivityTo1B01_2:
773             get_attribute:
774             - abstract_b_single_2b_1
775             - b_single_2b_instance_name
776           connectivityTo1C2_2_2:
777             get_attribute:
778             - abstract_2c2_catalog_instance_0
779             - 2c2_catalog_instance_instance_name
780           connectivityTo1A_2:
781             get_attribute:
782             - abstract_a_single_2a
783             - a_single_2a_instance_name
784           connectivityTo1B02_2:
785             get_attribute:
786             - abstract_b_single_2b
787             - b_single_2b_instance_name
788           connectivityToNoUnifiedNested_2:
789             get_attribute:
790             - nestedNoUnified_2
791             - portId
792           connectivityTo1A_1:
793             get_attribute:
794             - abstract_a_single_1a
795             - a_single_1a_instance_name
796           connectivityTo1C2_1_1:
797             get_attribute:
798             - abstract_1c2_catalog_instance_0
799             - 1c2_catalog_instance_instance_name
800           connectivityTo1C2_2_1:
801             get_attribute:
802             - abstract_2c2_catalog_instance_1
803             - 2c2_catalog_instance_instance_name
804           connectivityTo1C2_1_2:
805             get_attribute:
806             - abstract_1c2_catalog_instance_1
807             - 1c2_catalog_instance_instance_name
808         pcm_image_name:
809           get_input: pcm_image_name
810         security_group_name: jsa_security_group
811         pcm_server_name:
812           get_input:
813           - pcm_server_names
814           - 0
815         cps_net_name: nested_network
816       requirements:
817       - link_pcm_port_2:
818           capability: tosca.capabilities.network.Linkable
819           node: nested_network
820           relationship: tosca.relationships.network.LinksTo
821       - link_pcm_port_0:
822           capability: tosca.capabilities.network.Linkable
823           node: nested_network
824           relationship: tosca.relationships.network.LinksTo
825     nestedNoUnified_2:
826       type: org.openecomp.resource.abstract.nodes.heat.nested-no_vfc_v0.1
827       directives:
828       - substitutable
829       properties:
830         pcm_flavor_name:
831           get_input: pcm_flavor_name
832         service_template_filter:
833           substitute_service_template: nested-no_vfc_v0.1ServiceTemplate.yaml
834         server_group: BE_Affinity_group
835         connectivityChk:
836           connectivityTo4PNested_2:
837             get_attribute:
838             - 4p_nested_2
839             - server_pcm_id
840           connectivityTo1C1_T1_02:
841             get_attribute:
842             - abstract_1c11_scalling_instance
843             - 1c11_scalling_instance_1c1_t1_port_tenant_id
844           connectivityTo1C1_T1_11:
845             get_attribute:
846             - abstract_1c12_scalling_instance
847             - 1c12_scalling_instance_1c1_t1_port_tenant_id
848           connectivityTo4PNested_1:
849             get_attribute:
850             - 4p_nested_1
851             - server_pcm_id
852           connectivityTo1C1_T1_01:
853             get_attribute:
854             - abstract_1c11_scalling_instance
855             - 1c11_scalling_instance_1c1_t1_port_tenant_id
856           connectivityTo1C1_T1_12:
857             get_attribute:
858             - abstract_1c12_scalling_instance
859             - 1c12_scalling_instance_1c1_t1_port_tenant_id
860           connectivityTo1B01_1:
861             get_attribute:
862             - abstract_b_single_1b_1
863             - b_single_1b_instance_name
864           connectivityTo1B02_1:
865             get_attribute:
866             - abstract_b_single_1b
867             - b_single_1b_instance_name
868           connectivityTo1B01_2:
869             get_attribute:
870             - abstract_b_single_2b_1
871             - b_single_2b_instance_name
872           connectivityTo1C2_2_2:
873             get_attribute:
874             - abstract_2c2_catalog_instance_0
875             - 2c2_catalog_instance_instance_name
876           connectivityTo1A_2:
877             get_attribute:
878             - abstract_a_single_2a
879             - a_single_2a_instance_name
880           connectivityTo1B02_2:
881             get_attribute:
882             - abstract_b_single_2b
883             - b_single_2b_instance_name
884           connectivityTo1A_1:
885             get_attribute:
886             - abstract_a_single_1a
887             - a_single_1a_instance_name
888           connectivityToNoUnifiedNested_1:
889             get_attribute:
890             - nestedNoUnified_1
891             - portId
892           connectivityTo1C2_1_1:
893             get_attribute:
894             - abstract_1c2_catalog_instance_0
895             - 1c2_catalog_instance_instance_name
896           connectivityTo1C2_2_1:
897             get_attribute:
898             - abstract_2c2_catalog_instance_1
899             - 2c2_catalog_instance_instance_name
900           connectivityTo1C2_1_2:
901             get_attribute:
902             - abstract_1c2_catalog_instance_1
903             - 1c2_catalog_instance_instance_name
904         pcm_image_name:
905           get_input: pcm_image_name
906         security_group_name: jsa_security_group
907         pcm_server_name:
908           get_input:
909           - pcm_server_names
910           - 0
911         cps_net_name: nested_network
912       requirements:
913       - link_pcm_port_2:
914           capability: tosca.capabilities.network.Linkable
915           node: nested_network
916           relationship: tosca.relationships.network.LinksTo
917       - link_pcm_port_0:
918           capability: tosca.capabilities.network.Linkable
919           node: nested_network
920           relationship: tosca.relationships.network.LinksTo
921     abstract_1c11_scalling_instance:
922       type: org.openecomp.resource.abstract.nodes.1c11_scalling_instance
923       directives:
924       - substitutable
925       properties:
926         port_1c1_t1_port_fixed_ips:
927         - - ip_address:
928               get_input:
929               - myIPs
930               - 1
931         - - ip_address:
932               get_input:
933               - myIPs
934               - 1
935         port_1c1_t1_port_mac_requirements:
936           mac_count_required:
937             is_required: false
938         vm_flavor_name:
939           get_input: pd_flavor_name
940         compute_1c11_scalling_instance_name:
941         - get_input:
942           - 1c11_scalling_instance_names
943           - 1
944         - get_input:
945           - 1c11_scalling_instance_names
946           - 2
947         compute_1c11_scalling_instance_availability_zone:
948         - get_input: availabilityzone_name
949         - get_input: availabilityzone_name
950         compute_1c11_scalling_instance_user_data_format:
951         - RAW1
952         - RAW1
953         port_1c1_t1_port_ip_requirements:
954         - ip_version: 4
955           ip_count_required:
956             is_required: true
957           floating_ip_count_required:
958             is_required: false
959         vm_image_name:
960           get_input: pd_image_name
961         port_1c1_t1_port_name:
962         - 1c1_t1_port_01
963         - 1c1_t1_port_02
964         compute_1c11_scalling_instance_scheduler_hints:
965         - group: BE_Affinity_group
966         - group: BE_Affinity_group
967         port_1c1_t1_port_network:
968         - 1c1_scalling_instance_network
969         - 1c1_scalling_instance_network
970         service_template_filter:
971           substitute_service_template: Nested_1c11_scalling_instanceServiceTemplate.yaml
972           count: 2
973         index_value:
974           get_property:
975           - SELF
976           - service_template_filter
977           - index_value
978       requirements:
979       - link_1c11_scalling_instance_1c1_t1_port:
980           capability: tosca.capabilities.network.Linkable
981           node: 1c1_scalling_instance_network
982           relationship: tosca.relationships.network.LinksTo
983     abstract_b_single_2b_1:
984       type: org.openecomp.resource.abstract.nodes.b_single_2b_1
985       directives:
986       - substitutable
987       properties:
988         vm_flavor_name:
989           get_input: pd_flavor_name
990         compute_b_single_2b_metadata:
991         - connectivityTo4PNested_2:
992             get_attribute:
993             - 4p_nested_2
994             - server_pcm_id
995           connectivityTo1C1_T1_02:
996             get_attribute:
997             - abstract_1c11_scalling_instance
998             - 1c11_scalling_instance_1c1_t1_port_tenant_id
999           connectivityTo1C1_T1_11:
1000             get_attribute:
1001             - abstract_1c12_scalling_instance
1002             - 1c12_scalling_instance_1c1_t1_port_tenant_id
1003           connectivityTo4PNested_1:
1004             get_attribute:
1005             - 4p_nested_1
1006             - server_pcm_id
1007           connectivityTo1C1_T1_01:
1008             get_attribute:
1009             - abstract_1c11_scalling_instance
1010             - 1c11_scalling_instance_1c1_t1_port_tenant_id
1011           connectivityTo1C1_T1_12:
1012             get_attribute:
1013             - abstract_1c12_scalling_instance
1014             - 1c12_scalling_instance_1c1_t1_port_tenant_id
1015           connectivityTo1B01_1:
1016             get_attribute:
1017             - abstract_b_single_1b_1
1018             - b_single_1b_instance_name
1019           connectivityTo1B02_1:
1020             get_attribute:
1021             - abstract_b_single_1b
1022             - b_single_1b_instance_name
1023           connectivityTo1C2_2_2:
1024             get_attribute:
1025             - abstract_2c2_catalog_instance_0
1026             - 2c2_catalog_instance_instance_name
1027           connectivityTo1A_2:
1028             get_attribute:
1029             - abstract_a_single_2a
1030             - a_single_2a_instance_name
1031           connectivityToNoUnifiedNested_2:
1032             get_attribute:
1033             - nestedNoUnified_2
1034             - portId
1035           connectivityTo1A_1:
1036             get_attribute:
1037             - abstract_a_single_1a
1038             - a_single_1a_instance_name
1039           connectivityToNoUnifiedNested_1:
1040             get_attribute:
1041             - nestedNoUnified_1
1042             - portId
1043           connectivityTo1C2_1_1:
1044             get_attribute:
1045             - abstract_1c2_catalog_instance_0
1046             - 1c2_catalog_instance_instance_name
1047           connectivityTo1C2_2_1:
1048             get_attribute:
1049             - abstract_2c2_catalog_instance_1
1050             - 2c2_catalog_instance_instance_name
1051           connectivityTo1C2_1_2:
1052             get_attribute:
1053             - abstract_1c2_catalog_instance_1
1054             - 1c2_catalog_instance_instance_name
1055         port_1b_t1_port_ip_requirements:
1056         - ip_version: 4
1057           ip_count_required:
1058             is_required: false
1059           floating_ip_count_required:
1060             is_required: false
1061         vm_image_name:
1062           get_input: pd_image_name
1063         compute_b_single_2b_scheduler_hints:
1064         - group: BE_Affinity_group
1065         compute_b_single_2b_availability_zone:
1066         - get_input: availabilityzone_name
1067         port_1b_t2_port_mac_requirements:
1068           mac_count_required:
1069             is_required: false
1070         port_1b_t2_port_ip_requirements:
1071         - ip_version: 4
1072           ip_count_required:
1073             is_required: false
1074           floating_ip_count_required:
1075             is_required: false
1076         compute_b_single_2b_name:
1077         - get_input:
1078           - b_single_2b_names
1079           - 0
1080         compute_b_single_2b_user_data_format:
1081         - RAW
1082         port_1b_t1_port_mac_requirements:
1083           mac_count_required:
1084             is_required: false
1085         port_1b_t2_port_network:
1086         - b_single_1b_network_2
1087         service_template_filter:
1088           substitute_service_template: Nested_b_single_2b_1ServiceTemplate.yaml
1089           count: 1
1090         index_value:
1091           get_property:
1092           - SELF
1093           - service_template_filter
1094           - index_value
1095       requirements:
1096       - link_b_single_2b_1b_t2_port:
1097           capability: tosca.capabilities.network.Linkable
1098           node: b_single_1b_network_2
1099           relationship: tosca.relationships.network.LinksTo
1100     b_single_1b_network_1:
1101       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1102       properties:
1103         network_name:
1104           get_input: net_name
1105     b_single_1b_network_2:
1106       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1107       properties:
1108         network_name:
1109           get_input: net_name
1110     abstract_1c12_scalling_instance:
1111       type: org.openecomp.resource.abstract.nodes.1c12_scalling_instance
1112       directives:
1113       - substitutable
1114       properties:
1115         compute_1c12_scalling_instance_scheduler_hints:
1116         - group: BE_Affinity_group
1117         - group: BE_Affinity_group
1118         port_1c1_t1_port_fixed_ips:
1119         - - ip_address:
1120               get_input:
1121               - myIPs
1122               - 1
1123         - - ip_address:
1124               get_input:
1125               - myIPs
1126               - 1
1127         compute_1c12_scalling_instance_name:
1128         - get_input:
1129           - 1c12_scalling_instance_names
1130           - 1
1131         - get_input:
1132           - 1c12_scalling_instance_names
1133           - 2
1134         port_1c1_t1_port_mac_requirements:
1135           mac_count_required:
1136             is_required: false
1137         vm_flavor_name:
1138           get_input: pd_flavor_name
1139         compute_1c12_scalling_instance_user_data_format:
1140         - RAW1
1141         - RAW1
1142         port_1c1_t1_port_ip_requirements:
1143         - ip_version: 4
1144           ip_count_required:
1145             is_required: true
1146           floating_ip_count_required:
1147             is_required: false
1148         vm_image_name:
1149           get_input: pd_image_name
1150         port_1c1_t1_port_name:
1151         - 1c1_t1_port_11
1152         - 1c1_t1_port_12
1153         compute_1c12_scalling_instance_availability_zone:
1154         - get_input: availabilityzone_name
1155         - get_input: availabilityzone_name
1156         port_1c1_t1_port_network:
1157         - 1c1_scalling_instance_network
1158         - 1c1_scalling_instance_network
1159         service_template_filter:
1160           substitute_service_template: Nested_1c12_scalling_instanceServiceTemplate.yaml
1161           count: 2
1162         index_value:
1163           get_property:
1164           - SELF
1165           - service_template_filter
1166           - index_value
1167       requirements:
1168       - link_1c12_scalling_instance_1c1_t1_port:
1169           capability: tosca.capabilities.network.Linkable
1170           node: 1c1_scalling_instance_network
1171           relationship: tosca.relationships.network.LinksTo
1172     jsa_security_group:
1173       type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
1174       properties:
1175         name:
1176           get_input: security_group_name
1177         description: ems security group
1178         rules:
1179         - protocol: tcp
1180           ethertype: IPv4
1181           port_range_max: 65535
1182           remote_ip_prefix: 0.0.0.0/0
1183           direction: egress
1184           port_range_min: 1
1185         - protocol: udp
1186           ethertype: IPv4
1187           port_range_max: 65535
1188           remote_ip_prefix: 0.0.0.0/0
1189           direction: egress
1190           port_range_min: 1
1191         - protocol: icmp
1192           ethertype: IPv4
1193           remote_ip_prefix: 0.0.0.0/0
1194           direction: egress
1195         - protocol: tcp
1196           ethertype: IPv6
1197           port_range_max: 65535
1198           remote_ip_prefix: ::/0
1199           direction: egress
1200           port_range_min: 1
1201         - protocol: udp
1202           ethertype: IPv6
1203           port_range_max: 65535
1204           remote_ip_prefix: ::/0
1205           direction: egress
1206           port_range_min: 1
1207         - protocol: icmp
1208           ethertype: IPv6
1209           remote_ip_prefix: ::/0
1210           direction: egress
1211         - protocol: tcp
1212           ethertype: IPv4
1213           port_range_max: 65535
1214           remote_ip_prefix: 0.0.0.0/0
1215           direction: ingress
1216           port_range_min: 1
1217         - protocol: udp
1218           ethertype: IPv4
1219           port_range_max: 65535
1220           remote_ip_prefix: 0.0.0.0/0
1221           direction: ingress
1222           port_range_min: 1
1223         - protocol: icmp
1224           ethertype: IPv4
1225           remote_ip_prefix: 0.0.0.0/0
1226           direction: ingress
1227         - protocol: tcp
1228           ethertype: IPv6
1229           port_range_max: 65535
1230           remote_ip_prefix: ::/0
1231           direction: ingress
1232           port_range_min: 1
1233         - protocol: udp
1234           ethertype: IPv6
1235           port_range_max: 65535
1236           remote_ip_prefix: ::/0
1237           direction: ingress
1238           port_range_min: 1
1239         - protocol: icmp
1240           ethertype: IPv6
1241           remote_ip_prefix: ::/0
1242           direction: ingress
1243       requirements:
1244       - port:
1245           capability: attachment_pcm_port_00
1246           node: 4p_nested_1
1247           relationship: org.openecomp.relationships.AttachesTo
1248       - port:
1249           capability: attachment_pcm_port_01
1250           node: 4p_nested_1
1251           relationship: org.openecomp.relationships.AttachesTo
1252       - port:
1253           capability: attachment_pcm_port_00
1254           node: 4p_nested_2
1255           relationship: org.openecomp.relationships.AttachesTo
1256       - port:
1257           capability: attachment_pcm_port_01
1258           node: 4p_nested_2
1259           relationship: org.openecomp.relationships.AttachesTo
1260       - port:
1261           capability: attachment_pcm_port_0
1262           node: nestedNoUnified_1
1263           relationship: org.openecomp.relationships.AttachesTo
1264       - port:
1265           capability: attachment_pcm_port_1
1266           node: nestedNoUnified_1
1267           relationship: org.openecomp.relationships.AttachesTo
1268       - port:
1269           capability: attachment_pcm_port_2
1270           node: nestedNoUnified_1
1271           relationship: org.openecomp.relationships.AttachesTo
1272       - port:
1273           capability: attachment_pcm_port_3
1274           node: nestedNoUnified_1
1275           relationship: org.openecomp.relationships.AttachesTo
1276       - port:
1277           capability: attachment_pcm_port_0
1278           node: nestedNoUnified_2
1279           relationship: org.openecomp.relationships.AttachesTo
1280       - port:
1281           capability: attachment_pcm_port_1
1282           node: nestedNoUnified_2
1283           relationship: org.openecomp.relationships.AttachesTo
1284       - port:
1285           capability: attachment_pcm_port_2
1286           node: nestedNoUnified_2
1287           relationship: org.openecomp.relationships.AttachesTo
1288       - port:
1289           capability: attachment_pcm_port_3
1290           node: nestedNoUnified_2
1291           relationship: org.openecomp.relationships.AttachesTo
1292     a_single_1a_network:
1293       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1294       properties:
1295         network_name:
1296           get_input: net_name
1297     1c2_catalog_instance_network:
1298       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1299       properties:
1300         network_name:
1301           get_input: net_name
1302     abstract_a_single_2a:
1303       type: org.openecomp.resource.abstract.nodes.a_single_2a
1304       directives:
1305       - substitutable
1306       properties:
1307         compute_a_single_2a_user_data_format:
1308         - RAW
1309         port_1a_t1_port_ip_requirements:
1310         - ip_version: 4
1311           ip_count_required:
1312             is_required: false
1313           floating_ip_count_required:
1314             is_required: false
1315         compute_a_single_2a_scheduler_hints:
1316         - group: BE_Affinity_group
1317         compute_a_single_2a_availability_zone:
1318         - get_input: availabilityzone_name
1319         vm_flavor_name:
1320           get_input: pd_flavor_name
1321         port_1a_t1_port_mac_requirements:
1322           mac_count_required:
1323             is_required: false
1324         port_1a_t1_port_network:
1325         - a_single_1a_network
1326         compute_a_single_2a_name:
1327         - get_input:
1328           - a_single_2a_names
1329           - 0
1330         vm_image_name:
1331           get_input: pd_image_name
1332         compute_a_single_2a_metadata:
1333         - connectivityTo4PNested_2:
1334             get_attribute:
1335             - 4p_nested_2
1336             - server_pcm_id
1337           connectivityTo1A:
1338             get_attribute:
1339             - abstract_a_single_1a
1340             - a_single_1a_instance_name
1341           connectivityTo1B02:
1342             get_attribute:
1343             - abstract_b_single_2b
1344             - b_single_2b_instance_name
1345             - get_attribute:
1346               - abstract_b_single_2b_1
1347               - b_single_2b_instance_name
1348           connectivityTo1B01:
1349             get_attribute:
1350             - abstract_b_single_2b_1
1351             - b_single_2b_instance_name
1352           connectivityTo1C1_T2_01:
1353             get_attribute:
1354             - 1c1_t2_port_01
1355             - tenant_id
1356           connectivityTo1C1_T2_12:
1357             get_attribute:
1358             - 1c1_t2_port_12
1359             - tenant_id
1360           connectivityTo4PNested_1:
1361             get_attribute:
1362             - 4p_nested_1
1363             - server_pcm_id
1364           connectivityTo1C1_T2_02:
1365             get_attribute:
1366             - 1c1_t2_port_02
1367             - tenant_id
1368           connectivityTo1C1_T2_11:
1369             get_attribute:
1370             - 1c1_t2_port_11
1371             - tenant_id
1372           connectivityTo1C2_2_2:
1373             get_attribute:
1374             - abstract_2c2_catalog_instance_0
1375             - 2c2_catalog_instance_instance_name
1376           connectivityToNoUnifiedNested_2:
1377             get_attribute:
1378             - nestedNoUnified_2
1379             - portId
1380           connectivityToNoUnifiedNested_1:
1381             get_attribute:
1382             - nestedNoUnified_1
1383             - portId
1384           connectivityTo1C2_1_1:
1385             get_attribute:
1386             - abstract_1c2_catalog_instance_0
1387             - 1c2_catalog_instance_instance_name
1388           connectivityTo1C2_2_1:
1389             get_attribute:
1390             - abstract_2c2_catalog_instance_1
1391             - 2c2_catalog_instance_instance_name
1392           connectivityTo1C2_1_2:
1393             get_attribute:
1394             - abstract_1c2_catalog_instance_1
1395             - 1c2_catalog_instance_instance_name
1396         service_template_filter:
1397           substitute_service_template: Nested_a_single_2aServiceTemplate.yaml
1398           count: 1
1399         index_value:
1400           get_property:
1401           - SELF
1402           - service_template_filter
1403           - index_value
1404       requirements:
1405       - link_a_single_2a_1a_t1_port:
1406           capability: tosca.capabilities.network.Linkable
1407           node: a_single_1a_network
1408           relationship: tosca.relationships.network.LinksTo
1409     1c1_t2_port_02:
1410       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1411       properties:
1412         ip_requirements:
1413         - ip_version: 4
1414           ip_count_required:
1415             is_required: true
1416           floating_ip_count_required:
1417             is_required: false
1418         fixed_ips:
1419         - ip_address:
1420             get_input:
1421             - myIPs
1422             - 1
1423         mac_requirements:
1424           mac_count_required:
1425             is_required: false
1426         name: 1c1_t2_port_02
1427         network_role_tag: ppds
1428         network:
1429           get_input: ppds_net_name
1430     1c1_t2_port_01:
1431       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1432       properties:
1433         ip_requirements:
1434         - ip_version: 4
1435           ip_count_required:
1436             is_required: true
1437           floating_ip_count_required:
1438             is_required: false
1439         fixed_ips:
1440         - ip_address:
1441             get_input:
1442             - myIPs
1443             - 1
1444         mac_requirements:
1445           mac_count_required:
1446             is_required: false
1447         name: 1c1_t2_port_01
1448         network_role_tag: ppds
1449         network:
1450           get_input: ppds_net_name
1451     1c1_scalling_instance_network:
1452       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1453       properties:
1454         network_name:
1455           get_input: net_name
1456     abstract_b_single_2b:
1457       type: org.openecomp.resource.abstract.nodes.b_single_2b
1458       directives:
1459       - substitutable
1460       properties:
1461         vm_flavor_name:
1462           get_input: pd_flavor_name
1463         port_1b_t1_port_ip_requirements:
1464         - ip_version: 4
1465           ip_count_required:
1466             is_required: false
1467           floating_ip_count_required:
1468             is_required: false
1469         vm_image_name:
1470           get_input: pd_image_name
1471         compute_b_single_2b_scheduler_hints:
1472         - group: BE_Affinity_group
1473         compute_b_single_2b_availability_zone:
1474         - get_input: availabilityzone_name
1475         port_1b_t2_port_mac_requirements:
1476           mac_count_required:
1477             is_required: false
1478         port_1b_t2_port_ip_requirements:
1479         - ip_version: 4
1480           ip_count_required:
1481             is_required: false
1482           floating_ip_count_required:
1483             is_required: false
1484         compute_b_single_2b_name:
1485         - get_input:
1486           - b_single_2b_names
1487           - 1
1488         port_1b_t1_port_value_specs:
1489         - get_attribute:
1490           - abstract_a_single_1a
1491           - a_single_1a_1a_t1_port_tenant_id
1492         compute_b_single_2b_user_data_format:
1493         - RAW
1494         port_1b_t1_port_network_role_tag: oam
1495         port_1b_t1_port_mac_requirements:
1496           mac_count_required:
1497             is_required: false
1498         port_1b_t2_port_network:
1499         - b_single_1b_network_2
1500         port_1b_t1_port_network:
1501         - get_input: oam_net_name
1502         service_template_filter:
1503           substitute_service_template: Nested_b_single_2bServiceTemplate.yaml
1504           count: 1
1505         index_value:
1506           get_property:
1507           - SELF
1508           - service_template_filter
1509           - index_value
1510       requirements:
1511       - link_b_single_2b_1b_t2_port:
1512           capability: tosca.capabilities.network.Linkable
1513           node: b_single_1b_network_2
1514           relationship: tosca.relationships.network.LinksTo
1515     dependsOn_network:
1516       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1517       properties:
1518         network_name:
1519           get_input: net_name
1520       requirements:
1521       - dependency:
1522           capability: tosca.capabilities.Node
1523           node: nestedNoUnified_1
1524           relationship: tosca.relationships.DependsOn
1525       - dependency:
1526           capability: tosca.capabilities.Node
1527           node: nestedNoUnified_2
1528           relationship: tosca.relationships.DependsOn
1529       - dependency:
1530           capability: tosca.capabilities.Node
1531           node: 4p_nested_1
1532           relationship: tosca.relationships.DependsOn
1533       - dependency:
1534           capability: tosca.capabilities.Node
1535           node: 4p_nested_2
1536           relationship: tosca.relationships.DependsOn
1537       - dependency:
1538           capability: feature_1c2_catalog_instance_1c201_port
1539           node: abstract_1c2_catalog_instance_1
1540           relationship: tosca.relationships.DependsOn
1541       - dependency:
1542           capability: feature_1c2_catalog_instance_1c201_port
1543           node: abstract_1c2_catalog_instance_0
1544           relationship: tosca.relationships.DependsOn
1545       - dependency:
1546           capability: feature_1c2_catalog_instance
1547           node: abstract_1c2_catalog_instance_0
1548           relationship: tosca.relationships.DependsOn
1549       - dependency:
1550           capability: feature_2c2_catalog_instance
1551           node: abstract_2c2_catalog_instance_1
1552           relationship: tosca.relationships.DependsOn
1553       - dependency:
1554           capability: feature_1c2_catalog_instance
1555           node: abstract_1c2_catalog_instance_1
1556           relationship: tosca.relationships.DependsOn
1557       - dependency:
1558           capability: feature_2c2_catalog_instance
1559           node: abstract_2c2_catalog_instance_0
1560           relationship: tosca.relationships.DependsOn
1561       - dependency:
1562           capability: feature_1c11_scalling_instance
1563           node: abstract_1c11_scalling_instance
1564           relationship: tosca.relationships.DependsOn
1565       - dependency:
1566           capability: feature_1c12_scalling_instance
1567           node: abstract_1c12_scalling_instance
1568           relationship: tosca.relationships.DependsOn
1569       - dependency:
1570           capability: tosca.capabilities.Node
1571           node: 1c1_t2_port_02
1572           relationship: tosca.relationships.DependsOn
1573       - dependency:
1574           capability: tosca.capabilities.Node
1575           node: 1c1_t2_port_12
1576           relationship: tosca.relationships.DependsOn
1577       - dependency:
1578           capability: feature_b_single_1b
1579           node: abstract_b_single_1b_1
1580           relationship: tosca.relationships.DependsOn
1581       - dependency:
1582           capability: feature_b_single_1b
1583           node: abstract_b_single_1b
1584           relationship: tosca.relationships.DependsOn
1585       - dependency:
1586           capability: feature_b_single_1b_1b_t1_port
1587           node: abstract_b_single_1b_1
1588           relationship: tosca.relationships.DependsOn
1589       - dependency:
1590           capability: feature_b_single_1b_1b_t1_port
1591           node: abstract_b_single_1b
1592           relationship: tosca.relationships.DependsOn
1593       - dependency:
1594           capability: feature_a_single_1a
1595           node: abstract_a_single_1a
1596           relationship: tosca.relationships.DependsOn
1597       - dependency:
1598           capability: feature_a_single_2a
1599           node: abstract_a_single_2a
1600           relationship: tosca.relationships.DependsOn
1601       - dependency:
1602           capability: feature_a_single_1a_1a_t1_port
1603           node: abstract_a_single_1a
1604           relationship: tosca.relationships.DependsOn
1605     4p_nested_2:
1606       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
1607       directives:
1608       - substitutable
1609       properties:
1610         port_pcm_port_00_ip_requirements:
1611         - ip_version: 4
1612           ip_count_required:
1613             is_required: true
1614           floating_ip_count_required:
1615             is_required: false
1616         server_group: BE_Affinity_group
1617         connectivityChk:
1618           connectivityTo1C1_T1_02:
1619             get_attribute:
1620             - 1c1_t1_port_02
1621             - tenant_id
1622           connectivityTo1C1_T1_11:
1623             get_attribute:
1624             - 1c1_t1_port_11
1625             - tenant_id
1626           connectivityTo4PNested_1:
1627             get_attribute:
1628             - 4p_nested_1
1629             - server_pcm_id
1630           connectivityTo1C1_T1_01:
1631             get_attribute:
1632             - 1c1_t1_port_01
1633             - tenant_id
1634           connectivityTo1C1_T1_12:
1635             get_attribute:
1636             - 1c1_t1_port_12
1637             - tenant_id
1638           connectivityTo1B01_1:
1639             get_attribute:
1640             - 1b01_single_1B_1
1641             - instance_name
1642           connectivityTo1B02_1:
1643             get_attribute:
1644             - 1b02_single_1B_1
1645             - instance_name
1646           connectivityTo1B01_2:
1647             get_attribute:
1648             - 1b01_single_1B_2
1649             - instance_name
1650           connectivityTo1C2_2_2:
1651             get_attribute:
1652             - 2c202_catalog_instance_1C22
1653             - instance_name
1654           connectivityTo1A_2:
1655             get_attribute:
1656             - 2a_single_1A_2
1657             - instance_name
1658           connectivityTo1B02_2:
1659             get_attribute:
1660             - 1b02_single_1B_2
1661             - instance_name
1662           connectivityToNoUnifiedNested_2:
1663             get_attribute:
1664             - nestedNoUnified_2
1665             - portId
1666           connectivityTo1A_1:
1667             get_attribute:
1668             - 1a_single_1A_1
1669             - instance_name
1670           connectivityToNoUnifiedNested_1:
1671             get_attribute:
1672             - nestedNoUnified_1
1673             - portId
1674           connectivityTo1C2_1_1:
1675             get_attribute:
1676             - 1c201_catalog_instance_1C21
1677             - instance_name
1678           connectivityTo1C2_2_1:
1679             get_attribute:
1680             - 2c202_catalog_instance_1C21
1681             - instance_name
1682           connectivityTo1C2_1_2:
1683             get_attribute:
1684             - 1c201_catalog_instance_1C22
1685             - instance_name
1686         pcm_image_name:
1687           get_input: pcm_image_name
1688         port_pcm_port_00_mac_requirements:
1689           mac_count_required:
1690             is_required: false
1691         security_group_name: jsa_security_group
1692         port_pcm_port_01_ip_requirements:
1693         - ip_version: 4
1694           ip_count_required:
1695             is_required: true
1696           floating_ip_count_required:
1697             is_required: false
1698         port_pcm_port_00_network_role_tag: cps
1699         pcm_flavor_name:
1700           get_input: pcm_flavor_name
1701         service_template_filter:
1702           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
1703         port_pcm_port_01_mac_requirements:
1704           mac_count_required:
1705             is_required: false
1706         pcm_server_name:
1707           get_input:
1708           - pcm_server_names
1709           - 0
1710         cps_net_name: nested_network
1711         port_pcm_port_01_network_role_tag: oam
1712       requirements:
1713       - link_pcm_port_00:
1714           capability: tosca.capabilities.network.Linkable
1715           node: nested_network
1716           relationship: tosca.relationships.network.LinksTo
1717     1c1_t2_port_12:
1718       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1719       properties:
1720         ip_requirements:
1721         - ip_version: 4
1722           ip_count_required:
1723             is_required: true
1724           floating_ip_count_required:
1725             is_required: false
1726         fixed_ips:
1727         - ip_address:
1728             get_input:
1729             - myIPs
1730             - 1
1731         mac_requirements:
1732           mac_count_required:
1733             is_required: false
1734         name: 1c1_t2_port_12
1735         network_role_tag: ppds
1736         network:
1737           get_input: ppds_net_name
1738     4p_nested_1:
1739       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
1740       directives:
1741       - substitutable
1742       properties:
1743         port_pcm_port_00_ip_requirements:
1744         - ip_version: 4
1745           ip_count_required:
1746             is_required: true
1747           floating_ip_count_required:
1748             is_required: false
1749         server_group: BE_Affinity_group
1750         connectivityChk:
1751           connectivityTo4PNested_2:
1752             get_attribute:
1753             - 4p_nested_2
1754             - server_pcm_id
1755           connectivityTo1C1_T1_02:
1756             get_attribute:
1757             - 1c1_t1_port_02
1758             - tenant_id
1759           connectivityTo1C1_T1_11:
1760             get_attribute:
1761             - 1c1_t1_port_11
1762             - tenant_id
1763           connectivityTo1C1_T1_01:
1764             get_attribute:
1765             - 1c1_t1_port_01
1766             - tenant_id
1767           connectivityTo1C1_T1_12:
1768             get_attribute:
1769             - 1c1_t1_port_12
1770             - tenant_id
1771           connectivityTo1B01_1:
1772             get_attribute:
1773             - 1b01_single_1B_1
1774             - instance_name
1775           connectivityTo1B02_1:
1776             get_attribute:
1777             - 1b02_single_1B_1
1778             - instance_name
1779           connectivityTo1B01_2:
1780             get_attribute:
1781             - 1b01_single_1B_2
1782             - instance_name
1783           connectivityTo1C2_2_2:
1784             get_attribute:
1785             - 2c202_catalog_instance_1C22
1786             - instance_name
1787           connectivityTo1A_2:
1788             get_attribute:
1789             - 2a_single_1A_2
1790             - instance_name
1791           connectivityTo1B02_2:
1792             get_attribute:
1793             - 1b02_single_1B_2
1794             - instance_name
1795           connectivityToNoUnifiedNested_2:
1796             get_attribute:
1797             - nestedNoUnified_2
1798             - portId
1799           connectivityTo1A_1:
1800             get_attribute:
1801             - 1a_single_1A_1
1802             - instance_name
1803           connectivityToNoUnifiedNested_1:
1804             get_attribute:
1805             - nestedNoUnified_1
1806             - portId
1807           connectivityTo1C2_1_1:
1808             get_attribute:
1809             - 1c201_catalog_instance_1C21
1810             - instance_name
1811           connectivityTo1C2_2_1:
1812             get_attribute:
1813             - 2c202_catalog_instance_1C21
1814             - instance_name
1815           connectivityTo1C2_1_2:
1816             get_attribute:
1817             - 1c201_catalog_instance_1C22
1818             - instance_name
1819         pcm_image_name:
1820           get_input: pcm_image_name
1821         port_pcm_port_00_mac_requirements:
1822           mac_count_required:
1823             is_required: false
1824         security_group_name: jsa_security_group
1825         port_pcm_port_01_ip_requirements:
1826         - ip_version: 4
1827           ip_count_required:
1828             is_required: true
1829           floating_ip_count_required:
1830             is_required: false
1831         port_pcm_port_00_network_role_tag: cps
1832         pcm_flavor_name:
1833           get_input: pcm_flavor_name
1834         service_template_filter:
1835           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
1836         port_pcm_port_01_mac_requirements:
1837           mac_count_required:
1838             is_required: false
1839         pcm_server_name:
1840           get_input:
1841           - pcm_server_names
1842           - 0
1843         cps_net_name: nested_network
1844         port_pcm_port_01_network_role_tag: oam
1845       requirements:
1846       - link_pcm_port_00:
1847           capability: tosca.capabilities.network.Linkable
1848           node: nested_network
1849           relationship: tosca.relationships.network.LinksTo
1850     1c1_t2_port_11:
1851       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1852       properties:
1853         ip_requirements:
1854         - ip_version: 4
1855           ip_count_required:
1856             is_required: true
1857           floating_ip_count_required:
1858             is_required: false
1859         fixed_ips:
1860         - ip_address:
1861             get_input:
1862             - myIPs
1863             - 1
1864         mac_requirements:
1865           mac_count_required:
1866             is_required: false
1867         name: 1c1_t2_port_11
1868         network_role_tag: ppds
1869         network:
1870           get_input: ppds_net_name
1871     nested_network:
1872       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1873       properties:
1874         network_name:
1875           get_input: net_name
1876     abstract_b_single_1b_1:
1877       type: org.openecomp.resource.abstract.nodes.b_single_1b_1
1878       directives:
1879       - substitutable
1880       properties:
1881         vm_flavor_name:
1882           get_input: pd_flavor_name
1883         port_1b_t1_port_ip_requirements:
1884         - ip_version: 4
1885           ip_count_required:
1886             is_required: false
1887           floating_ip_count_required:
1888             is_required: false
1889         vm_image_name:
1890           get_input: pd_image_name
1891         compute_b_single_1b_user_data_format:
1892         - RAW
1893         port_1b_t2_port_mac_requirements:
1894           mac_count_required:
1895             is_required: false
1896         compute_b_single_1b_availability_zone:
1897         - get_input: availabilityzone_name
1898         compute_b_single_1b_scheduler_hints:
1899         - group: BE_Affinity_group
1900         port_1b_t2_port_ip_requirements:
1901         - ip_version: 4
1902           ip_count_required:
1903             is_required: false
1904           floating_ip_count_required:
1905             is_required: false
1906         compute_b_single_1b_metadata:
1907         - connectivityTo4PNested_2:
1908             get_attribute:
1909             - 4p_nested_2
1910             - server_pcm_id
1911           connectivityTo1C1_T1_02:
1912             get_attribute:
1913             - abstract_1c11_scalling_instance
1914             - 1c11_scalling_instance_1c1_t1_port_tenant_id
1915           connectivityTo1C1_T1_11:
1916             get_attribute:
1917             - abstract_1c12_scalling_instance
1918             - 1c12_scalling_instance_1c1_t1_port_tenant_id
1919           connectivityTo4PNested_1:
1920             get_attribute:
1921             - 4p_nested_1
1922             - server_pcm_id
1923           connectivityTo1C1_T1_01:
1924             get_attribute:
1925             - abstract_1c11_scalling_instance
1926             - 1c11_scalling_instance_1c1_t1_port_tenant_id
1927           connectivityTo1C1_T1_12:
1928             get_attribute:
1929             - abstract_1c12_scalling_instance
1930             - 1c12_scalling_instance_1c1_t1_port_tenant_id
1931           connectivityTo1B01_2:
1932             get_attribute:
1933             - abstract_b_single_2b_1
1934             - b_single_2b_instance_name
1935           connectivityTo1C2_2_2:
1936             get_attribute:
1937             - abstract_2c2_catalog_instance_0
1938             - 2c2_catalog_instance_instance_name
1939           connectivityTo1A_2:
1940             get_attribute:
1941             - abstract_a_single_2a
1942             - a_single_2a_instance_name
1943           connectivityTo1B02_2:
1944             get_attribute:
1945             - abstract_b_single_2b
1946             - b_single_2b_instance_name
1947           connectivityToNoUnifiedNested_2:
1948             get_attribute:
1949             - nestedNoUnified_2
1950             - portId
1951           connectivityTo1A_1:
1952             get_attribute:
1953             - abstract_a_single_1a
1954             - a_single_1a_instance_name
1955           connectivityToNoUnifiedNested_1:
1956             get_attribute:
1957             - nestedNoUnified_1
1958             - portId
1959           connectivityTo1C2_1_1:
1960             get_attribute:
1961             - abstract_1c2_catalog_instance_0
1962             - 1c2_catalog_instance_instance_name
1963           connectivityTo1C2_2_1:
1964             get_attribute:
1965             - abstract_2c2_catalog_instance_1
1966             - 2c2_catalog_instance_instance_name
1967           connectivityTo1C2_1_2:
1968             get_attribute:
1969             - abstract_1c2_catalog_instance_1
1970             - 1c2_catalog_instance_instance_name
1971         port_1b_t1_port_mac_requirements:
1972           mac_count_required:
1973             is_required: false
1974         port_1b_t2_port_network:
1975         - b_single_1b_network_1
1976         compute_b_single_1b_name:
1977         - get_input:
1978           - b_single_1b_names
1979           - 0
1980         service_template_filter:
1981           substitute_service_template: Nested_b_single_1b_1ServiceTemplate.yaml
1982           count: 1
1983         index_value:
1984           get_property:
1985           - SELF
1986           - service_template_filter
1987           - index_value
1988       requirements:
1989       - link_b_single_1b_1b_t2_port:
1990           capability: tosca.capabilities.network.Linkable
1991           node: b_single_1b_network_1
1992           relationship: tosca.relationships.network.LinksTo
1993   groups:
1994     hot-mog-0108-bs1271_group:
1995       type: org.openecomp.groups.heat.HeatStack
1996       properties:
1997         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
1998         description: heat template that creates MOG stack
1999       members:
2000       - nodeGetAttIn_network
2001       - nestedNoUnified_1
2002       - nestedNoUnified_2
2003       - b_single_1b_network_1
2004       - b_single_1b_network_2
2005       - jsa_security_group
2006       - a_single_1a_network
2007       - 1c2_catalog_instance_network
2008       - 1c1_t2_port_02
2009       - 1c1_t2_port_01
2010       - 1c1_scalling_instance_network
2011       - dependsOn_network
2012       - 4p_nested_2
2013       - 1c1_t2_port_12
2014       - 4p_nested_1
2015       - 1c1_t2_port_11
2016       - nested_network
2017       - abstract_a_single_2a
2018       - abstract_a_single_1a
2019       - abstract_1c11_scalling_instance
2020       - abstract_b_single_1b
2021       - abstract_b_single_1b_1
2022       - abstract_b_single_2b
2023       - abstract_b_single_2b_1
2024       - abstract_1c12_scalling_instance
2025       - abstract_2c2_catalog_instance_0
2026       - abstract_2c2_catalog_instance_1
2027       - abstract_1c2_catalog_instance_0
2028       - abstract_1c2_catalog_instance_1
2029     BE_Affinity_group:
2030       type: tosca.groups.Root
2031       members:
2032       - abstract_a_single_2a
2033       - abstract_a_single_1a
2034       - abstract_1c11_scalling_instance
2035       - abstract_b_single_1b
2036       - abstract_b_single_1b_1
2037       - abstract_b_single_2b
2038       - abstract_b_single_2b_1
2039       - abstract_1c12_scalling_instance
2040       - abstract_2c2_catalog_instance_0
2041       - abstract_2c2_catalog_instance_1
2042       - abstract_1c2_catalog_instance_0
2043       - abstract_1c2_catalog_instance_1
2044   outputs:
2045     out2:
2046       value:
2047         get_attribute:
2048         - abstract_1c2_catalog_instance_1
2049         - 1c2_catalog_instance_1c201_port_tenant_id
2050         - get_attribute:
2051           - abstract_1c2_catalog_instance_0
2052           - 1c2_catalog_instance_1c201_port_tenant_id
2053           - get_attribute:
2054             - abstract_1c2_catalog_instance_1
2055             - 1c2_catalog_instance_instance_name
2056             - get_attribute:
2057               - abstract_2c2_catalog_instance_1
2058               - 2c2_catalog_instance_instance_name
2059     out3:
2060       value:
2061         get_attribute:
2062         - abstract_1c11_scalling_instance
2063         - 1c11_scalling_instance_instance_name
2064         - get_attribute:
2065           - abstract_1c11_scalling_instance
2066           - 1c11_scalling_instance_instance_name
2067           - get_attribute:
2068             - 1c1_t2_port_02
2069             - tenant_id
2070             - get_attribute:
2071               - 1c1_t2_port_11
2072               - tenant_id
2073             - get_attribute:
2074               - 1c1_t2_port_12
2075               - tenant_id
2076             - get_attribute:
2077               - abstract_1c12_scalling_instance
2078               - 1c12_scalling_instance_instance_name
2079     out4:
2080       value:
2081         get_attribute:
2082         - abstract_b_single_1b_1
2083         - b_single_1b_instance_name
2084         - get_attribute:
2085           - abstract_b_single_1b
2086           - b_single_1b_instance_name
2087           - get_attribute:
2088             - abstract_b_single_1b_1
2089             - b_single_1b_1b_t1_port_tenant_id
2090             - get_attribute:
2091               - abstract_b_single_1b
2092               - b_single_1b_1b_t1_port_tenant_id
2093     out5:
2094       value:
2095         get_attribute:
2096         - abstract_a_single_1a
2097         - a_single_1a_instance_name
2098     out1:
2099       value:
2100         get_attribute:
2101         - nestedNoUnified_1
2102         - portId
2103         - get_attribute:
2104           - 4p_nested_2
2105           - server_pcm_id
2106     out6:
2107       value:
2108         get_attribute:
2109         - abstract_a_single_1a
2110         - a_single_1a_1a_t1_port_tenant_id
2111     out7:
2112       value:
2113         get_attribute:
2114         - abstract_a_single_2a
2115         - a_single_2a_instance_name
2116   policies:
2117     BE_Affinity_policy:
2118       type: org.openecomp.policies.placement.Colocate
2119       properties:
2120         name: def
2121         affinity: host
2122       targets:
2123       - BE_Affinity_group