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