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