de3912257216d09fb4be3f011bf40f6a33260c68
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / mixPatterns / dependencyConnectivity / 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     pcm_server_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: pcm_server_names
74       type: string
75     pcm_image_name:
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: pcm_image_name
86       type: string
87     pd_image_name:
88       label: image name
89       hidden: false
90       immutable: false
91       annotations:
92         source:
93           type: org.openecomp.annotations.Source
94           properties:
95             vf_module_label:
96             - hot-mog-0108-bs1271
97             source_type: HEAT
98             param_name: pd_image_name
99       type: string
100       description: PD image name
101     security_group_name:
102       hidden: false
103       immutable: false
104       annotations:
105         source:
106           type: org.openecomp.annotations.Source
107           properties:
108             vf_module_label:
109             - hot-mog-0108-bs1271
110             source_type: HEAT
111             param_name: security_group_name
112       type: string
113     pd_server_names:
114       label: PD server names
115       hidden: false
116       immutable: false
117       annotations:
118         source:
119           type: org.openecomp.annotations.Source
120           properties:
121             vf_module_label:
122             - hot-mog-0108-bs1271
123             source_type: HEAT
124             param_name: pd_server_names
125       type: list
126       description: name of the PD instance
127       entry_schema:
128         type: string
129     1c2_catalog_instance_names:
130       hidden: false
131       immutable: false
132       annotations:
133         source:
134           type: org.openecomp.annotations.Source
135           properties:
136             vf_module_label:
137             - hot-mog-0108-bs1271
138             source_type: HEAT
139             param_name: 1c2_catalog_instance_names
140       type: string
141     pcm_flavor_name:
142       hidden: false
143       immutable: false
144       annotations:
145         source:
146           type: org.openecomp.annotations.Source
147           properties:
148             vf_module_label:
149             - hot-mog-0108-bs1271
150             source_type: HEAT
151             param_name: pcm_flavor_name
152       type: string
153     b_single_1b_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: b_single_1b_names
164       type: string
165     1c1_scalling_instance_names:
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: 1c1_scalling_instance_names
176       type: string
177     myIPs:
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: myIPs
188       type: string
189     net_name:
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: net_name
200       type: string
201     oam_net_name:
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: oam_net_name
212       type: string
213   node_templates:
214     nestedNoNestedSingleComputePattern:
215       type: org.openecomp.resource.abstract.nodes.heat.nested-no_vfc_v0.1
216       directives:
217       - substitutable
218       properties:
219         pcm_flavor_name:
220           get_input: pcm_flavor_name
221         service_template_filter:
222           substitute_service_template: nested-no_vfc_v0.1ServiceTemplate.yaml
223         server_group: BE_Affinity_group
224         pcm_image_name:
225           get_input: pcm_image_name
226         security_group_name: jsa_security_group
227         pcm_server_name:
228           get_input:
229           - pcm_server_names
230           - 0
231         cps_net_name: nested_network
232       requirements:
233       - link_pcm_port_2_0:
234           capability: tosca.capabilities.network.Linkable
235           node: nested_network
236           relationship: tosca.relationships.network.LinksTo
237       - link_pcm_port_0_0:
238           capability: tosca.capabilities.network.Linkable
239           node: nested_network
240           relationship: tosca.relationships.network.LinksTo
241     abstract_b_single_1b:
242       type: org.openecomp.resource.abstract.nodes.b_single_1b
243       directives:
244       - substitutable
245       properties:
246         port_1b_t2_port_mac_requirements:
247           mac_count_required:
248             is_required: false
249         compute_b_single_1b_availability_zone:
250         - get_input: availabilityzone_name
251         compute_b_single_1b_scheduler_hints:
252         - group: BE_Affinity_group
253         port_1b_t2_port_ip_requirements:
254         - ip_version: 4
255           ip_count_required:
256             is_required: false
257           floating_ip_count_required:
258             is_required: false
259         vm_flavor_name:
260           get_input: pd_flavor_name
261         port_1b_t1_port_ip_requirements:
262         - ip_version: 4
263           ip_count_required:
264             is_required: false
265           floating_ip_count_required:
266             is_required: false
267         vm_image_name:
268           get_input: pd_image_name
269         port_1b_t1_port_mac_requirements:
270           mac_count_required:
271             is_required: false
272         port_1b_t2_port_network:
273         - b_single_1b_network
274         compute_b_single_1b_user_data_format:
275         - RAW
276         compute_b_single_1b_name:
277         - get_input:
278           - b_single_1b_names
279           - 0
280         service_template_filter:
281           substitute_service_template: Nested_b_single_1bServiceTemplate.yaml
282           count: 1
283         index_value:
284           get_property:
285           - SELF
286           - service_template_filter
287           - index_value
288       requirements:
289       - link_b_single_1b_1b_t2_port:
290           capability: tosca.capabilities.network.Linkable
291           node: b_single_1b_network
292           relationship: tosca.relationships.network.LinksTo
293     abstract_1c1_scalling_instance:
294       type: org.openecomp.resource.abstract.nodes.1c1_scalling_instance
295       directives:
296       - substitutable
297       properties:
298         compute_1c1_scalling_instance_user_data_format:
299         - RAW2
300         - RAW1
301         port_1c1_t2_port_network_role_tag: ppds
302         vm_flavor_name:
303           get_input: pd_flavor_name
304         port_1c1_t1_port_ip_requirements:
305         - ip_version: 4
306           ip_count_required:
307             is_required: true
308           floating_ip_count_required:
309             is_required: false
310         vm_image_name:
311           get_input: pd_image_name
312         compute_1c1_scalling_instance_name:
313         - get_input:
314           - 1c1_scalling_instance_names
315           - 2
316         - get_input:
317           - 1c1_scalling_instance_names
318           - 1
319         port_1c1_t1_port_name:
320         - 1c1_t1_port_1
321         - 1c1_t1_port_0
322         port_1c1_t1_port_network:
323         - 1c1_scalling_instance_network
324         - 1c1_scalling_instance_network
325         port_1c1_t2_port_fixed_ips:
326         - - ip_address:
327               get_input:
328               - myIPs
329               - 1
330         - - ip_address:
331               get_input:
332               - myIPs
333               - 1
334         port_1c1_t2_port_network:
335         - get_input: ppds_net_name
336         - get_input: ppds_net_name
337         port_1c1_t1_port_fixed_ips:
338         - - ip_address:
339               get_input:
340               - myIPs
341               - 1
342         - - ip_address:
343               get_input:
344               - myIPs
345               - 1
346         port_1c1_t2_port_ip_requirements:
347         - ip_version: 4
348           ip_count_required:
349             is_required: true
350           floating_ip_count_required:
351             is_required: false
352         port_1c1_t1_port_mac_requirements:
353           mac_count_required:
354             is_required: false
355         port_1c1_t2_port_mac_requirements:
356           mac_count_required:
357             is_required: false
358         compute_1c1_scalling_instance_availability_zone:
359         - get_input: availabilityzone_name
360         - get_input: availabilityzone_name
361         port_1c1_t2_port_name:
362         - 1c1_t2_port_1
363         - 1c1_t2_port_0
364         compute_1c1_scalling_instance_scheduler_hints:
365         - group: BE_Affinity_group
366         - group: BE_Affinity_group
367         service_template_filter:
368           substitute_service_template: Nested_1c1_scalling_instanceServiceTemplate.yaml
369           count: 2
370         index_value:
371           get_property:
372           - SELF
373           - service_template_filter
374           - index_value
375       requirements:
376       - link_1c1_scalling_instance_1c1_t1_port:
377           capability: tosca.capabilities.network.Linkable
378           node: 1c1_scalling_instance_network
379           relationship: tosca.relationships.network.LinksTo
380     b_single_1b_network:
381       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
382       properties:
383         network_name:
384           get_input: net_name
385     nestedWithNoNovaHadDependencyToIt:
386       type: org.openecomp.resource.abstract.nodes.heat.nested-no-nova
387       directives:
388       - substitutable
389       properties:
390         service_template_filter:
391           substitute_service_template: nested-no-novaServiceTemplate.yaml
392         security_group_name: group1
393         net_name: myNetwork
394     4p_nested:
395       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
396       directives:
397       - substitutable
398       properties:
399         server_group: BE_Affinity_group
400         port_pcm_port_1_network_role_tag: oam
401         port_pcm_port_0_ip_requirements:
402         - ip_version: 4
403           ip_count_required:
404             is_required: true
405           floating_ip_count_required:
406             is_required: false
407         pcm_image_name:
408           get_input: pcm_image_name
409         security_group_name: jsa_security_group
410         port_pcm_port_1_mac_requirements:
411           mac_count_required:
412             is_required: false
413         pcm_flavor_name:
414           get_input: pcm_flavor_name
415         service_template_filter:
416           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
417         port_pcm_port_1_ip_requirements:
418         - ip_version: 4
419           ip_count_required:
420             is_required: true
421           floating_ip_count_required:
422             is_required: false
423         port_pcm_port_0_network_role_tag: cps
424         port_pcm_port_0_mac_requirements:
425           mac_count_required:
426             is_required: false
427         pcm_server_name:
428           get_input:
429           - pcm_server_names
430           - 0
431         cps_net_name: nested_network
432       requirements:
433       - link_pcm_port_0:
434           capability: tosca.capabilities.network.Linkable
435           node: nested_network
436           relationship: tosca.relationships.network.LinksTo
437     abstract_1c2_catalog_instance_0:
438       type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance
439       directives:
440       - substitutable
441       properties:
442         compute_1c2_catalog_instance_availability_zone:
443         - get_input: availabilityzone_name
444         vm_flavor_name:
445           get_input: pd_flavor_name
446         vm_image_name:
447           get_input: pd_image_name
448         port_1c2_t2_port_ip_requirements:
449         - ip_version: 4
450           ip_count_required:
451             is_required: false
452           floating_ip_count_required:
453             is_required: false
454         port_1c2_t1_port_mac_requirements:
455           mac_count_required:
456             is_required: false
457         port_1c2_t2_port_network:
458         - 1c2_catalog_instance_network
459         compute_1c2_catalog_instance_name:
460         - get_input:
461           - 1c2_catalog_instance_names
462           - 1
463         port_1c2_t1_port_network:
464         - get_input: oam_net_name
465         port_1c2_t2_port_mac_requirements:
466           mac_count_required:
467             is_required: false
468         compute_1c2_catalog_instance_user_data_format:
469         - RAW1
470         port_1c2_t1_port_network_role_tag: oam
471         port_1c2_t1_port_ip_requirements:
472         - ip_version: 4
473           ip_count_required:
474             is_required: false
475           floating_ip_count_required:
476             is_required: false
477         compute_1c2_catalog_instance_scheduler_hints:
478         - group: BE_Affinity_group
479         service_template_filter:
480           substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml
481           count: 1
482         index_value:
483           get_property:
484           - SELF
485           - service_template_filter
486           - index_value
487       requirements:
488       - link_1c2_catalog_instance_1c2_t2_port:
489           capability: tosca.capabilities.network.Linkable
490           node: 1c2_catalog_instance_network
491           relationship: tosca.relationships.network.LinksTo
492     abstract_1c2_catalog_instance_1:
493       type: org.openecomp.resource.abstract.nodes.1c2_catalog_instance
494       directives:
495       - substitutable
496       properties:
497         compute_1c2_catalog_instance_availability_zone:
498         - get_input: availabilityzone_name
499         vm_flavor_name:
500           get_input: pd_flavor_name
501         vm_image_name:
502           get_input: pd_image_name
503         port_1c2_t2_port_ip_requirements:
504         - ip_version: 4
505           ip_count_required:
506             is_required: false
507           floating_ip_count_required:
508             is_required: false
509         port_1c2_t1_port_mac_requirements:
510           mac_count_required:
511             is_required: false
512         port_1c2_t2_port_network:
513         - 1c2_catalog_instance_network
514         compute_1c2_catalog_instance_name:
515         - get_input:
516           - 1c2_catalog_instance_names
517           - 2
518         port_1c2_t1_port_network:
519         - get_input: oam_net_name
520         port_1c2_t2_port_mac_requirements:
521           mac_count_required:
522             is_required: false
523         compute_1c2_catalog_instance_user_data_format:
524         - get_attribute:
525           - abstract_1c2_catalog_instance_0
526           - 1c2_catalog_instance_instance_name
527         port_1c2_t1_port_network_role_tag: oam
528         port_1c2_t1_port_ip_requirements:
529         - ip_version: 4
530           ip_count_required:
531             is_required: false
532           floating_ip_count_required:
533             is_required: false
534         compute_1c2_catalog_instance_scheduler_hints:
535         - group: BE_Affinity_group
536         service_template_filter:
537           substitute_service_template: Nested_1c2_catalog_instanceServiceTemplate.yaml
538           count: 1
539         index_value:
540           get_property:
541           - SELF
542           - service_template_filter
543           - index_value
544       requirements:
545       - link_1c2_catalog_instance_1c2_t2_port:
546           capability: tosca.capabilities.network.Linkable
547           node: 1c2_catalog_instance_network
548           relationship: tosca.relationships.network.LinksTo
549     nestedWithNoNova:
550       type: org.openecomp.resource.abstract.nodes.heat.nested-no-nova
551       directives:
552       - substitutable
553       properties:
554         service_template_filter:
555           substitute_service_template: nested-no-novaServiceTemplate.yaml
556         security_group_name: group1
557         net_name: myNetwork
558     1c1_scalling_instance_network:
559       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
560       properties:
561         network_name:
562           get_input: net_name
563     nodeGetAttIn_network:
564       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
565       properties:
566         dhcp_agent_ids:
567           get_attribute:
568           - abstract_1c2_catalog_instance_1
569           - 1c2_catalog_instance_1c2_t1_port_tenant_id
570           - get_attribute:
571             - abstract_1c2_catalog_instance_0
572             - 1c2_catalog_instance_1c2_t1_port_tenant_id
573             - get_attribute:
574               - abstract_1c2_catalog_instance_0
575               - 1c2_catalog_instance_instance_name
576               - get_attribute:
577                 - abstract_1c2_catalog_instance_1
578                 - 1c2_catalog_instance_instance_name
579         tenant_id:
580           get_attribute:
581           - abstract_1c1_scalling_instance
582           - 1c1_scalling_instance_instance_name
583           - get_attribute:
584             - abstract_1c1_scalling_instance
585             - 1c1_scalling_instance_instance_name
586             - get_attribute:
587               - abstract_1c1_scalling_instance
588               - 1c1_scalling_instance_1c1_t2_port_tenant_id
589               - get_attribute:
590                 - abstract_1c1_scalling_instance
591                 - 1c1_scalling_instance_1c1_t2_port_tenant_id
592         admin_state_up:
593           get_attribute:
594           - abstract_a_single_1a
595           - a_single_1a_1a_t1_port_tenant_id
596         qos_policy:
597           get_attribute:
598           - abstract_a_single_1a
599           - a_single_1a_instance_name
600         network_name:
601           get_attribute:
602           - nestedNoNestedSingleComputePattern
603           - portId
604           - get_attribute:
605             - 4p_nested
606             - server_pcm_id
607         value_specs:
608           get_attribute:
609           - abstract_b_single_1b
610           - b_single_1b_instance_name
611           - get_attribute:
612             - abstract_b_single_1b_1
613             - b_single_1b_instance_name
614             - get_attribute:
615               - abstract_b_single_1b
616               - b_single_1b_1b_t1_port_tenant_id
617               - get_attribute:
618                 - abstract_b_single_1b_1
619                 - b_single_1b_1b_t1_port_tenant_id
620     dependsOn_network:
621       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
622       properties:
623         network_name:
624           get_input: net_name
625       requirements:
626       - dependency:
627           capability: tosca.capabilities.Node
628           node: nestedNoNestedSingleComputePattern
629           relationship: tosca.relationships.DependsOn
630       - dependency:
631           capability: tosca.capabilities.Node
632           node: 4p_nested
633           relationship: tosca.relationships.DependsOn
634       - dependency:
635           capability: feature_1c2_catalog_instance_1c2_t1_port
636           node: abstract_1c2_catalog_instance_1
637           relationship: tosca.relationships.DependsOn
638       - dependency:
639           capability: feature_1c2_catalog_instance_1c2_t1_port
640           node: abstract_1c2_catalog_instance_0
641           relationship: tosca.relationships.DependsOn
642       - dependency:
643           capability: feature_1c2_catalog_instance
644           node: abstract_1c2_catalog_instance_0
645           relationship: tosca.relationships.DependsOn
646       - dependency:
647           capability: feature_1c2_catalog_instance
648           node: abstract_1c2_catalog_instance_1
649           relationship: tosca.relationships.DependsOn
650       - dependency:
651           capability: feature_1c1_scalling_instance
652           node: abstract_1c1_scalling_instance
653           relationship: tosca.relationships.DependsOn
654       - dependency:
655           capability: feature_1c1_scalling_instance_1c1_t2_port
656           node: abstract_1c1_scalling_instance
657           relationship: tosca.relationships.DependsOn
658       - dependency:
659           capability: feature_b_single_1b
660           node: abstract_b_single_1b
661           relationship: tosca.relationships.DependsOn
662       - dependency:
663           capability: feature_b_single_1b
664           node: abstract_b_single_1b_1
665           relationship: tosca.relationships.DependsOn
666       - dependency:
667           capability: feature_b_single_1b_1b_t1_port
668           node: abstract_b_single_1b
669           relationship: tosca.relationships.DependsOn
670       - dependency:
671           capability: feature_b_single_1b_1b_t1_port
672           node: abstract_b_single_1b_1
673           relationship: tosca.relationships.DependsOn
674       - dependency:
675           capability: feature_a_single_1a
676           node: abstract_a_single_1a
677           relationship: tosca.relationships.DependsOn
678       - dependency:
679           capability: feature_a_single_1a_1a_t1_port
680           node: abstract_a_single_1a
681           relationship: tosca.relationships.DependsOn
682       - dependency:
683           capability: tosca.capabilities.Node
684           node: nestedWithNoNovaHadDependencyToIt
685           relationship: tosca.relationships.DependsOn
686     abstract_a_single_1a:
687       type: org.openecomp.resource.abstract.nodes.a_single_1a
688       directives:
689       - substitutable
690       properties:
691         port_1a_t1_port_ip_requirements:
692         - ip_version: 4
693           ip_count_required:
694             is_required: false
695           floating_ip_count_required:
696             is_required: false
697         port_1a_t2_port_network_role_tag: ppds
698         vm_flavor_name:
699           get_input: pd_flavor_name
700         port_1a_t2_port_network:
701         - get_input: ppds_net_name
702         port_1a_t1_port_mac_requirements:
703           mac_count_required:
704             is_required: false
705         port_1a_t1_port_network:
706         - a_single_1a_network
707         vm_image_name:
708           get_input: pd_image_name
709         port_1a_t2_port_ip_requirements:
710         - ip_version: 4
711           ip_count_required:
712             is_required: false
713           floating_ip_count_required:
714             is_required: false
715         compute_a_single_1a_availability_zone:
716         - get_input: availabilityzone_name
717         compute_a_single_1a_scheduler_hints:
718         - group: BE_Affinity_group
719         compute_a_single_1a_user_data_format:
720         - RAW
721         compute_a_single_1a_name:
722         - get_input:
723           - a_single_1a_names
724           - 0
725         port_1a_t2_port_mac_requirements:
726           mac_count_required:
727             is_required: false
728         service_template_filter:
729           substitute_service_template: Nested_a_single_1aServiceTemplate.yaml
730           count: 1
731         index_value:
732           get_property:
733           - SELF
734           - service_template_filter
735           - index_value
736       requirements:
737       - link_a_single_1a_1a_t1_port:
738           capability: tosca.capabilities.network.Linkable
739           node: a_single_1a_network
740           relationship: tosca.relationships.network.LinksTo
741     nested_network:
742       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
743       properties:
744         network_name:
745           get_input: net_name
746     jsa_security_group:
747       type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
748       properties:
749         name:
750           get_input: security_group_name
751         description: ems security group
752         rules:
753         - protocol: tcp
754           ethertype: IPv4
755           port_range_max: 65535
756           remote_ip_prefix: 0.0.0.0/0
757           direction: egress
758           port_range_min: 1
759         - protocol: udp
760           ethertype: IPv4
761           port_range_max: 65535
762           remote_ip_prefix: 0.0.0.0/0
763           direction: egress
764           port_range_min: 1
765         - protocol: icmp
766           ethertype: IPv4
767           remote_ip_prefix: 0.0.0.0/0
768           direction: egress
769         - protocol: tcp
770           ethertype: IPv6
771           port_range_max: 65535
772           remote_ip_prefix: ::/0
773           direction: egress
774           port_range_min: 1
775         - protocol: udp
776           ethertype: IPv6
777           port_range_max: 65535
778           remote_ip_prefix: ::/0
779           direction: egress
780           port_range_min: 1
781         - protocol: icmp
782           ethertype: IPv6
783           remote_ip_prefix: ::/0
784           direction: egress
785         - protocol: tcp
786           ethertype: IPv4
787           port_range_max: 65535
788           remote_ip_prefix: 0.0.0.0/0
789           direction: ingress
790           port_range_min: 1
791         - protocol: udp
792           ethertype: IPv4
793           port_range_max: 65535
794           remote_ip_prefix: 0.0.0.0/0
795           direction: ingress
796           port_range_min: 1
797         - protocol: icmp
798           ethertype: IPv4
799           remote_ip_prefix: 0.0.0.0/0
800           direction: ingress
801         - protocol: tcp
802           ethertype: IPv6
803           port_range_max: 65535
804           remote_ip_prefix: ::/0
805           direction: ingress
806           port_range_min: 1
807         - protocol: udp
808           ethertype: IPv6
809           port_range_max: 65535
810           remote_ip_prefix: ::/0
811           direction: ingress
812           port_range_min: 1
813         - protocol: icmp
814           ethertype: IPv6
815           remote_ip_prefix: ::/0
816           direction: ingress
817       requirements:
818       - port:
819           capability: attachment_pcm_port_0
820           node: 4p_nested
821           relationship: org.openecomp.relationships.AttachesTo
822       - port:
823           capability: attachment_pcm_port_1
824           node: 4p_nested
825           relationship: org.openecomp.relationships.AttachesTo
826       - port:
827           capability: attachment_pcm_port_0_0
828           node: nestedNoNestedSingleComputePattern
829           relationship: org.openecomp.relationships.AttachesTo
830       - port:
831           capability: attachment_pcm_port_3_0
832           node: nestedNoNestedSingleComputePattern
833           relationship: org.openecomp.relationships.AttachesTo
834       - port:
835           capability: attachment_pcm_port_2_0
836           node: nestedNoNestedSingleComputePattern
837           relationship: org.openecomp.relationships.AttachesTo
838       - port:
839           capability: attachment_pcm_port_1_0
840           node: nestedNoNestedSingleComputePattern
841           relationship: org.openecomp.relationships.AttachesTo
842     abstract_b_single_1b_1:
843       type: org.openecomp.resource.abstract.nodes.b_single_1b_1
844       directives:
845       - substitutable
846       properties:
847         vm_flavor_name:
848           get_input: pd_flavor_name
849         port_1b_t1_port_ip_requirements:
850         - ip_version: 4
851           ip_count_required:
852             is_required: false
853           floating_ip_count_required:
854             is_required: false
855         vm_image_name:
856           get_input: pd_image_name
857         compute_b_single_1b_user_data_format:
858         - RAW
859         port_1b_t2_port_mac_requirements:
860           mac_count_required:
861             is_required: false
862         compute_b_single_1b_availability_zone:
863         - get_input: availabilityzone_name
864         compute_b_single_1b_scheduler_hints:
865         - group: BE_Affinity_group
866         port_1b_t2_port_ip_requirements:
867         - ip_version: 4
868           ip_count_required:
869             is_required: false
870           floating_ip_count_required:
871             is_required: false
872         port_1b_t1_port_network_role_tag: oam
873         port_1b_t1_port_mac_requirements:
874           mac_count_required:
875             is_required: false
876         port_1b_t2_port_network:
877         - b_single_1b_network
878         port_1b_t1_port_network:
879         - get_input: oam_net_name
880         compute_b_single_1b_name:
881         - get_input:
882           - b_single_1b_names
883           - 1
884         service_template_filter:
885           substitute_service_template: Nested_b_single_1b_1ServiceTemplate.yaml
886           count: 1
887         index_value:
888           get_property:
889           - SELF
890           - service_template_filter
891           - index_value
892       requirements:
893       - link_b_single_1b_1b_t2_port:
894           capability: tosca.capabilities.network.Linkable
895           node: b_single_1b_network
896           relationship: tosca.relationships.network.LinksTo
897     a_single_1a_network:
898       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
899       properties:
900         network_name:
901           get_input: net_name
902     1c2_catalog_instance_network:
903       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
904       properties:
905         network_name:
906           get_input: net_name
907   groups:
908     hot-mog-0108-bs1271_group:
909       type: org.openecomp.groups.heat.HeatStack
910       properties:
911         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
912         description: heat template that creates MOG stack
913       members:
914       - nestedNoNestedSingleComputePattern
915       - b_single_1b_network
916       - nestedWithNoNovaHadDependencyToIt
917       - 4p_nested
918       - nestedWithNoNova
919       - 1c1_scalling_instance_network
920       - nodeGetAttIn_network
921       - dependsOn_network
922       - nested_network
923       - jsa_security_group
924       - a_single_1a_network
925       - 1c2_catalog_instance_network
926       - abstract_a_single_1a
927       - abstract_b_single_1b
928       - abstract_b_single_1b_1
929       - abstract_1c1_scalling_instance
930       - abstract_1c2_catalog_instance_0
931       - abstract_1c2_catalog_instance_1
932     BE_Affinity_group:
933       type: tosca.groups.Root
934       members:
935       - abstract_a_single_1a
936       - abstract_b_single_1b
937       - abstract_b_single_1b_1
938       - abstract_1c1_scalling_instance
939       - abstract_1c2_catalog_instance_0
940       - abstract_1c2_catalog_instance_1
941   outputs:
942     out2:
943       value:
944         get_attribute:
945         - abstract_1c2_catalog_instance_1
946         - 1c2_catalog_instance_1c2_t1_port_tenant_id
947         - get_attribute:
948           - abstract_1c2_catalog_instance_0
949           - 1c2_catalog_instance_1c2_t1_port_tenant_id
950           - get_attribute:
951             - abstract_1c2_catalog_instance_0
952             - 1c2_catalog_instance_instance_name
953             - get_attribute:
954               - abstract_1c2_catalog_instance_1
955               - 1c2_catalog_instance_instance_name
956     out3:
957       value:
958         get_attribute:
959         - abstract_1c1_scalling_instance
960         - 1c1_scalling_instance_instance_name
961         - get_attribute:
962           - abstract_1c1_scalling_instance
963           - 1c1_scalling_instance_instance_name
964           - get_attribute:
965             - abstract_1c1_scalling_instance
966             - 1c1_scalling_instance_1c1_t2_port_tenant_id
967             - get_attribute:
968               - abstract_1c1_scalling_instance
969               - 1c1_scalling_instance_1c1_t2_port_tenant_id
970     out4:
971       value:
972         get_attribute:
973         - abstract_b_single_1b
974         - b_single_1b_instance_name
975         - get_attribute:
976           - abstract_b_single_1b_1
977           - b_single_1b_instance_name
978           - get_attribute:
979             - abstract_b_single_1b
980             - b_single_1b_1b_t1_port_tenant_id
981             - get_attribute:
982               - abstract_b_single_1b_1
983               - b_single_1b_1b_t1_port_tenant_id
984     out5:
985       value:
986         get_attribute:
987         - abstract_a_single_1a
988         - a_single_1a_instance_name
989     out1:
990       value:
991         get_attribute:
992         - nestedNoNestedSingleComputePattern
993         - portId
994         - get_attribute:
995           - 4p_nested
996           - server_pcm_id
997     out6:
998       value:
999         get_attribute:
1000         - abstract_a_single_1a
1001         - a_single_1a_1a_t1_port_tenant_id
1002     out7:
1003       value:
1004         get_attribute:
1005         - nestedWithNoNovaHadDependencyToIt
1006         - output1
1007   policies:
1008     BE_Affinity_policy:
1009       type: org.openecomp.policies.placement.Colocate
1010       properties:
1011         name: def
1012         affinity: host
1013       targets:
1014       - BE_Affinity_group