b2c1f33d89cd8e694b5c199f769c473fb940ad27
[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         - ip_version: 6
308           ip_count_required:
309             is_required: false
310           floating_ip_count_required:
311             is_required: false
312         pcm_image_name:
313           get_input: pcm_image_name
314         port_pcm_port_1_mac_requirements:
315           mac_count_required:
316             is_required: false
317         port_pcm_port_1_ip_requirements:
318         - ip_version: 4
319           ip_count_required:
320             is_required: true
321           floating_ip_count_required:
322             is_required: false
323         - ip_version: 6
324           ip_count_required:
325             is_required: false
326           floating_ip_count_required:
327             is_required: false
328         port_pcm_port_0_network_role_tag: cps
329         port_pcm_port_0_mac_requirements:
330           mac_count_required:
331             is_required: false
332         pcm_server_name:
333           get_input:
334           - pcm_server_names
335           - 0
336     server_oam_001:
337       type: org.openecomp.resource.abstract.nodes.heat.oam_server
338       directives:
339       - substitutable
340       properties:
341         port_pcm_port_00_ip_requirements:
342         - ip_version: 4
343           ip_count_required:
344             is_required: true
345           floating_ip_count_required:
346             is_required: false
347         - ip_version: 6
348           ip_count_required:
349             is_required: false
350           floating_ip_count_required:
351             is_required: false
352         availabilityzone_name:
353           get_input: availabilityzone_name
354         oam_net_gw:
355           get_input: oam_net_gw
356         port_pcm_port_00_mac_requirements:
357           mac_count_required:
358             is_required: false
359         oam_flavor_name:
360           get_input: oam_flavor_name
361         security_group_name:
362           get_input: security_group_name
363         cps_net_ip:
364           get_input:
365           - cps_net_ips
366           - 0
367         port_pcm_port_01_ip_requirements:
368         - ip_version: 4
369           ip_count_required:
370             is_required: true
371           floating_ip_count_required:
372             is_required: false
373         - ip_version: 6
374           ip_count_required:
375             is_required: false
376           floating_ip_count_required:
377             is_required: false
378         oam_server_name:
379           get_input:
380           - oam_server_names
381           - 0
382         port_pcm_port_00_network_role_tag: cps
383         service_template_filter:
384           substitute_service_template: nested-oam_v0.1ServiceTemplate.yaml
385         port_pcm_port_01_mac_requirements:
386           mac_count_required:
387             is_required: false
388         pcm_vol:
389           get_input:
390           - pcm_volumes
391           - 0
392         oam_image_name:
393           get_input: oam_image_name
394         cps_net_name:
395           get_input: cps_net_name
396         cps_net_mask:
397           get_input: cps_net_mask
398         oam_net_ip:
399           get_input:
400           - oam_net_ips
401           - 0
402         oam_net_mask:
403           get_input: oam_net_mask
404         oam_net_name:
405           get_input: oam_net_name
406         port_pcm_port_01_network_role_tag: oam
407     server_pcm_001:
408       type: org.openecomp.resource.abstract.nodes.heat.pcm_server
409       directives:
410       - substitutable
411       properties:
412         metadata:
413           get_attribute:
414           - compute_port_0
415           - device_id
416         port_pcm_port_1_network_role_tag: oam
417         availabilityzone_name:
418           get_input: availabilityzone_name
419         port_pcm_port_0_ip_requirements:
420         - ip_version: 4
421           ip_count_required:
422             is_required: true
423           floating_ip_count_required:
424             is_required: false
425         - ip_version: 6
426           ip_count_required:
427             is_required: false
428           floating_ip_count_required:
429             is_required: false
430         oam_net_gw:
431           get_input: oam_net_gw
432         pcm_image_name:
433           get_input: pcm_image_name
434         security_group_name:
435           get_input: security_group_name
436         cps_net_ip:
437           get_input:
438           - cps_net_ips
439           - 0
440         port_pcm_port_1_mac_requirements:
441           mac_count_required:
442             is_required: false
443         pcm_flavor_name:
444           get_input: pcm_flavor_name
445         key_name:
446           get_attribute:
447           - server_oam_001
448           - accessIPv4
449         service_template_filter:
450           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
451         user_data_format:
452           get_attribute:
453           - server_pcm_002
454           - oam_net_gw
455         pcm_vol:
456           get_input:
457           - pcm_volumes
458           - 0
459         port_pcm_port_1_ip_requirements:
460         - ip_version: 4
461           ip_count_required:
462             is_required: true
463           floating_ip_count_required:
464             is_required: false
465         - ip_version: 6
466           ip_count_required:
467             is_required: false
468           floating_ip_count_required:
469             is_required: false
470         port_pcm_port_0_network_role_tag: cps
471         port_pcm_port_0_mac_requirements:
472           mac_count_required:
473             is_required: false
474         pcm_server_name:
475           get_input:
476           - pcm_server_names
477           - 0
478         cps_net_name:
479           get_input: cps_net_name
480         cps_net_mask:
481           get_input: cps_net_mask
482         oam_net_ip:
483           get_input:
484           - oam_net_ips
485           - 0
486         oam_net_mask:
487           get_input: oam_net_mask
488         oam_net_name:
489           get_input: oam_net_name
490     packet_mirror_network:
491       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
492       properties:
493         tenant_id:
494           get_attribute:
495           - abstract_compute
496           - compute_instance_name
497         network_name:
498           get_attribute:
499           - server_pcm_001
500           - instance_name
501     compute_port_0:
502       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
503       properties:
504         ip_requirements:
505         - ip_version: 4
506           ip_count_required:
507             is_required: false
508           floating_ip_count_required:
509             is_required: false
510         - ip_version: 6
511           ip_count_required:
512             is_required: false
513           floating_ip_count_required:
514             is_required: false
515         mac_requirements:
516           mac_count_required:
517             is_required: false
518         network:
519           get_input: net_name
520     abstract_compute:
521       type: org.openecomp.resource.abstract.nodes.compute
522       directives:
523       - substitutable
524       properties:
525         compute_compute_user_data_format:
526         - get_attribute:
527           - server_pcm_001
528           - oam_net_gw
529         vm_image_name:
530           get_input: compute_image_name
531         compute_compute_metadata:
532         - get_attribute:
533           - compute_port_0
534           - device_id
535         compute_compute_name:
536         - compute_name: null
537         vm_flavor_name:
538           compute_flavor_name: null
539         compute_compute_config_drive:
540         - get_attribute:
541           - compute_port_0
542           - tenant_id
543           - port_security_enabled
544           - device_id
545           - qos_policy
546           - allowed_address_pairs
547           - show
548           - device_owner
549           - network
550           - security_groups
551           - fixed_ips
552           - mac_address
553           - admin_state_up
554           - name
555           - subnets
556           - status
557         service_template_filter:
558           substitute_service_template: Nested_computeServiceTemplate.yaml
559           count: 1
560         index_value:
561           get_property:
562           - SELF
563           - service_template_filter
564           - index_value
565   groups:
566     hot-nimbus-pcm_v0.4_group:
567       type: org.openecomp.groups.heat.HeatStack
568       properties:
569         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
570         description: heat template that creates PCRF Cluman stack
571       members:
572       - server_pcm_002
573       - server_oam_001
574       - server_pcm_001
575       - packet_mirror_network
576       - compute_port_0
577       - abstract_compute