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