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