22ad2137d227235aff73832946e48ab0e98be047
[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     app_volume_size_0:
12       hidden: false
13       immutable: false
14       type: float
15       description: Size of Service Data 1 Volume for app VMs
16       default: 130
17       constraints:
18       - in_range:
19         - 1
20         - 9999
21     plt_data_floating_v6_ip:
22       hidden: false
23       immutable: false
24       type: string
25       description: Floating IPv6 for plt VMs on the DATA network
26     iox_data_floating_v6_ip:
27       hidden: false
28       immutable: false
29       type: string
30       description: Floating IPv6 for iox VMs on the DATA network
31     plt_data_v6_ips:
32       hidden: false
33       immutable: false
34       type: list
35       description: Fixed IPv6 assignments for plt VMs on the DATA network
36       entry_schema:
37         type: string
38     iox_data_v6_ips:
39       hidden: false
40       immutable: false
41       type: list
42       description: Fixed IPv6 assignments for iox VMs on the DATA network
43       entry_schema:
44         type: string
45     plt_volume_shared_id_0:
46       hidden: false
47       immutable: false
48       type: string
49       description: ServiceData2 volume for plt VMs
50     plt_oam_ips:
51       hidden: false
52       immutable: false
53       type: list
54       description: Fixed IPv4 assignments for plt VMs on the OAM network
55       entry_schema:
56         type: string
57     openstack_cacert:
58       label: OpenStack CA Certificate
59       hidden: false
60       immutable: false
61       type: string
62       description: CA Certificate to use for OpenStack client calls.
63       default: ''
64     siteinfo_url:
65       hidden: false
66       immutable: false
67       type: string
68       description: siteinfo url
69     plt_pair_uuid:
70       hidden: false
71       immutable: false
72       type: string
73       description: UUID for plt VM pair
74       default: 573f433e25ba8
75     app_names:
76       hidden: false
77       immutable: false
78       type: list
79       description: VM names for app VMs
80       entry_schema:
81         type: string
82     iox_names:
83       hidden: false
84       immutable: false
85       type: list
86       description: VM names for iox VMs
87       entry_schema:
88         type: string
89     plt_servicedata2_volume_size_0:
90       hidden: false
91       immutable: false
92       type: float
93       description: Size of Service Data 2 Volume for plt VMs
94       default: 150
95       constraints:
96       - in_range:
97         - 1
98         - 9999
99     app_volume_id_0:
100       hidden: false
101       immutable: false
102       type: string
103       description: ServiceData1 volume for first app VM
104     plt_servicedata1_volume_size_0:
105       hidden: false
106       immutable: false
107       type: float
108       description: Size of Service Data 1 Volume for plt VMs
109       default: 70
110       constraints:
111       - in_range:
112         - 1
113         - 9999
114     internal_subnet_cidr:
115       hidden: false
116       immutable: false
117       type: string
118       description: IP subnet for internal network
119       default: 169.30.12.0/24
120     app_volume_id_1:
121       hidden: false
122       immutable: false
123       type: string
124       description: ServiceData1 volume for second app VM
125     domain:
126       hidden: false
127       immutable: false
128       type: string
129       description: What is this domain?
130     app_volume_id_2:
131       hidden: false
132       immutable: false
133       type: string
134       description: ServiceData1 volume for third app VM
135     plt_image_name:
136       hidden: false
137       immutable: false
138       type: string
139       description: Pilot image
140       default: USP_IECF-PILOT_30.3.3-mcas4.4.6.qcow2
141     app_image_name:
142       hidden: false
143       immutable: false
144       type: string
145       description: App image
146       default: USP_IECF-APP_30.3.3-mcas4.4.6.qcow2
147     plt_oam_floating_ip:
148       hidden: false
149       immutable: false
150       type: string
151       description: Floating IPv4 for plt VMs on the OAM network
152     plt_flavor_name:
153       hidden: false
154       immutable: false
155       type: string
156       description: Pilot flavor
157       default: nd.c2r4d50
158     vf_module_id:
159       hidden: false
160       immutable: false
161       type: string
162       description: Unique ID for this VF Module instance
163     iox_flavor_name:
164       hidden: false
165       immutable: false
166       type: string
167       description: IO flavor
168       default: nd.c2r4d50
169     app_security_groups:
170       hidden: false
171       immutable: false
172       type: list
173       description: App security group
174       entry_schema:
175         type: string
176     vnf_name:
177       hidden: false
178       immutable: false
179       type: string
180       description: Unique name for this VF instance
181     config_server_cacert:
182       label: configure server CA Certificate
183       hidden: false
184       immutable: false
185       type: string
186       description: CA Certificate for download from siteinfo url and config url.
187       default: ''
188     vf_module_name:
189       hidden: false
190       immutable: false
191       type: string
192       description: Unique name for this VF Module instance
193     oam_security_groups:
194       hidden: false
195       immutable: false
196       type: list
197       description: OAM security group
198       entry_schema:
199         type: string
200     iox_oam_ips:
201       hidden: false
202       immutable: false
203       type: list
204       description: Fixed IPv4 assignments for iox VMs on the OAM network
205       entry_schema:
206         type: string
207     vnf_id:
208       hidden: false
209       immutable: false
210       type: string
211       description: Unique ID for this VF instance
212     iox_image_name:
213       hidden: false
214       immutable: false
215       type: string
216       description: IO image
217       default: USP_IECF-IO_30.3.3-mcas4.4.6.qcow2
218     availability_zone_0:
219       hidden: false
220       immutable: false
221       type: string
222       description: First availability zone ID or Name
223     ignore_siteinfo_audit:
224       label: Siteinfo Audit Ignore Flag
225       hidden: false
226       immutable: false
227       type: string
228       description: Set to true if siteinfo audit failure should not prevent system installation
229     availability_zone_1:
230       hidden: false
231       immutable: false
232       type: string
233       description: Second availability zone ID or Name
234     data_net_id:
235       hidden: false
236       immutable: false
237       type: string
238       description: DATA network
239     plt_names:
240       hidden: false
241       immutable: false
242       type: list
243       description: VM names for plt VMs
244       entry_schema:
245         type: string
246     plt_security_groups:
247       hidden: false
248       immutable: false
249       type: list
250       description: Pilot security group
251       entry_schema:
252         type: string
253     app_data_v6_ips:
254       hidden: false
255       immutable: false
256       type: list
257       description: Fixed IPv6 assignments for app VMs on the DATA network
258       entry_schema:
259         type: string
260     iox_security_groups:
261       hidden: false
262       immutable: false
263       type: list
264       description: IO security group
265       entry_schema:
266         type: string
267     ieccf_debug:
268       hidden: false
269       immutable: false
270       type: string
271       description: IECCF debug flag
272       default: false
273     name_server_2:
274       hidden: false
275       immutable: false
276       type: string
277       description: IP address of name server 2
278     app_oam_ips:
279       hidden: false
280       immutable: false
281       type: list
282       description: Fixed IPv4 assignments for app VMs on the OAM network
283       entry_schema:
284         type: string
285     app_flavor_name:
286       hidden: false
287       immutable: false
288       type: string
289       description: App flavor
290       default: nd.c2r4d50
291     name_server_1:
292       hidden: false
293       immutable: false
294       type: string
295       description: IP address of name server 1
296     oam_net_id:
297       hidden: false
298       immutable: false
299       type: string
300       description: OAM network
301     iox_oam_floating_ip:
302       hidden: false
303       immutable: false
304       type: string
305       description: Floating IPv4 for iox VMs on the OAM network
306     ieccf_config_url:
307       hidden: false
308       immutable: false
309       type: string
310       description: IECCF configuration package URL
311     iox_pair_uuid:
312       hidden: false
313       immutable: false
314       type: string
315       description: UUID for iox VM pair
316       default: 573f433e284b4
317     plt_volume_id_0:
318       hidden: false
319       immutable: false
320       type: string
321       description: ServiceData1 volume for first plt VM
322     plt_volume_id_1:
323       hidden: false
324       immutable: false
325       type: string
326       description: ServiceData1 volume for second plt VM
327     data_security_groups:
328       hidden: false
329       immutable: false
330       type: list
331       description: DATA security group
332       entry_schema:
333         type: string
334   node_templates:
335     network:data:vip:m001:m002:
336       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
337       properties:
338         replacement_policy: AUTO
339         ip_requirements:
340         - ip_version: 4
341           ip_count_required:
342             is_required: true
343           floating_ip_count_required:
344             is_required: false
345         security_groups:
346           get_input: data_security_groups
347         fixed_ips:
348         - ip_address:
349             get_input: plt_data_floating_v6_ip
350         mac_requirements:
351           mac_count_required:
352             is_required: false
353         name:
354           str_replace:
355             template: $vnf_name-network_data_vip_m001_m002
356             params:
357               $vnf_name:
358                 get_input: vnf_name
359         network_role_tag: data
360         network:
361           get_input: data_net_id
362     network:data:vip:m004:m003:
363       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
364       properties:
365         replacement_policy: AUTO
366         ip_requirements:
367         - ip_version: 4
368           ip_count_required:
369             is_required: true
370           floating_ip_count_required:
371             is_required: false
372         security_groups:
373           get_input: data_security_groups
374         fixed_ips:
375         - ip_address:
376             get_input: iox_data_floating_v6_ip
377         mac_requirements:
378           mac_count_required:
379             is_required: false
380         name:
381           str_replace:
382             template: $vnf_name-network_data_vip_m004_m003
383             params:
384               $vnf_name:
385                 get_input: vnf_name
386         network_role_tag: data
387         network:
388           get_input: data_net_id
389     plt_volume_shared_0:
390       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
391       properties:
392         size: '(get_input : plt_servicedata2_volume_size_0) * 1024'
393         name:
394           str_replace:
395             template: $vnf_name-plt_volume_shared_0
396             params:
397               $vnf_name:
398                 get_input: vnf_name
399     network:oam:vip:m001:m002:
400       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
401       properties:
402         replacement_policy: AUTO
403         ip_requirements:
404         - ip_version: 4
405           ip_count_required:
406             is_required: true
407           floating_ip_count_required:
408             is_required: false
409         security_groups:
410           get_input: oam_security_groups
411         fixed_ips:
412         - ip_address:
413             get_input: plt_oam_floating_ip
414         mac_requirements:
415           mac_count_required:
416             is_required: false
417         name:
418           str_replace:
419             template: $vnf_name-network_oam_vip_m001_m002
420             params:
421               $vnf_name:
422                 get_input: vnf_name
423         network_role_tag: oam
424         network:
425           get_input: oam_net_id
426     app_volume_1:
427       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
428       properties:
429         size: '(get_input : app_volume_size_0) * 1024'
430         name:
431           str_replace:
432             template: $vnf_name-app_volume_1
433             params:
434               $vnf_name:
435                 get_input: vnf_name
436     app_volume_2:
437       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
438       properties:
439         size: '(get_input : app_volume_size_0) * 1024'
440         name:
441           str_replace:
442             template: $vnf_name-app_volume_2
443             params:
444               $vnf_name:
445                 get_input: vnf_name
446     app_volume_0:
447       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
448       properties:
449         size: '(get_input : app_volume_size_0) * 1024'
450         name:
451           str_replace:
452             template: $vnf_name-app_volume_0
453             params:
454               $vnf_name:
455                 get_input: vnf_name
456     plt_volume_1:
457       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
458       properties:
459         size: '(get_input : plt_servicedata1_volume_size_0) * 1024'
460         name:
461           str_replace:
462             template: $vnf_name-plt_volume_1
463             params:
464               $vnf_name:
465                 get_input: vnf_name
466     plt_volume_0:
467       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
468       properties:
469         size: '(get_input : plt_servicedata1_volume_size_0) * 1024'
470         name:
471           str_replace:
472             template: $vnf_name-plt_volume_0
473             params:
474               $vnf_name:
475                 get_input: vnf_name
476     abstract_iox_0:
477       type: org.openecomp.resource.abstract.nodes.iox
478       directives:
479       - substitutable
480       properties:
481         port_iox_data_0_port_ip_requirements:
482         - ip_version: 6
483           ip_count_required:
484             is_required: true
485           floating_ip_count_required:
486             is_required: false
487         port_iox_internal_0_port_network:
488         - internal_net_0
489         port_iox_data_0_port_name:
490         - str_replace:
491             template: $vnf_name-iox_data_1_port_0
492             params:
493               $vnf_name:
494                 get_input: vnf_name
495         vm_flavor_name:
496           get_input: iox_flavor_name
497         port_iox_data_0_port_allowed_address_pairs:
498         - ip_address:
499             get_attribute:
500             - network:data:vip:m004:m003
501             - fixed_ips
502             - 0
503             - ip_address
504         port_iox_internal_0_port_ip_requirements:
505         - ip_version: 4
506           ip_count_required:
507             is_required: false
508           floating_ip_count_required:
509             is_required: true
510         vm_image_name:
511           get_input: iox_image_name
512         port_iox_oam_0_port_name:
513         - str_replace:
514             template: $vnf_name-iox_oam_1_port_0
515             params:
516               $vnf_name:
517                 get_input: vnf_name
518         port_iox_oam_0_port_network_role_tag: oam
519         compute_iox_user_data_format:
520         - RAW
521         port_iox_data_0_port_fixed_ips:
522         - ip_address:
523             get_input:
524             - iox_data_v6_ips
525             - 1
526         port_iox_internal_0_port_allowed_address_pairs:
527         - ip_address:
528             get_input: internal_subnet_cidr
529         compute_iox_config_drive:
530         - true
531         port_iox_oam_0_port_replacement_policy:
532         - AUTO
533         port_iox_data_0_port_security_groups:
534         - get_input: data_security_groups
535         compute_iox_image_update_policy:
536         - REBUILD
537         port_iox_oam_0_port_network:
538         - get_input: oam_net_id
539         port_iox_internal_0_port_security_groups:
540         - get_input: iox_security_groups
541         port_iox_internal_0_port_name:
542         - str_replace:
543             template: $vnf_name-iox_internal_1_port_0
544             params:
545               $vnf_name:
546                 get_input: vnf_name
547         port_iox_oam_0_port_fixed_ips:
548         - ip_address:
549             get_input:
550             - iox_oam_ips
551             - 1
552         compute_iox_name:
553         - get_input:
554           - iox_names
555           - 1
556         port_iox_data_0_port_network:
557         - get_input: data_net_id
558         port_iox_internal_0_port_replacement_policy:
559         - AUTO
560         port_iox_internal_0_port_mac_requirements:
561           mac_count_required:
562             is_required: false
563         port_iox_data_0_port_mac_requirements:
564           mac_count_required:
565             is_required: false
566         port_iox_data_0_port_replacement_policy:
567         - AUTO
568         compute_iox_metadata:
569         - vf_module_id:
570             get_input: vf_module_id
571           vm_role: iox
572           vnf_id:
573             get_input: vnf_id
574           vnf_name:
575             get_input: vnf_name
576           vf_module_name:
577             get_input: vf_module_name
578         port_iox_oam_0_port_allowed_address_pairs:
579         - ip_address:
580             get_attribute:
581             - network:io:vip:m004:m003
582             - fixed_ips
583             - 0
584             - ip_address
585         compute_iox_availability_zone:
586         - get_input: availability_zone_1
587         port_iox_oam_0_port_security_groups:
588         - get_input: oam_security_groups
589         port_iox_oam_0_port_mac_requirements:
590           mac_count_required:
591             is_required: false
592         port_iox_oam_0_port_ip_requirements:
593         - ip_version: 4
594           ip_count_required:
595             is_required: true
596           floating_ip_count_required:
597             is_required: false
598         port_iox_data_0_port_network_role_tag: data
599         service_template_filter:
600           substitute_service_template: Nested_ioxServiceTemplate.yaml
601           count: 1
602         index_value:
603           get_property:
604           - SELF
605           - service_template_filter
606           - index_value
607       requirements:
608       - link_iox_iox_internal_0_port:
609           capability: tosca.capabilities.network.Linkable
610           node: internal_net_0
611           relationship: tosca.relationships.network.LinksTo
612     abstract_app_0:
613       type: org.openecomp.resource.abstract.nodes.app
614       directives:
615       - substitutable
616       properties:
617         port_app_data_0_port_mac_requirements:
618           mac_count_required:
619             is_required: false
620         compute_app_scheduler_hints:
621         - group: app_server_group_group
622         port_app_internal_0_port_ip_requirements:
623         - ip_version: 4
624           ip_count_required:
625             is_required: false
626           floating_ip_count_required:
627             is_required: true
628         port_app_oam_0_port_replacement_policy:
629         - AUTO
630         port_app_oam_0_port_network:
631         - get_input: oam_net_id
632         vm_flavor_name:
633           get_input: app_flavor_name
634         port_app_data_0_port_fixed_ips:
635         - ip_address:
636             get_input:
637             - app_data_v6_ips
638             - 2
639         vm_image_name:
640           get_input: app_image_name
641         port_app_oam_0_port_name:
642         - str_replace:
643             template: $vnf_name-app_oam_2_port_0
644             params:
645               $vnf_name:
646                 get_input: vnf_name
647         compute_app_availability_zone:
648         - get_input: availability_zone_0
649         compute_app_config_drive:
650         - true
651         port_app_oam_0_port_mac_requirements:
652           mac_count_required:
653             is_required: false
654         port_app_data_0_port_network:
655         - get_input: data_net_id
656         port_app_data_0_port_network_role_tag: data
657         port_app_oam_0_port_network_role_tag: oam
658         compute_app_metadata:
659         - vf_module_id:
660             get_input: vf_module_id
661           vm_role: app
662           vnf_id:
663             get_input: vnf_id
664           vnf_name:
665             get_input: vnf_name
666           vf_module_name:
667             get_input: vf_module_name
668         port_app_data_0_port_ip_requirements:
669         - ip_version: 6
670           ip_count_required:
671             is_required: true
672           floating_ip_count_required:
673             is_required: false
674         port_app_internal_0_port_allowed_address_pairs:
675         - ip_address:
676             get_input: internal_subnet_cidr
677         port_app_data_0_port_name:
678         - str_replace:
679             template: $vnf_name-app_data_2_port_0
680             params:
681               $vnf_name:
682                 get_input: vnf_name
683         port_app_oam_0_port_ip_requirements:
684         - ip_version: 4
685           ip_count_required:
686             is_required: true
687           floating_ip_count_required:
688             is_required: false
689         port_app_internal_0_port_network:
690         - internal_net_0
691         port_app_data_0_port_security_groups:
692         - get_input: data_security_groups
693         port_app_internal_0_port_replacement_policy:
694         - AUTO
695         port_app_internal_0_port_mac_requirements:
696           mac_count_required:
697             is_required: false
698         port_app_oam_0_port_security_groups:
699         - get_input: oam_security_groups
700         port_app_internal_0_port_name:
701         - str_replace:
702             template: $vnf_name-app_internal_2_port_0
703             params:
704               $vnf_name:
705                 get_input: vnf_name
706         port_app_oam_0_port_fixed_ips:
707         - ip_address:
708             get_input:
709             - app_oam_ips
710             - 2
711         port_app_data_0_port_replacement_policy:
712         - AUTO
713         compute_app_name:
714         - get_input:
715           - app_names
716           - 2
717         port_app_internal_0_port_security_groups:
718         - get_input: app_security_groups
719         compute_app_image_update_policy:
720         - REBUILD
721         compute_app_user_data_format:
722         - RAW
723         service_template_filter:
724           substitute_service_template: Nested_appServiceTemplate.yaml
725           count: 1
726         index_value:
727           get_property:
728           - SELF
729           - service_template_filter
730           - index_value
731       requirements:
732       - link_app_app_internal_0_port:
733           capability: tosca.capabilities.network.Linkable
734           node: internal_net_0
735           relationship: tosca.relationships.network.LinksTo
736     network:system:vip:m001:m002:
737       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
738       properties:
739         replacement_policy: AUTO
740         ip_requirements:
741         - ip_version: 4
742           ip_count_required:
743             is_required: false
744           floating_ip_count_required:
745             is_required: true
746         security_groups:
747           get_input: plt_security_groups
748         mac_requirements:
749           mac_count_required:
750             is_required: false
751         allowed_address_pairs:
752         - ip_address:
753             get_input: internal_subnet_cidr
754         name:
755           str_replace:
756             template: $vnf_name-network_system_vip_m001_m002
757             params:
758               $vnf_name:
759                 get_input: vnf_name
760         network: internal_net_0
761       requirements:
762       - link:
763           capability: tosca.capabilities.network.Linkable
764           node: internal_net_0
765           relationship: tosca.relationships.network.LinksTo
766     abstract_iox_1:
767       type: org.openecomp.resource.abstract.nodes.iox
768       directives:
769       - substitutable
770       properties:
771         port_iox_data_0_port_ip_requirements:
772         - ip_version: 6
773           ip_count_required:
774             is_required: true
775           floating_ip_count_required:
776             is_required: false
777         port_iox_internal_0_port_network:
778         - internal_net_0
779         port_iox_data_0_port_name:
780         - str_replace:
781             template: $vnf_name-iox_data_0_port_0
782             params:
783               $vnf_name:
784                 get_input: vnf_name
785         vm_flavor_name:
786           get_input: iox_flavor_name
787         port_iox_data_0_port_allowed_address_pairs:
788         - ip_address:
789             get_attribute:
790             - network:data:vip:m004:m003
791             - fixed_ips
792             - 0
793             - ip_address
794         port_iox_internal_0_port_ip_requirements:
795         - ip_version: 4
796           ip_count_required:
797             is_required: false
798           floating_ip_count_required:
799             is_required: true
800         vm_image_name:
801           get_input: iox_image_name
802         port_iox_oam_0_port_name:
803         - str_replace:
804             template: $vnf_name-iox_oam_0_port_0
805             params:
806               $vnf_name:
807                 get_input: vnf_name
808         port_iox_oam_0_port_network_role_tag: oam
809         compute_iox_user_data_format:
810         - RAW
811         port_iox_data_0_port_fixed_ips:
812         - ip_address:
813             get_input:
814             - iox_data_v6_ips
815             - 0
816         port_iox_internal_0_port_allowed_address_pairs:
817         - ip_address:
818             get_input: internal_subnet_cidr
819         compute_iox_config_drive:
820         - true
821         port_iox_oam_0_port_replacement_policy:
822         - AUTO
823         port_iox_data_0_port_security_groups:
824         - get_input: data_security_groups
825         compute_iox_image_update_policy:
826         - REBUILD
827         port_iox_oam_0_port_network:
828         - get_input: oam_net_id
829         port_iox_internal_0_port_security_groups:
830         - get_input: iox_security_groups
831         port_iox_internal_0_port_name:
832         - str_replace:
833             template: $vnf_name-iox_internal_0_port_0
834             params:
835               $vnf_name:
836                 get_input: vnf_name
837         port_iox_oam_0_port_fixed_ips:
838         - ip_address:
839             get_input:
840             - iox_oam_ips
841             - 0
842         compute_iox_name:
843         - get_input:
844           - iox_names
845           - 0
846         port_iox_data_0_port_network:
847         - get_input: data_net_id
848         port_iox_internal_0_port_replacement_policy:
849         - AUTO
850         port_iox_internal_0_port_mac_requirements:
851           mac_count_required:
852             is_required: false
853         port_iox_data_0_port_mac_requirements:
854           mac_count_required:
855             is_required: false
856         port_iox_data_0_port_replacement_policy:
857         - AUTO
858         compute_iox_metadata:
859         - vf_module_id:
860             get_input: vf_module_id
861           vm_role: iox
862           vnf_id:
863             get_input: vnf_id
864           vnf_name:
865             get_input: vnf_name
866           vf_module_name:
867             get_input: vf_module_name
868         port_iox_oam_0_port_allowed_address_pairs:
869         - ip_address:
870             get_attribute:
871             - network:io:vip:m004:m003
872             - fixed_ips
873             - 0
874             - ip_address
875         compute_iox_availability_zone:
876         - get_input: availability_zone_0
877         port_iox_oam_0_port_security_groups:
878         - get_input: oam_security_groups
879         port_iox_oam_0_port_mac_requirements:
880           mac_count_required:
881             is_required: false
882         port_iox_oam_0_port_ip_requirements:
883         - ip_version: 4
884           ip_count_required:
885             is_required: true
886           floating_ip_count_required:
887             is_required: false
888         port_iox_data_0_port_network_role_tag: data
889         service_template_filter:
890           substitute_service_template: Nested_ioxServiceTemplate.yaml
891           count: 1
892         index_value:
893           get_property:
894           - SELF
895           - service_template_filter
896           - index_value
897       requirements:
898       - link_iox_iox_internal_0_port:
899           capability: tosca.capabilities.network.Linkable
900           node: internal_net_0
901           relationship: tosca.relationships.network.LinksTo
902     abstract_app_2:
903       type: org.openecomp.resource.abstract.nodes.app
904       directives:
905       - substitutable
906       properties:
907         port_app_data_0_port_mac_requirements:
908           mac_count_required:
909             is_required: false
910         compute_app_scheduler_hints:
911         - group: app_server_group_group
912         port_app_internal_0_port_ip_requirements:
913         - ip_version: 4
914           ip_count_required:
915             is_required: false
916           floating_ip_count_required:
917             is_required: true
918         port_app_oam_0_port_replacement_policy:
919         - AUTO
920         port_app_oam_0_port_network:
921         - get_input: oam_net_id
922         vm_flavor_name:
923           get_input: app_flavor_name
924         port_app_data_0_port_fixed_ips:
925         - ip_address:
926             get_input:
927             - app_data_v6_ips
928             - 1
929         vm_image_name:
930           get_input: app_image_name
931         port_app_oam_0_port_name:
932         - str_replace:
933             template: $vnf_name-app_oam_1_port_0
934             params:
935               $vnf_name:
936                 get_input: vnf_name
937         compute_app_availability_zone:
938         - get_input: availability_zone_1
939         compute_app_config_drive:
940         - true
941         port_app_oam_0_port_mac_requirements:
942           mac_count_required:
943             is_required: false
944         port_app_data_0_port_network:
945         - get_input: data_net_id
946         port_app_data_0_port_network_role_tag: data
947         port_app_oam_0_port_network_role_tag: oam
948         compute_app_metadata:
949         - vf_module_id:
950             get_input: vf_module_id
951           vm_role: app
952           vnf_id:
953             get_input: vnf_id
954           vnf_name:
955             get_input: vnf_name
956           vf_module_name:
957             get_input: vf_module_name
958         port_app_data_0_port_ip_requirements:
959         - ip_version: 6
960           ip_count_required:
961             is_required: true
962           floating_ip_count_required:
963             is_required: false
964         port_app_internal_0_port_allowed_address_pairs:
965         - ip_address:
966             get_input: internal_subnet_cidr
967         port_app_data_0_port_name:
968         - str_replace:
969             template: $vnf_name-app_data_1_port_0
970             params:
971               $vnf_name:
972                 get_input: vnf_name
973         port_app_oam_0_port_ip_requirements:
974         - ip_version: 4
975           ip_count_required:
976             is_required: true
977           floating_ip_count_required:
978             is_required: false
979         port_app_internal_0_port_network:
980         - internal_net_0
981         port_app_data_0_port_security_groups:
982         - get_input: data_security_groups
983         port_app_internal_0_port_replacement_policy:
984         - AUTO
985         port_app_internal_0_port_mac_requirements:
986           mac_count_required:
987             is_required: false
988         port_app_oam_0_port_security_groups:
989         - get_input: oam_security_groups
990         port_app_internal_0_port_name:
991         - str_replace:
992             template: $vnf_name-app_internal_1_port_0
993             params:
994               $vnf_name:
995                 get_input: vnf_name
996         port_app_oam_0_port_fixed_ips:
997         - ip_address:
998             get_input:
999             - app_oam_ips
1000             - 1
1001         port_app_data_0_port_replacement_policy:
1002         - AUTO
1003         compute_app_name:
1004         - get_input:
1005           - app_names
1006           - 1
1007         port_app_internal_0_port_security_groups:
1008         - get_input: app_security_groups
1009         compute_app_image_update_policy:
1010         - REBUILD
1011         compute_app_user_data_format:
1012         - RAW
1013         service_template_filter:
1014           substitute_service_template: Nested_appServiceTemplate.yaml
1015           count: 1
1016         index_value:
1017           get_property:
1018           - SELF
1019           - service_template_filter
1020           - index_value
1021       requirements:
1022       - link_app_app_internal_0_port:
1023           capability: tosca.capabilities.network.Linkable
1024           node: internal_net_0
1025           relationship: tosca.relationships.network.LinksTo
1026     abstract_app_1:
1027       type: org.openecomp.resource.abstract.nodes.app
1028       directives:
1029       - substitutable
1030       properties:
1031         port_app_data_0_port_mac_requirements:
1032           mac_count_required:
1033             is_required: false
1034         compute_app_scheduler_hints:
1035         - group: app_server_group_group
1036         port_app_internal_0_port_ip_requirements:
1037         - ip_version: 4
1038           ip_count_required:
1039             is_required: false
1040           floating_ip_count_required:
1041             is_required: true
1042         port_app_oam_0_port_replacement_policy:
1043         - AUTO
1044         port_app_oam_0_port_network:
1045         - get_input: oam_net_id
1046         vm_flavor_name:
1047           get_input: app_flavor_name
1048         port_app_data_0_port_fixed_ips:
1049         - ip_address:
1050             get_input:
1051             - app_data_v6_ips
1052             - 0
1053         vm_image_name:
1054           get_input: app_image_name
1055         port_app_oam_0_port_name:
1056         - str_replace:
1057             template: $vnf_name-app_oam_0_port_0
1058             params:
1059               $vnf_name:
1060                 get_input: vnf_name
1061         compute_app_availability_zone:
1062         - get_input: availability_zone_0
1063         compute_app_config_drive:
1064         - true
1065         port_app_oam_0_port_mac_requirements:
1066           mac_count_required:
1067             is_required: false
1068         port_app_data_0_port_network:
1069         - get_input: data_net_id
1070         port_app_data_0_port_network_role_tag: data
1071         port_app_oam_0_port_network_role_tag: oam
1072         compute_app_metadata:
1073         - vf_module_id:
1074             get_input: vf_module_id
1075           vm_role: app
1076           vnf_id:
1077             get_input: vnf_id
1078           vnf_name:
1079             get_input: vnf_name
1080           vf_module_name:
1081             get_input: vf_module_name
1082         port_app_data_0_port_ip_requirements:
1083         - ip_version: 6
1084           ip_count_required:
1085             is_required: true
1086           floating_ip_count_required:
1087             is_required: false
1088         port_app_internal_0_port_allowed_address_pairs:
1089         - ip_address:
1090             get_input: internal_subnet_cidr
1091         port_app_data_0_port_name:
1092         - str_replace:
1093             template: $vnf_name-app_data_0_port_0
1094             params:
1095               $vnf_name:
1096                 get_input: vnf_name
1097         port_app_oam_0_port_ip_requirements:
1098         - ip_version: 4
1099           ip_count_required:
1100             is_required: true
1101           floating_ip_count_required:
1102             is_required: false
1103         port_app_internal_0_port_network:
1104         - internal_net_0
1105         port_app_data_0_port_security_groups:
1106         - get_input: data_security_groups
1107         port_app_internal_0_port_replacement_policy:
1108         - AUTO
1109         port_app_internal_0_port_mac_requirements:
1110           mac_count_required:
1111             is_required: false
1112         port_app_oam_0_port_security_groups:
1113         - get_input: oam_security_groups
1114         port_app_internal_0_port_name:
1115         - str_replace:
1116             template: $vnf_name-app_internal_0_port_0
1117             params:
1118               $vnf_name:
1119                 get_input: vnf_name
1120         port_app_oam_0_port_fixed_ips:
1121         - ip_address:
1122             get_input:
1123             - app_oam_ips
1124             - 0
1125         port_app_data_0_port_replacement_policy:
1126         - AUTO
1127         compute_app_name:
1128         - get_input:
1129           - app_names
1130           - 0
1131         port_app_internal_0_port_security_groups:
1132         - get_input: app_security_groups
1133         compute_app_image_update_policy:
1134         - REBUILD
1135         compute_app_user_data_format:
1136         - RAW
1137         service_template_filter:
1138           substitute_service_template: Nested_appServiceTemplate.yaml
1139           count: 1
1140         index_value:
1141           get_property:
1142           - SELF
1143           - service_template_filter
1144           - index_value
1145       requirements:
1146       - link_app_app_internal_0_port:
1147           capability: tosca.capabilities.network.Linkable
1148           node: internal_net_0
1149           relationship: tosca.relationships.network.LinksTo
1150     internal_net_0:
1151       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
1152       properties:
1153         dhcp_enabled: 'True'
1154         network_name:
1155           str_replace:
1156             template: $prefix-internal_net_0
1157             params:
1158               $prefix:
1159                 get_input: vnf_name
1160         subnets:
1161           internal_0_subnet_0:
1162             enable_dhcp: 'True'
1163             name:
1164               str_replace:
1165                 template: $vnf_name-internal_0_subnet_0
1166                 params:
1167                   $vnf_name:
1168                     get_input: vnf_name
1169             cidr:
1170               get_input: internal_subnet_cidr
1171             gateway_ip: ''
1172     abstract_plt_1:
1173       type: org.openecomp.resource.abstract.nodes.plt
1174       directives:
1175       - substitutable
1176       properties:
1177         port_plt_internal_0_port_allowed_address_pairs:
1178         - ip_address:
1179             get_input: internal_subnet_cidr
1180         port_plt_oam_0_port_security_groups:
1181         - get_input: oam_security_groups
1182         compute_plt_config_drive:
1183         - true
1184         vm_flavor_name:
1185           get_input: plt_flavor_name
1186         port_plt_data_0_port_fixed_ips:
1187         - ip_address:
1188             get_input:
1189             - plt_data_v6_ips
1190             - 1
1191         vm_image_name:
1192           get_input: plt_image_name
1193         compute_plt_availability_zone:
1194         - get_input: availability_zone_1
1195         port_plt_oam_0_port_name:
1196         - str_replace:
1197             template: $vnf_name-plt_oam_0_port_0
1198             params:
1199               $vnf_name:
1200                 get_input: vnf_name
1201         port_plt_internal_0_port_security_groups:
1202         - get_input: plt_security_groups
1203         port_plt_oam_0_port_ip_requirements:
1204         - ip_version: 4
1205           ip_count_required:
1206             is_required: true
1207           floating_ip_count_required:
1208             is_required: false
1209         port_plt_data_0_port_mac_requirements:
1210           mac_count_required:
1211             is_required: false
1212         port_plt_data_0_port_allowed_address_pairs:
1213         - ip_address:
1214             get_attribute:
1215             - network:data:vip:m001:m002
1216             - fixed_ips
1217             - 0
1218             - ip_address
1219         port_plt_data_0_port_ip_requirements:
1220         - ip_version: 6
1221           ip_count_required:
1222             is_required: true
1223           floating_ip_count_required:
1224             is_required: false
1225         port_plt_internal_0_port_network:
1226         - internal_net_0
1227         compute_plt_metadata:
1228         - vf_module_id:
1229             get_input: vf_module_id
1230           vm_role: plt
1231           vnf_id:
1232             get_input: vnf_id
1233           vnf_name:
1234             get_input: vnf_name
1235           vf_module_name:
1236             get_input: vf_module_name
1237         port_plt_data_0_port_security_groups:
1238         - get_input: data_security_groups
1239         port_plt_internal_0_port_mac_requirements:
1240           mac_count_required:
1241             is_required: false
1242         port_plt_data_0_port_network_role_tag: data
1243         port_plt_internal_0_port_ip_requirements:
1244         - ip_version: 4
1245           ip_count_required:
1246             is_required: false
1247           floating_ip_count_required:
1248             is_required: true
1249         port_plt_oam_0_port_fixed_ips:
1250         - ip_address:
1251             get_input:
1252             - plt_oam_ips
1253             - 0
1254         port_plt_oam_0_port_network_role_tag: oam
1255         port_plt_internal_0_port_name:
1256         - str_replace:
1257             template: $vnf_name-plt_internal_0_port_0
1258             params:
1259               $vnf_name:
1260                 get_input: vnf_name
1261         compute_plt_image_update_policy:
1262         - REBUILD
1263         port_plt_oam_0_port_allowed_address_pairs:
1264         - ip_address:
1265             get_attribute:
1266             - network:oam:vip:m001:m002
1267             - fixed_ips
1268             - 0
1269             - ip_address
1270         port_plt_data_0_port_name:
1271         - str_replace:
1272             template: $vnf_name-plt_data_0_port_0
1273             params:
1274               $vnf_name:
1275                 get_input: vnf_name
1276         compute_plt_user_data_format:
1277         - RAW
1278         port_plt_internal_0_port_replacement_policy:
1279         - AUTO
1280         port_plt_data_0_port_network:
1281         - get_input: data_net_id
1282         port_plt_oam_0_port_network:
1283         - get_input: oam_net_id
1284         port_plt_oam_0_port_replacement_policy:
1285         - AUTO
1286         port_plt_data_0_port_replacement_policy:
1287         - AUTO
1288         port_plt_oam_0_port_mac_requirements:
1289           mac_count_required:
1290             is_required: false
1291         compute_plt_name:
1292         - get_input:
1293           - plt_names
1294           - 1
1295         service_template_filter:
1296           substitute_service_template: Nested_pltServiceTemplate.yaml
1297           count: 1
1298         index_value:
1299           get_property:
1300           - SELF
1301           - service_template_filter
1302           - index_value
1303       requirements:
1304       - link_plt_plt_internal_0_port:
1305           capability: tosca.capabilities.network.Linkable
1306           node: internal_net_0
1307           relationship: tosca.relationships.network.LinksTo
1308     abstract_plt_0:
1309       type: org.openecomp.resource.abstract.nodes.plt
1310       directives:
1311       - substitutable
1312       properties:
1313         port_plt_internal_0_port_allowed_address_pairs:
1314         - ip_address:
1315             get_input: internal_subnet_cidr
1316         port_plt_oam_0_port_security_groups:
1317         - get_input: oam_security_groups
1318         compute_plt_config_drive:
1319         - true
1320         vm_flavor_name:
1321           get_input: plt_flavor_name
1322         port_plt_data_0_port_fixed_ips:
1323         - ip_address:
1324             get_input:
1325             - plt_data_v6_ips
1326             - 0
1327         vm_image_name:
1328           get_input: plt_image_name
1329         compute_plt_availability_zone:
1330         - get_input: availability_zone_0
1331         port_plt_oam_0_port_name:
1332         - str_replace:
1333             template: $vnf_name-plt_oam_0_port_0
1334             params:
1335               $vnf_name:
1336                 get_input: vnf_name
1337         port_plt_internal_0_port_security_groups:
1338         - get_input: plt_security_groups
1339         port_plt_oam_0_port_ip_requirements:
1340         - ip_version: 4
1341           ip_count_required:
1342             is_required: true
1343           floating_ip_count_required:
1344             is_required: false
1345         port_plt_data_0_port_mac_requirements:
1346           mac_count_required:
1347             is_required: false
1348         port_plt_data_0_port_allowed_address_pairs:
1349         - ip_address:
1350             get_attribute:
1351             - network:data:vip:m001:m002
1352             - fixed_ips
1353             - 0
1354             - ip_address
1355         port_plt_data_0_port_ip_requirements:
1356         - ip_version: 6
1357           ip_count_required:
1358             is_required: true
1359           floating_ip_count_required:
1360             is_required: false
1361         port_plt_internal_0_port_network:
1362         - internal_net_0
1363         compute_plt_metadata:
1364         - vf_module_id:
1365             get_input: vf_module_id
1366           vm_role: plt
1367           vnf_id:
1368             get_input: vnf_id
1369           vnf_name:
1370             get_input: vnf_name
1371           vf_module_name:
1372             get_input: vf_module_name
1373         port_plt_data_0_port_security_groups:
1374         - get_input: data_security_groups
1375         port_plt_internal_0_port_mac_requirements:
1376           mac_count_required:
1377             is_required: false
1378         port_plt_data_0_port_network_role_tag: data
1379         port_plt_internal_0_port_ip_requirements:
1380         - ip_version: 4
1381           ip_count_required:
1382             is_required: false
1383           floating_ip_count_required:
1384             is_required: true
1385         port_plt_oam_0_port_fixed_ips:
1386         - ip_address:
1387             get_input:
1388             - plt_oam_ips
1389             - 0
1390         port_plt_oam_0_port_network_role_tag: oam
1391         port_plt_internal_0_port_name:
1392         - str_replace:
1393             template: $vnf_name-plt_internal_0_port_0
1394             params:
1395               $vnf_name:
1396                 get_input: vnf_name
1397         compute_plt_image_update_policy:
1398         - REBUILD
1399         port_plt_oam_0_port_allowed_address_pairs:
1400         - ip_address:
1401             get_attribute:
1402             - network:oam:vip:m001:m002
1403             - fixed_ips
1404             - 0
1405             - ip_address
1406         port_plt_data_0_port_name:
1407         - str_replace:
1408             template: $vnf_name-plt_data_0_port_0
1409             params:
1410               $vnf_name:
1411                 get_input: vnf_name
1412         compute_plt_user_data_format:
1413         - RAW
1414         port_plt_internal_0_port_replacement_policy:
1415         - AUTO
1416         port_plt_data_0_port_network:
1417         - get_input: data_net_id
1418         port_plt_oam_0_port_network:
1419         - get_input: oam_net_id
1420         port_plt_oam_0_port_replacement_policy:
1421         - AUTO
1422         port_plt_data_0_port_replacement_policy:
1423         - AUTO
1424         port_plt_oam_0_port_mac_requirements:
1425           mac_count_required:
1426             is_required: false
1427         compute_plt_name:
1428         - get_input:
1429           - plt_names
1430           - 0
1431         service_template_filter:
1432           substitute_service_template: Nested_pltServiceTemplate.yaml
1433           count: 1
1434         index_value:
1435           get_property:
1436           - SELF
1437           - service_template_filter
1438           - index_value
1439       requirements:
1440       - link_plt_plt_internal_0_port:
1441           capability: tosca.capabilities.network.Linkable
1442           node: internal_net_0
1443           relationship: tosca.relationships.network.LinksTo
1444     network:io:vip:m004:m003:
1445       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1446       properties:
1447         replacement_policy: AUTO
1448         ip_requirements:
1449         - ip_version: 4
1450           ip_count_required:
1451             is_required: true
1452           floating_ip_count_required:
1453             is_required: false
1454         security_groups:
1455           get_input: oam_security_groups
1456         fixed_ips:
1457         - ip_address:
1458             get_input: iox_oam_floating_ip
1459         mac_requirements:
1460           mac_count_required:
1461             is_required: false
1462         name:
1463           str_replace:
1464             template: $vnf_name-network_io_vip_m004_m003
1465             params:
1466               $vnf_name:
1467                 get_input: vnf_name
1468         network_role_tag: oam
1469         network:
1470           get_input: oam_net_id
1471   groups:
1472     base_vIECCF_group:
1473       type: org.openecomp.groups.heat.HeatStack
1474       properties:
1475         heat_file: ../Artifacts/base_vIECCF.yml
1476       members:
1477       - network:data:vip:m001:m002
1478       - network:data:vip:m004:m003
1479       - network:oam:vip:m001:m002
1480       - network:system:vip:m001:m002
1481       - internal_net_0
1482       - network:io:vip:m004:m003
1483       - abstract_iox_0
1484       - abstract_iox_1
1485       - abstract_app_0
1486       - abstract_app_1
1487       - abstract_app_2
1488       - abstract_plt_0
1489       - abstract_plt_1
1490     app_server_group_group:
1491       type: tosca.groups.Root
1492       members:
1493       - abstract_app_0
1494       - abstract_app_1
1495       - abstract_app_2
1496     base_vIECCF_volume_group:
1497       type: org.openecomp.groups.heat.HeatStack
1498       properties:
1499         heat_file: ../Artifacts/base_vIECCF_volume.yml
1500         description: Volume creation template for vCCF
1501       members:
1502       - app_volume_1
1503       - app_volume_2
1504       - plt_volume_shared_0
1505       - app_volume_0
1506       - plt_volume_1
1507       - plt_volume_0
1508   outputs:
1509     plt_volume_shared_id_0:
1510       description: ServiceData2 volume for plt VMs
1511       value: plt_volume_shared_0
1512     oam_management_v4_address:
1513       value:
1514         get_input: plt_oam_floating_ip
1515     app_volume_id_0:
1516       description: ServiceData1 volume for first app VM
1517       value: app_volume_0
1518     app_volume_id_1:
1519       description: ServiceData1 volume for second app VM
1520       value: app_volume_1
1521     app_volume_id_2:
1522       description: ServiceData1 volume for third app VM
1523       value: app_volume_2
1524     plt_volume_id_0:
1525       description: ServiceData1 volume for first plt VM
1526       value: plt_volume_0
1527     plt_volume_id_1:
1528       description: ServiceData1 volume for second plt VM
1529       value: plt_volume_1
1530   policies:
1531     app_server_group_policy:
1532       type: org.openecomp.policies.placement.Antilocate
1533       properties:
1534         name:
1535           str_replace:
1536             template: $vnf_name-app_server_group
1537             params:
1538               $vnf_name:
1539                 get_input: vnf_name
1540         container_type: host
1541       targets:
1542       - app_server_group_group