d6c80b323c7fe207366ab3f8e7cba65ac87a6a2a
[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: PCRF CM 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-nimbus-pcm_v0.4
21             source_type: HEAT
22             param_name: pd_flavor_name
23       type: string
24       description: flavor name of PCRF CM instance
25       default: cps
26     oam_net_ips:
27       label: OAM network ips
28       hidden: false
29       immutable: false
30       annotations:
31         source:
32           type: org.openecomp.annotations.Source
33           properties:
34             vf_module_label:
35             - hot-nimbus-pcm_v0.4
36             source_type: HEAT
37             param_name: oam_net_ips
38       type: list
39       description: OAM network ips
40       default:
41       - 107.239.64.121
42       entry_schema:
43         type: string
44     availabilityzone_name:
45       label: availabilityzone name
46       hidden: false
47       immutable: false
48       annotations:
49         source:
50           type: org.openecomp.annotations.Source
51           properties:
52             vf_module_label:
53             - hot-nimbus-pcm_v0.4
54             source_type: HEAT
55             param_name: availabilityzone_name
56       type: string
57       description: availabilityzone name
58       default: nova
59     oam_net_gw:
60       label: CPS network gateway
61       hidden: false
62       immutable: false
63       annotations:
64         source:
65           type: org.openecomp.annotations.Source
66           properties:
67             vf_module_label:
68             - hot-nimbus-pcm_v0.4
69             source_type: HEAT
70             param_name: oam_net_gw
71       type: string
72       description: CPS network gateway
73       default: 107.239.64.1
74     pcm_server_names:
75       label: PCRF CM server names
76       hidden: false
77       immutable: false
78       annotations:
79         source:
80           type: org.openecomp.annotations.Source
81           properties:
82             vf_module_label:
83             - hot-nimbus-pcm_v0.4
84             source_type: HEAT
85             param_name: pcm_server_names
86       type: list
87       description: name of the PCRF CM instance
88       default:
89       - ZRDM1PCRF01PCM001
90       entry_schema:
91         type: string
92     pcm_image_name:
93       label: PCRF CM image name
94       hidden: false
95       immutable: false
96       annotations:
97         source:
98           type: org.openecomp.annotations.Source
99           properties:
100             vf_module_label:
101             - hot-nimbus-pcm_v0.4
102             source_type: HEAT
103             param_name: pcm_image_name
104       type: string
105       description: PCRF CM image name
106       default: rhel2
107     cps_net_ips:
108       label: CPS network ips
109       hidden: false
110       immutable: false
111       annotations:
112         source:
113           type: org.openecomp.annotations.Source
114           properties:
115             vf_module_label:
116             - hot-nimbus-pcm_v0.4
117             source_type: HEAT
118             param_name: cps_net_ips
119       type: list
120       description: CPS network ips
121       default:
122       - 172.26.16.113
123       entry_schema:
124         type: string
125     pd_image_name:
126       label: PCRF CM image name
127       hidden: false
128       immutable: false
129       annotations:
130         source:
131           type: org.openecomp.annotations.Source
132           properties:
133             vf_module_label:
134             - hot-nimbus-pcm_v0.4
135             source_type: HEAT
136             param_name: pd_image_name
137       type: string
138       description: PCRF CM image name
139       default: rhel2
140     security_group_name:
141       label: security group 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-nimbus-pcm_v0.4
150             source_type: HEAT
151             param_name: security_group_name
152       type: string
153       description: the name of security group
154       default: nimbus_security_group
155     pd_server_names:
156       label: PCRF CM server names
157       hidden: false
158       immutable: false
159       annotations:
160         source:
161           type: org.openecomp.annotations.Source
162           properties:
163             vf_module_label:
164             - hot-nimbus-pcm_v0.4
165             source_type: HEAT
166             param_name: pd_server_names
167       type: list
168       description: name of the PCRF CM instance
169       default:
170       - ZRDM1PCRF01PCM001
171       entry_schema:
172         type: string
173     pcm_volumes:
174       label: CPS Cluman Cinder Volume
175       hidden: false
176       immutable: false
177       annotations:
178         source:
179           type: org.openecomp.annotations.Source
180           properties:
181             vf_module_label:
182             - hot-nimbus-pcm_v0.4
183             source_type: HEAT
184             param_name: pcm_volumes
185       type: list
186       description: CPS Cluman Cinder Volume
187       default:
188       - 249cb355-8fdf-4382-9c3c-a2ebe767d45b
189       entry_schema:
190         type: string
191     compute_image_name:
192       hidden: false
193       immutable: false
194       annotations:
195         source:
196           type: org.openecomp.annotations.Source
197           properties:
198             vf_module_label:
199             - hot-nimbus-pcm_v0.4
200             source_type: HEAT
201             param_name: compute_image_name
202       type: string
203     pcm_flavor_name:
204       label: PCRF CM flavor name
205       hidden: false
206       immutable: false
207       annotations:
208         source:
209           type: org.openecomp.annotations.Source
210           properties:
211             vf_module_label:
212             - hot-nimbus-pcm_v0.4
213             source_type: HEAT
214             param_name: pcm_flavor_name
215       type: string
216       description: flavor name of PCRF CM instance
217       default: cps
218     net_name:
219       hidden: false
220       immutable: false
221       annotations:
222         source:
223           type: org.openecomp.annotations.Source
224           properties:
225             vf_module_label:
226             - hot-nimbus-pcm_v0.4
227             source_type: HEAT
228             param_name: net_name
229       type: string
230     cps_net_name:
231       label: CPS network name
232       hidden: false
233       immutable: false
234       annotations:
235         source:
236           type: org.openecomp.annotations.Source
237           properties:
238             vf_module_label:
239             - hot-nimbus-pcm_v0.4
240             source_type: HEAT
241             param_name: cps_net_name
242       type: string
243       description: CPS network name
244       default: int_pcrf_net_0
245     cps_net_mask:
246       label: CPS network mask
247       hidden: false
248       immutable: false
249       annotations:
250         source:
251           type: org.openecomp.annotations.Source
252           properties:
253             vf_module_label:
254             - hot-nimbus-pcm_v0.4
255             source_type: HEAT
256             param_name: cps_net_mask
257       type: string
258       description: CPS network mask
259       default: 255.255.255.0
260     oam_net_mask:
261       label: CPS network mask
262       hidden: false
263       immutable: false
264       annotations:
265         source:
266           type: org.openecomp.annotations.Source
267           properties:
268             vf_module_label:
269             - hot-nimbus-pcm_v0.4
270             source_type: HEAT
271             param_name: oam_net_mask
272       type: string
273       description: CPS network mask
274       default: 255.255.255.0
275     oam_net_name:
276       label: OAM network name
277       hidden: false
278       immutable: false
279       annotations:
280         source:
281           type: org.openecomp.annotations.Source
282           properties:
283             vf_module_label:
284             - hot-nimbus-pcm_v0.4
285             source_type: HEAT
286             param_name: oam_net_name
287       type: string
288       description: OAM network name
289       default: oam_protected_net_0
290   node_templates:
291     server_pd_1:
292       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
293       directives:
294       - substitutable
295       properties:
296         availabilityzone_name:
297           get_input: availabilityzone_name
298         oam_net_gw:
299           get_input: oam_net_gw
300         pcm_image_name:
301           get_input: pd_image_name
302         security_group_name:
303           get_input: security_group_name
304         cps_net_ip:
305           get_input:
306           - cps_net_ips
307           - 0
308         pcm_flavor_name:
309           get_input: pd_flavor_name
310         service_template_filter:
311           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
312         pcm_vol:
313           get_input:
314           - pcm_volumes
315           - 0
316         pcm_server_name:
317           get_input:
318           - pd_server_names
319           - 1
320         cps_net_name:
321           get_input: cps_net_name
322         cps_net_mask:
323           get_input: cps_net_mask
324         oam_net_ip:
325           get_input:
326           - oam_net_ips
327           - 0
328         oam_net_mask:
329           get_input: oam_net_mask
330         oam_net_name:
331           get_input: oam_net_name
332     server_pcm_1:
333       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
334       directives:
335       - substitutable
336       properties:
337         availabilityzone_name:
338           get_input: availabilityzone_name
339         oam_net_gw:
340           get_input: oam_net_gw
341         pcm_image_name:
342           get_input: pcm_image_name
343         security_group_name:
344           get_input: security_group_name
345         cps_net_ip:
346           get_input:
347           - cps_net_ips
348           - 0
349         pcm_flavor_name:
350           get_input: pcm_flavor_name
351         service_template_filter:
352           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
353         pcm_vol:
354           get_input:
355           - pcm_volumes
356           - 0
357         pcm_server_name:
358           get_input:
359           - pcm_server_names
360           - 0
361         cps_net_name:
362           get_input: cps_net_name
363         cps_net_mask:
364           get_input: cps_net_mask
365         oam_net_ip:
366           get_input:
367           - oam_net_ips
368           - 0
369         oam_net_mask:
370           get_input: oam_net_mask
371         oam_net_name:
372           get_input: oam_net_name
373     compute_port_0:
374       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
375       properties:
376         ip_requirements:
377         - ip_version: 4
378           ip_count_required:
379             is_required: false
380           floating_ip_count_required:
381             is_required: false
382         mac_requirements:
383           mac_count_required:
384             is_required: false
385         network:
386           get_input: net_name
387   groups:
388     hot-nimbus-pcm_v0.4_group:
389       type: org.openecomp.groups.heat.HeatStack
390       properties:
391         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
392         description: heat template that creates PCRF Cluman stack
393       members:
394       - server_pd_1
395       - server_pcm_1
396       - compute_port_0