Nested Dependency issues
[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: feature_1c2_catalog_instance_1c2_t1_port
583           node: abstract_1c2_catalog_instance_1
584           relationship: tosca.relationships.DependsOn
585       - dependency:
586           capability: feature_1c2_catalog_instance_1c2_t1_port
587           node: abstract_1c2_catalog_instance_0
588           relationship: tosca.relationships.DependsOn
589       - dependency:
590           capability: feature_1c2_catalog_instance
591           node: abstract_1c2_catalog_instance_0
592           relationship: tosca.relationships.DependsOn
593       - dependency:
594           capability: feature_1c2_catalog_instance
595           node: abstract_1c2_catalog_instance_1
596           relationship: tosca.relationships.DependsOn
597       - dependency:
598           capability: feature_1c1_scalling_instance
599           node: abstract_1c1_scalling_instance
600           relationship: tosca.relationships.DependsOn
601       - dependency:
602           capability: feature_1c1_scalling_instance_1c1_t2_port
603           node: abstract_1c1_scalling_instance
604           relationship: tosca.relationships.DependsOn
605       - dependency:
606           capability: feature_b_single_1b
607           node: abstract_b_single_1b
608           relationship: tosca.relationships.DependsOn
609       - dependency:
610           capability: feature_b_single_1b
611           node: abstract_b_single_1b_1
612           relationship: tosca.relationships.DependsOn
613       - dependency:
614           capability: feature_b_single_1b_1b_t1_port
615           node: abstract_b_single_1b
616           relationship: tosca.relationships.DependsOn
617       - dependency:
618           capability: feature_b_single_1b_1b_t1_port
619           node: abstract_b_single_1b_1
620           relationship: tosca.relationships.DependsOn
621       - dependency:
622           capability: feature_a_single_1a
623           node: abstract_a_single_1a
624           relationship: tosca.relationships.DependsOn
625       - dependency:
626           capability: feature_a_single_1a_1a_t1_port
627           node: abstract_a_single_1a
628           relationship: tosca.relationships.DependsOn
629     abstract_a_single_1a:
630       type: org.openecomp.resource.abstract.nodes.a_single_1a
631       directives:
632       - substitutable
633       properties:
634         port_1a_t1_port_ip_requirements:
635         - ip_version: 4
636           ip_count_required:
637             is_required: false
638           floating_ip_count_required:
639             is_required: false
640         port_1a_t2_port_network_role_tag: ppds
641         vm_flavor_name:
642           get_input: pd_flavor_name
643         port_1a_t2_port_network:
644         - get_input: ppds_net_name
645         port_1a_t1_port_mac_requirements:
646           mac_count_required:
647             is_required: false
648         port_1a_t1_port_network:
649         - a_single_1a_network
650         vm_image_name:
651           get_input: pd_image_name
652         port_1a_t2_port_ip_requirements:
653         - ip_version: 4
654           ip_count_required:
655             is_required: false
656           floating_ip_count_required:
657             is_required: false
658         compute_a_single_1a_availability_zone:
659         - get_input: availabilityzone_name
660         compute_a_single_1a_scheduler_hints:
661         - group: BE_Affinity_group
662         compute_a_single_1a_user_data_format:
663         - RAW
664         compute_a_single_1a_name:
665         - get_input:
666           - a_single_1a_names
667           - 0
668         port_1a_t2_port_mac_requirements:
669           mac_count_required:
670             is_required: false
671         service_template_filter:
672           substitute_service_template: Nested_a_single_1aServiceTemplate.yaml
673           count: 1
674         index_value:
675           get_property:
676           - SELF
677           - service_template_filter
678           - index_value
679       requirements:
680       - link_a_single_1a_1a_t1_port:
681           capability: tosca.capabilities.network.Linkable
682           node: a_single_1a_network
683           relationship: tosca.relationships.network.LinksTo
684     nestedNoUnified:
685       type: org.openecomp.resource.abstract.nodes.heat.nested-no_vfc_v0.1
686       directives:
687       - substitutable
688       properties:
689         pcm_flavor_name:
690           get_input: pcm_flavor_name
691         service_template_filter:
692           substitute_service_template: nested-no_vfc_v0.1ServiceTemplate.yaml
693         server_group: BE_Affinity_group
694         pcm_image_name:
695           get_input: pcm_image_name
696         security_group_name: jsa_security_group
697         pcm_server_name:
698           get_input:
699           - pcm_server_names
700           - 0
701         cps_net_name: nested_network
702       requirements:
703       - link_pcm_port_2:
704           capability: tosca.capabilities.network.Linkable
705           node: nested_network
706           relationship: tosca.relationships.network.LinksTo
707       - link_pcm_port_0:
708           capability: tosca.capabilities.network.Linkable
709           node: nested_network
710           relationship: tosca.relationships.network.LinksTo
711     nested_network:
712       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
713       properties:
714         network_name:
715           get_input: net_name
716     jsa_security_group:
717       type: org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules
718       properties:
719         name:
720           get_input: security_group_name
721         description: ems security group
722         rules:
723         - protocol: tcp
724           ethertype: IPv4
725           port_range_max: 65535
726           remote_ip_prefix: 0.0.0.0/0
727           direction: egress
728           port_range_min: 1
729         - protocol: udp
730           ethertype: IPv4
731           port_range_max: 65535
732           remote_ip_prefix: 0.0.0.0/0
733           direction: egress
734           port_range_min: 1
735         - protocol: icmp
736           ethertype: IPv4
737           remote_ip_prefix: 0.0.0.0/0
738           direction: egress
739         - protocol: tcp
740           ethertype: IPv6
741           port_range_max: 65535
742           remote_ip_prefix: ::/0
743           direction: egress
744           port_range_min: 1
745         - protocol: udp
746           ethertype: IPv6
747           port_range_max: 65535
748           remote_ip_prefix: ::/0
749           direction: egress
750           port_range_min: 1
751         - protocol: icmp
752           ethertype: IPv6
753           remote_ip_prefix: ::/0
754           direction: egress
755         - protocol: tcp
756           ethertype: IPv4
757           port_range_max: 65535
758           remote_ip_prefix: 0.0.0.0/0
759           direction: ingress
760           port_range_min: 1
761         - protocol: udp
762           ethertype: IPv4
763           port_range_max: 65535
764           remote_ip_prefix: 0.0.0.0/0
765           direction: ingress
766           port_range_min: 1
767         - protocol: icmp
768           ethertype: IPv4
769           remote_ip_prefix: 0.0.0.0/0
770           direction: ingress
771         - protocol: tcp
772           ethertype: IPv6
773           port_range_max: 65535
774           remote_ip_prefix: ::/0
775           direction: ingress
776           port_range_min: 1
777         - protocol: udp
778           ethertype: IPv6
779           port_range_max: 65535
780           remote_ip_prefix: ::/0
781           direction: ingress
782           port_range_min: 1
783         - protocol: icmp
784           ethertype: IPv6
785           remote_ip_prefix: ::/0
786           direction: ingress
787       requirements:
788       - port:
789           capability: attachment_pcm_port_00
790           node: 4p_nested
791           relationship: org.openecomp.relationships.AttachesTo
792       - port:
793           capability: attachment_pcm_port_01
794           node: 4p_nested
795           relationship: org.openecomp.relationships.AttachesTo
796       - port:
797           capability: attachment_pcm_port_0
798           node: nestedNoUnified
799           relationship: org.openecomp.relationships.AttachesTo
800       - port:
801           capability: attachment_pcm_port_1
802           node: nestedNoUnified
803           relationship: org.openecomp.relationships.AttachesTo
804       - port:
805           capability: attachment_pcm_port_2
806           node: nestedNoUnified
807           relationship: org.openecomp.relationships.AttachesTo
808       - port:
809           capability: attachment_pcm_port_3
810           node: nestedNoUnified
811           relationship: org.openecomp.relationships.AttachesTo
812     abstract_b_single_1b_1:
813       type: org.openecomp.resource.abstract.nodes.b_single_1b_1
814       directives:
815       - substitutable
816       properties:
817         vm_flavor_name:
818           get_input: pd_flavor_name
819         port_1b_t1_port_ip_requirements:
820         - ip_version: 4
821           ip_count_required:
822             is_required: false
823           floating_ip_count_required:
824             is_required: false
825         vm_image_name:
826           get_input: pd_image_name
827         compute_b_single_1b_user_data_format:
828         - RAW
829         port_1b_t2_port_mac_requirements:
830           mac_count_required:
831             is_required: false
832         compute_b_single_1b_availability_zone:
833         - get_input: availabilityzone_name
834         compute_b_single_1b_scheduler_hints:
835         - group: BE_Affinity_group
836         port_1b_t2_port_ip_requirements:
837         - ip_version: 4
838           ip_count_required:
839             is_required: false
840           floating_ip_count_required:
841             is_required: false
842         port_1b_t1_port_network_role_tag: oam
843         port_1b_t1_port_mac_requirements:
844           mac_count_required:
845             is_required: false
846         port_1b_t2_port_network:
847         - b_single_1b_network
848         port_1b_t1_port_network:
849         - get_input: oam_net_name
850         compute_b_single_1b_name:
851         - get_input:
852           - b_single_1b_names
853           - 1
854         service_template_filter:
855           substitute_service_template: Nested_b_single_1b_1ServiceTemplate.yaml
856           count: 1
857         index_value:
858           get_property:
859           - SELF
860           - service_template_filter
861           - index_value
862       requirements:
863       - link_b_single_1b_1b_t2_port:
864           capability: tosca.capabilities.network.Linkable
865           node: b_single_1b_network
866           relationship: tosca.relationships.network.LinksTo
867     a_single_1a_network:
868       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
869       properties:
870         network_name:
871           get_input: net_name
872     1c2_catalog_instance_network:
873       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
874       properties:
875         network_name:
876           get_input: net_name
877   groups:
878     hot-mog-0108-bs1271_group:
879       type: org.openecomp.groups.heat.HeatStack
880       properties:
881         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
882         description: heat template that creates MOG stack
883       members:
884       - b_single_1b_network
885       - 4p_nested
886       - 1c1_scalling_instance_network
887       - nodeGetAttIn_network
888       - dependsOn_network
889       - nestedNoUnified
890       - nested_network
891       - jsa_security_group
892       - a_single_1a_network
893       - 1c2_catalog_instance_network
894       - abstract_a_single_1a
895       - abstract_b_single_1b
896       - abstract_b_single_1b_1
897       - abstract_1c1_scalling_instance
898       - abstract_1c2_catalog_instance_0
899       - abstract_1c2_catalog_instance_1
900     BE_Affinity_group:
901       type: tosca.groups.Root
902       members:
903       - abstract_a_single_1a
904       - abstract_b_single_1b
905       - abstract_b_single_1b_1
906       - abstract_1c1_scalling_instance
907       - abstract_1c2_catalog_instance_0
908       - abstract_1c2_catalog_instance_1
909   outputs:
910     out2:
911       value:
912         get_attribute:
913         - abstract_1c2_catalog_instance_1
914         - 1c2_catalog_instance_1c2_t1_port_tenant_id
915         - get_attribute:
916           - abstract_1c2_catalog_instance_0
917           - 1c2_catalog_instance_1c2_t1_port_tenant_id
918           - get_attribute:
919             - abstract_1c2_catalog_instance_0
920             - 1c2_catalog_instance_instance_name
921             - get_attribute:
922               - abstract_1c2_catalog_instance_1
923               - 1c2_catalog_instance_instance_name
924     out3:
925       value:
926         get_attribute:
927         - abstract_1c1_scalling_instance
928         - 1c1_scalling_instance_instance_name
929         - get_attribute:
930           - abstract_1c1_scalling_instance
931           - 1c1_scalling_instance_instance_name
932           - get_attribute:
933             - abstract_1c1_scalling_instance
934             - 1c1_scalling_instance_1c1_t2_port_tenant_id
935             - get_attribute:
936               - abstract_1c1_scalling_instance
937               - 1c1_scalling_instance_1c1_t2_port_tenant_id
938     out4:
939       value:
940         get_attribute:
941         - abstract_b_single_1b
942         - b_single_1b_instance_name
943         - get_attribute:
944           - abstract_b_single_1b_1
945           - b_single_1b_instance_name
946           - get_attribute:
947             - abstract_b_single_1b
948             - b_single_1b_1b_t1_port_tenant_id
949             - get_attribute:
950               - abstract_b_single_1b_1
951               - b_single_1b_1b_t1_port_tenant_id
952     out5:
953       value:
954         get_attribute:
955         - abstract_a_single_1a
956         - a_single_1a_instance_name
957     out1:
958       value:
959         get_attribute:
960         - nestedNoUnified
961         - portId
962         - get_attribute:
963           - 4p_nested
964           - server_pcm_id
965     out6:
966       value:
967         get_attribute:
968         - abstract_a_single_1a
969         - a_single_1a_1a_t1_port_tenant_id
970   policies:
971     BE_Affinity_policy:
972       type: org.openecomp.policies.placement.Colocate
973       properties:
974         name: def
975         affinity: host
976       targets:
977       - BE_Affinity_group