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