[SDC-29] rebase continue work to align source
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedSingleCompute / nestedWithTwoDiffComputeTypes / out / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     pd_flavor_name:
12       label: PCRF CM flavor name
13       hidden: false
14       immutable: false
15       type: string
16       description: flavor name of PCRF CM instance
17       default: cps
18     oam_net_ips:
19       label: OAM network ips
20       hidden: false
21       immutable: false
22       type: list
23       description: OAM network ips
24       default:
25       - 107.239.64.121
26       entry_schema:
27         type: string
28     availabilityzone_name:
29       label: availabilityzone name
30       hidden: false
31       immutable: false
32       type: string
33       description: availabilityzone name
34       default: nova
35     oam_net_gw:
36       label: CPS network gateway
37       hidden: false
38       immutable: false
39       type: string
40       description: CPS network gateway
41       default: 107.239.64.1
42     pcm_server_names:
43       label: PCRF CM server names
44       hidden: false
45       immutable: false
46       type: list
47       description: name of the PCRF CM instance
48       default:
49       - ZRDM1PCRF01PCM001
50       entry_schema:
51         type: string
52     pcm_image_name:
53       label: PCRF CM image name
54       hidden: false
55       immutable: false
56       type: string
57       description: PCRF CM image name
58       default: rhel2
59     cps_net_ips:
60       label: CPS network ips
61       hidden: false
62       immutable: false
63       type: list
64       description: CPS network ips
65       default:
66       - 172.26.16.113
67       entry_schema:
68         type: string
69     pd_image_name:
70       label: PCRF CM image name
71       hidden: false
72       immutable: false
73       type: string
74       description: PCRF CM image name
75       default: rhel2
76     security_group_name:
77       label: security group name
78       hidden: false
79       immutable: false
80       type: string
81       description: the name of security group
82       default: nimbus_security_group
83     pd_server_names:
84       label: PCRF CM server names
85       hidden: false
86       immutable: false
87       type: list
88       description: name of the PCRF CM instance
89       default:
90       - ZRDM1PCRF01PCM001
91       entry_schema:
92         type: string
93     pcm_volumes:
94       label: CPS Cluman Cinder Volume
95       hidden: false
96       immutable: false
97       type: list
98       description: CPS Cluman Cinder Volume
99       default:
100       - 249cb355-8fdf-4382-9c3c-a2ebe767d45b
101       entry_schema:
102         type: string
103     compute_image_name:
104       hidden: false
105       immutable: false
106       type: string
107     pcm_flavor_name:
108       label: PCRF CM flavor name
109       hidden: false
110       immutable: false
111       type: string
112       description: flavor name of PCRF CM instance
113       default: cps
114     net_name:
115       hidden: false
116       immutable: false
117       type: string
118     cps_net_name:
119       label: CPS network name
120       hidden: false
121       immutable: false
122       type: string
123       description: CPS network name
124       default: int_pcrf_net_0
125     cps_net_mask:
126       label: CPS network mask
127       hidden: false
128       immutable: false
129       type: string
130       description: CPS network mask
131       default: 255.255.255.0
132     oam_net_mask:
133       label: CPS network mask
134       hidden: false
135       immutable: false
136       type: string
137       description: CPS network mask
138       default: 255.255.255.0
139     oam_net_name:
140       label: OAM network name
141       hidden: false
142       immutable: false
143       type: string
144       description: OAM network name
145       default: oam_protected_net_0
146   node_templates:
147     server_pd_1:
148       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
149       directives:
150       - substitutable
151       properties:
152         availabilityzone_name:
153           get_input: availabilityzone_name
154         oam_net_gw:
155           get_input: oam_net_gw
156         pcm_image_name:
157           get_input: pd_image_name
158         security_group_name:
159           get_input: security_group_name
160         cps_net_ip:
161           get_input:
162           - cps_net_ips
163           - 0
164         pcm_flavor_name:
165           get_input: pd_flavor_name
166         service_template_filter:
167           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
168         pcm_vol:
169           get_input:
170           - pcm_volumes
171           - 0
172         pcm_server_name:
173           get_input:
174           - pd_server_names
175           - 1
176         cps_net_name:
177           get_input: cps_net_name
178         cps_net_mask:
179           get_input: cps_net_mask
180         oam_net_ip:
181           get_input:
182           - oam_net_ips
183           - 0
184         oam_net_mask:
185           get_input: oam_net_mask
186         oam_net_name:
187           get_input: oam_net_name
188     server_pcm_1:
189       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
190       directives:
191       - substitutable
192       properties:
193         availabilityzone_name:
194           get_input: availabilityzone_name
195         oam_net_gw:
196           get_input: oam_net_gw
197         pcm_image_name:
198           get_input: pcm_image_name
199         security_group_name:
200           get_input: security_group_name
201         cps_net_ip:
202           get_input:
203           - cps_net_ips
204           - 0
205         pcm_flavor_name:
206           get_input: pcm_flavor_name
207         service_template_filter:
208           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
209         pcm_vol:
210           get_input:
211           - pcm_volumes
212           - 0
213         pcm_server_name:
214           get_input:
215           - pcm_server_names
216           - 0
217         cps_net_name:
218           get_input: cps_net_name
219         cps_net_mask:
220           get_input: cps_net_mask
221         oam_net_ip:
222           get_input:
223           - oam_net_ips
224           - 0
225         oam_net_mask:
226           get_input: oam_net_mask
227         oam_net_name:
228           get_input: oam_net_name
229     compute_port_0:
230       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
231       properties:
232         ip_requirements:
233         - ip_version: 4
234           ip_count_required:
235             is_required: false
236           floating_ip_count_required:
237             is_required: false
238         mac_requirements:
239           mac_count_required:
240             is_required: false
241         network:
242           get_input: net_name
243   groups:
244     hot-nimbus-pcm_v0.4_group:
245       type: org.openecomp.groups.heat.HeatStack
246       properties:
247         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
248         description: heat template that creates PCRF Cluman stack
249       members:
250       - server_pd_1
251       - server_pcm_1
252       - compute_port_0