cbd3ded50755d95732ff0b6dbbe01343de1c9b07
[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     oam_net_ips:
12       label: OAM network ips
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: oam_net_ips
23       type: list
24       description: OAM network ips
25       default:
26       - 107.239.64.121
27       entry_schema:
28         type: string
29     availabilityzone_name:
30       label: availabilityzone name
31       hidden: false
32       immutable: false
33       annotations:
34         source:
35           type: org.openecomp.annotations.Source
36           properties:
37             vf_module_label:
38             - hot-nimbus-pcm_v0.4
39             source_type: HEAT
40             param_name: availabilityzone_name
41       type: string
42       description: availabilityzone name
43       default: nova
44     oam_net_gw:
45       label: CPS network gateway
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: oam_net_gw
56       type: string
57       description: CPS network gateway
58       default: 107.239.64.1
59     pcm_server_names:
60       label: PCRF CM server names
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: pcm_server_names
71       type: list
72       description: name of the PCRF CM instance
73       default:
74       - ZRDM1PCRF01PCM001
75       entry_schema:
76         type: string
77     pcm_image_name:
78       label: PCRF CM image name
79       hidden: false
80       immutable: false
81       annotations:
82         source:
83           type: org.openecomp.annotations.Source
84           properties:
85             vf_module_label:
86             - hot-nimbus-pcm_v0.4
87             source_type: HEAT
88             param_name: pcm_image_name
89       type: string
90       description: PCRF CM image name
91       default: rhel2
92     cps_net_ips:
93       label: CPS network ips
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: cps_net_ips
104       type: list
105       description: CPS network ips
106       default:
107       - 172.26.16.113
108       entry_schema:
109         type: string
110     oam_flavor_name:
111       label: PCRF CM flavor name
112       hidden: false
113       immutable: false
114       annotations:
115         source:
116           type: org.openecomp.annotations.Source
117           properties:
118             vf_module_label:
119             - hot-nimbus-pcm_v0.4
120             source_type: HEAT
121             param_name: oam_flavor_name
122       type: string
123       description: flavor name of PCRF CM instance
124       default: cps
125     security_group_name:
126       label: security group 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: security_group_name
137       type: string
138       description: the name of security group
139       default: nimbus_security_group
140     pcm_volumes:
141       label: CPS Cluman Cinder Volume
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: pcm_volumes
152       type: list
153       description: CPS Cluman Cinder Volume
154       default:
155       - 249cb355-8fdf-4382-9c3c-a2ebe767d45b
156       entry_schema:
157         type: string
158     compute_image_name:
159       hidden: false
160       immutable: false
161       annotations:
162         source:
163           type: org.openecomp.annotations.Source
164           properties:
165             vf_module_label:
166             - hot-nimbus-pcm_v0.4
167             source_type: HEAT
168             param_name: compute_image_name
169       type: string
170     pcm_flavor_name:
171       label: PCRF CM flavor name
172       hidden: false
173       immutable: false
174       annotations:
175         source:
176           type: org.openecomp.annotations.Source
177           properties:
178             vf_module_label:
179             - hot-nimbus-pcm_v0.4
180             source_type: HEAT
181             param_name: pcm_flavor_name
182       type: string
183       description: flavor name of PCRF CM instance
184       default: cps
185     net_name:
186       hidden: false
187       immutable: false
188       annotations:
189         source:
190           type: org.openecomp.annotations.Source
191           properties:
192             vf_module_label:
193             - hot-nimbus-pcm_v0.4
194             source_type: HEAT
195             param_name: net_name
196       type: string
197     oam_image_name:
198       label: PCRF CM image name
199       hidden: false
200       immutable: false
201       annotations:
202         source:
203           type: org.openecomp.annotations.Source
204           properties:
205             vf_module_label:
206             - hot-nimbus-pcm_v0.4
207             source_type: HEAT
208             param_name: oam_image_name
209       type: string
210       description: PCRF CM image name
211       default: rhel2
212     oam_server_names:
213       label: PCRF CM server names
214       hidden: false
215       immutable: false
216       annotations:
217         source:
218           type: org.openecomp.annotations.Source
219           properties:
220             vf_module_label:
221             - hot-nimbus-pcm_v0.4
222             source_type: HEAT
223             param_name: oam_server_names
224       type: list
225       description: name of the PCRF CM instance
226       default:
227       - ZRDM1PCRF01PCM001
228       entry_schema:
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_pcm_002:
292       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
293       directives:
294       - substitutable
295       properties:
296         pcm_flavor_name:
297           get_input: pcm_flavor_name
298         service_template_filter:
299           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
300         port_pcm_port_1_network_role_tag: oam
301         port_pcm_port_0_ip_requirements:
302         - ip_version: 4
303           ip_count_required:
304             is_required: true
305           floating_ip_count_required:
306             is_required: false
307         pcm_image_name:
308           get_input: pcm_image_name
309         port_pcm_port_1_mac_requirements:
310           mac_count_required:
311             is_required: false
312         port_pcm_port_1_ip_requirements:
313         - ip_version: 4
314           ip_count_required:
315             is_required: true
316           floating_ip_count_required:
317             is_required: false
318         port_pcm_port_0_network_role_tag: cps
319         port_pcm_port_0_mac_requirements:
320           mac_count_required:
321             is_required: false
322         pcm_server_name:
323           get_input:
324           - pcm_server_names
325           - 0
326     server_oam_001:
327       type: org.openecomp.resource.abstract.nodes.heat.oam_server
328       directives:
329       - substitutable
330       properties:
331         port_pcm_port_00_ip_requirements:
332         - ip_version: 4
333           ip_count_required:
334             is_required: true
335           floating_ip_count_required:
336             is_required: false
337         availabilityzone_name:
338           get_input: availabilityzone_name
339         oam_net_gw:
340           get_input: oam_net_gw
341         port_pcm_port_00_mac_requirements:
342           mac_count_required:
343             is_required: false
344         oam_flavor_name:
345           get_input: oam_flavor_name
346         security_group_name:
347           get_input: security_group_name
348         cps_net_ip:
349           get_input:
350           - cps_net_ips
351           - 0
352         port_pcm_port_01_ip_requirements:
353         - ip_version: 4
354           ip_count_required:
355             is_required: true
356           floating_ip_count_required:
357             is_required: false
358         oam_server_name:
359           get_input:
360           - oam_server_names
361           - 0
362         port_pcm_port_00_network_role_tag: cps
363         service_template_filter:
364           substitute_service_template: nested-oam_v0.1ServiceTemplate.yaml
365         port_pcm_port_01_mac_requirements:
366           mac_count_required:
367             is_required: false
368         pcm_vol:
369           get_input:
370           - pcm_volumes
371           - 0
372         oam_image_name:
373           get_input: oam_image_name
374         cps_net_name:
375           get_input: cps_net_name
376         cps_net_mask:
377           get_input: cps_net_mask
378         oam_net_ip:
379           get_input:
380           - oam_net_ips
381           - 0
382         oam_net_mask:
383           get_input: oam_net_mask
384         oam_net_name:
385           get_input: oam_net_name
386         port_pcm_port_01_network_role_tag: oam
387     server_pcm_001:
388       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
389       directives:
390       - substitutable
391       properties:
392         metadata:
393           get_attribute:
394           - compute_port_0
395           - device_id
396         port_pcm_port_1_network_role_tag: oam
397         availabilityzone_name:
398           get_input: availabilityzone_name
399         port_pcm_port_0_ip_requirements:
400         - ip_version: 4
401           ip_count_required:
402             is_required: true
403           floating_ip_count_required:
404             is_required: false
405         oam_net_gw:
406           get_input: oam_net_gw
407         pcm_image_name:
408           get_input: pcm_image_name
409         security_group_name:
410           get_input: security_group_name
411         cps_net_ip:
412           get_input:
413           - cps_net_ips
414           - 0
415         port_pcm_port_1_mac_requirements:
416           mac_count_required:
417             is_required: false
418         pcm_flavor_name:
419           get_input: pcm_flavor_name
420         key_name:
421           get_attribute:
422           - server_oam_001
423           - accessIPv4
424         service_template_filter:
425           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
426         user_data_format:
427           get_attribute:
428           - server_pcm_002
429           - oam_net_gw
430         pcm_vol:
431           get_input:
432           - pcm_volumes
433           - 0
434         port_pcm_port_1_ip_requirements:
435         - ip_version: 4
436           ip_count_required:
437             is_required: true
438           floating_ip_count_required:
439             is_required: false
440         port_pcm_port_0_network_role_tag: cps
441         port_pcm_port_0_mac_requirements:
442           mac_count_required:
443             is_required: false
444         pcm_server_name:
445           get_input:
446           - pcm_server_names
447           - 0
448         cps_net_name:
449           get_input: cps_net_name
450         cps_net_mask:
451           get_input: cps_net_mask
452         oam_net_ip:
453           get_input:
454           - oam_net_ips
455           - 0
456         oam_net_mask:
457           get_input: oam_net_mask
458         oam_net_name:
459           get_input: oam_net_name
460     packet_mirror_network:
461       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
462       properties:
463         tenant_id:
464           get_attribute:
465           - abstract_compute
466           - compute_instance_name
467         network_name:
468           get_attribute:
469           - server_pcm_001
470           - instance_name
471     compute_port_0:
472       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
473       properties:
474         ip_requirements:
475         - ip_version: 4
476           ip_count_required:
477             is_required: false
478           floating_ip_count_required:
479             is_required: false
480         mac_requirements:
481           mac_count_required:
482             is_required: false
483         network:
484           get_input: net_name
485     abstract_compute:
486       type: org.openecomp.resource.abstract.nodes.compute
487       directives:
488       - substitutable
489       properties:
490         compute_compute_user_data_format:
491         - get_attribute:
492           - server_pcm_001
493           - oam_net_gw
494         vm_image_name:
495           get_input: compute_image_name
496         compute_compute_metadata:
497         - get_attribute:
498           - compute_port_0
499           - device_id
500         compute_compute_name:
501         - compute_name: null
502         vm_flavor_name:
503           compute_flavor_name: null
504         compute_compute_config_drive:
505         - get_attribute:
506           - compute_port_0
507           - tenant_id
508           - port_security_enabled
509           - device_id
510           - qos_policy
511           - allowed_address_pairs
512           - show
513           - device_owner
514           - network
515           - security_groups
516           - fixed_ips
517           - mac_address
518           - admin_state_up
519           - name
520           - subnets
521           - status
522         service_template_filter:
523           substitute_service_template: Nested_computeServiceTemplate.yaml
524           count: 1
525         index_value:
526           get_property:
527           - SELF
528           - service_template_filter
529           - index_value
530   groups:
531     hot-nimbus-pcm_v0.4_group:
532       type: org.openecomp.groups.heat.HeatStack
533       properties:
534         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
535         description: heat template that creates PCRF Cluman stack
536       members:
537       - server_pcm_002
538       - server_oam_001
539       - server_pcm_001
540       - packet_mirror_network
541       - compute_port_0
542       - abstract_compute