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