70c417d5f46ec5518b802259d9435cbaa8d4a1ab
[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: PD 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-mog-0108-bs1271
21             source_type: HEAT
22             param_name: pd_flavor_name
23       type: string
24       description: flavor name of PD instance
25       default: m3.xlarge
26     dummy_net_name_1:
27       label: csb internal network name
28       hidden: false
29       immutable: false
30       annotations:
31         source:
32           type: org.openecomp.annotations.Source
33           properties:
34             vf_module_label:
35             - hot-mog-0108-bs1271
36             source_type: HEAT
37             param_name: dummy_net_name_1
38       type: string
39       description: csb internal network name
40       default: mog_dummy_1
41     dummy_net_name_0:
42       label: csb internal network name
43       hidden: false
44       immutable: false
45       annotations:
46         source:
47           type: org.openecomp.annotations.Source
48           properties:
49             vf_module_label:
50             - hot-mog-0108-bs1271
51             source_type: HEAT
52             param_name: dummy_net_name_0
53       type: string
54       description: csb internal network name
55       default: mog_dummy_0
56     dummy_net_cidr_0:
57       label: csb ineternal cidr
58       hidden: false
59       immutable: false
60       annotations:
61         source:
62           type: org.openecomp.annotations.Source
63           properties:
64             vf_module_label:
65             - hot-mog-0108-bs1271
66             source_type: HEAT
67             param_name: dummy_net_cidr_0
68       type: string
69       description: csb internal cidr
70       default: 169.254.1.0/24
71     availabilityzone_name:
72       label: availabilityzone name
73       hidden: false
74       immutable: false
75       annotations:
76         source:
77           type: org.openecomp.annotations.Source
78           properties:
79             vf_module_label:
80             - hot-mog-0108-bs1271
81             source_type: HEAT
82             param_name: availabilityzone_name
83       type: string
84       description: availabilityzone name
85       default: nova
86     sl_net_floating_ip:
87       label: mog sl net virtual ip
88       hidden: false
89       immutable: false
90       annotations:
91         source:
92           type: org.openecomp.annotations.Source
93           properties:
94             vf_module_label:
95             - hot-mog-0108-bs1271
96             source_type: HEAT
97             param_name: sl_net_floating_ip
98       type: string
99       description: mog sl net virtual ip
100       default: 107.239.45.6
101     repl_net_ips:
102       label: repl network ips
103       hidden: false
104       immutable: false
105       annotations:
106         source:
107           type: org.openecomp.annotations.Source
108           properties:
109             vf_module_label:
110             - hot-mog-0108-bs1271
111             source_type: HEAT
112             param_name: repl_net_ips
113       type: list
114       description: ips of repl network
115       default:
116       - 107.239.33.57
117       - 107.239.33.58
118       entry_schema:
119         type: string
120     sl_net_name:
121       label: silver lining network name
122       hidden: false
123       immutable: false
124       annotations:
125         source:
126           type: org.openecomp.annotations.Source
127           properties:
128             vf_module_label:
129             - hot-mog-0108-bs1271
130             source_type: HEAT
131             param_name: sl_net_name
132       type: string
133       description: id of the sl network
134       default: exn_protected_net_0
135     rx_net_floating_ip:
136       label: mog rx net virtual ip
137       hidden: false
138       immutable: false
139       annotations:
140         source:
141           type: org.openecomp.annotations.Source
142           properties:
143             vf_module_label:
144             - hot-mog-0108-bs1271
145             source_type: HEAT
146             param_name: rx_net_floating_ip
147       type: string
148       description: mog rx net virtual ip
149       default: 107.239.34.5
150     pd_image_name:
151       label: image name
152       hidden: false
153       immutable: false
154       annotations:
155         source:
156           type: org.openecomp.annotations.Source
157           properties:
158             vf_module_label:
159             - hot-mog-0108-bs1271
160             source_type: HEAT
161             param_name: pd_image_name
162       type: string
163       description: PD image name
164       default: MOG_BASE_8.0
165     pd_server_names:
166       label: PD server names
167       hidden: false
168       immutable: false
169       annotations:
170         source:
171           type: org.openecomp.annotations.Source
172           properties:
173             vf_module_label:
174             - hot-mog-0108-bs1271
175             source_type: HEAT
176             param_name: pd_server_names
177       type: list
178       description: name of the PD instance
179       default:
180       - ZRDM1MOGX01MPD001
181       - ZRDM1MOGX01MPD002
182       entry_schema:
183         type: string
184     sm_server_names:
185       label: SM server names
186       hidden: false
187       immutable: false
188       annotations:
189         source:
190           type: org.openecomp.annotations.Source
191           properties:
192             vf_module_label:
193             - hot-mog-0108-bs1271
194             source_type: HEAT
195             param_name: sm_server_names
196       type: list
197       description: name of the SM instance
198       default:
199       - ZRDM1MOGX01MSM001
200       - ZRDM1MOGX01MSM002
201       entry_schema:
202         type: string
203     csb_net_start:
204       label: csb internal start
205       hidden: false
206       immutable: false
207       annotations:
208         source:
209           type: org.openecomp.annotations.Source
210           properties:
211             vf_module_label:
212             - hot-mog-0108-bs1271
213             source_type: HEAT
214             param_name: csb_net_start
215       type: string
216       description: csb internal start
217       default: 172.26.0.1
218     dummy_net_netmask_0:
219       hidden: false
220       immutable: false
221       annotations:
222         source:
223           type: org.openecomp.annotations.Source
224           properties:
225             vf_module_label:
226             - hot-mog-0108-bs1271
227             source_type: HEAT
228             param_name: dummy_net_netmask_0
229       type: string
230       description: CSB internal network subnet mask
231       default: 255.255.255.0
232     cm_image_name:
233       label: image name
234       hidden: false
235       immutable: false
236       annotations:
237         source:
238           type: org.openecomp.annotations.Source
239           properties:
240             vf_module_label:
241             - hot-mog-0108-bs1271
242             source_type: HEAT
243             param_name: cm_image_name
244       type: string
245       description: CM image name
246       default: MOG_BASE_8.0
247     ran_net_floating_ip:
248       label: mog ran net virtual ip
249       hidden: false
250       immutable: false
251       annotations:
252         source:
253           type: org.openecomp.annotations.Source
254           properties:
255             vf_module_label:
256             - hot-mog-0108-bs1271
257             source_type: HEAT
258             param_name: ran_net_floating_ip
259       type: string
260       description: mog ran net virtual ip
261       default: 107.239.36.5
262     sm_flavor_name:
263       label: SM flavor name
264       hidden: false
265       immutable: false
266       annotations:
267         source:
268           type: org.openecomp.annotations.Source
269           properties:
270             vf_module_label:
271             - hot-mog-0108-bs1271
272             source_type: HEAT
273             param_name: sm_flavor_name
274       type: string
275       description: flavor name of SM instance
276       default: m2.xlarge4
277     ran_net_ips:
278       label: RAN network ips
279       hidden: false
280       immutable: false
281       annotations:
282         source:
283           type: org.openecomp.annotations.Source
284           properties:
285             vf_module_label:
286             - hot-mog-0108-bs1271
287             source_type: HEAT
288             param_name: ran_net_ips
289       type: list
290       description: RAN network ip
291       default:
292       - 107.239.36.3
293       - 107.239.36.4
294       entry_schema:
295         type: string
296     ps_image_name:
297       label: PS image name
298       hidden: false
299       immutable: false
300       annotations:
301         source:
302           type: org.openecomp.annotations.Source
303           properties:
304             vf_module_label:
305             - hot-mog-0108-bs1271
306             source_type: HEAT
307             param_name: ps_image_name
308       type: string
309       description: PS image name
310       default: MOG_BASE_8.0
311     dummy_net_end_0:
312       label: csb internal end
313       hidden: false
314       immutable: false
315       annotations:
316         source:
317           type: org.openecomp.annotations.Source
318           properties:
319             vf_module_label:
320             - hot-mog-0108-bs1271
321             source_type: HEAT
322             param_name: dummy_net_end_0
323       type: string
324       description: csb internal end
325       default: 169.254.1.254
326     oam_image_name:
327       label: image name
328       hidden: false
329       immutable: false
330       annotations:
331         source:
332           type: org.openecomp.annotations.Source
333           properties:
334             vf_module_label:
335             - hot-mog-0108-bs1271
336             source_type: HEAT
337             param_name: oam_image_name
338       type: string
339       description: OAM image name
340       default: MOG_BASE_8.0
341     oam_server_names:
342       label: OAM server names
343       hidden: false
344       immutable: false
345       annotations:
346         source:
347           type: org.openecomp.annotations.Source
348           properties:
349             vf_module_label:
350             - hot-mog-0108-bs1271
351             source_type: HEAT
352             param_name: oam_server_names
353       type: list
354       description: name of the OAM instance
355       default:
356       - ZRDM1MOGX01OAM001
357       - ZRDM1MOGX01OAM002
358       entry_schema:
359         type: string
360     oam_net_name:
361       label: oam network name
362       hidden: false
363       immutable: false
364       annotations:
365         source:
366           type: org.openecomp.annotations.Source
367           properties:
368             vf_module_label:
369             - hot-mog-0108-bs1271
370             source_type: HEAT
371             param_name: oam_net_name
372       type: string
373       description: name of the oam network
374       default: oam_protected_net_0
375     oam_net_ips:
376       label: internet network ips
377       hidden: false
378       immutable: false
379       annotations:
380         source:
381           type: org.openecomp.annotations.Source
382           properties:
383             vf_module_label:
384             - hot-mog-0108-bs1271
385             source_type: HEAT
386             param_name: oam_net_ips
387       type: list
388       description: ip of the OAM network
389       default:
390       - 107.250.172.213
391       - 107.250.172.214
392       - 107.250.172.215
393       - 107.250.172.216
394       - 107.250.172.217
395       entry_schema:
396         type: string
397     csb_net_cidr:
398       label: csb ineternal cidr
399       hidden: false
400       immutable: false
401       annotations:
402         source:
403           type: org.openecomp.annotations.Source
404           properties:
405             vf_module_label:
406             - hot-mog-0108-bs1271
407             source_type: HEAT
408             param_name: csb_net_cidr
409       type: string
410       description: csb internal cidr
411       default: 172.26.0.0/24
412     ran_net_name:
413       label: RAN network name
414       hidden: false
415       immutable: false
416       annotations:
417         source:
418           type: org.openecomp.annotations.Source
419           properties:
420             vf_module_label:
421             - hot-mog-0108-bs1271
422             source_type: HEAT
423             param_name: ran_net_name
424       type: string
425       description: RAN network name
426       default: gn_direct_net_0
427     cm_server_names:
428       label: CM server names
429       hidden: false
430       immutable: false
431       annotations:
432         source:
433           type: org.openecomp.annotations.Source
434           properties:
435             vf_module_label:
436             - hot-mog-0108-bs1271
437             source_type: HEAT
438             param_name: cm_server_names
439       type: list
440       description: name of the CM instance
441       default:
442       - ZRDM1MOGX01MCM001
443       entry_schema:
444         type: string
445     sl_net_ips:
446       label: silver lining network ips
447       hidden: false
448       immutable: false
449       annotations:
450         source:
451           type: org.openecomp.annotations.Source
452           properties:
453             vf_module_label:
454             - hot-mog-0108-bs1271
455             source_type: HEAT
456             param_name: sl_net_ips
457       type: list
458       description: ips of the sl network
459       default:
460       - 107.239.45.4
461       - 107.239.45.5
462       entry_schema:
463         type: string
464     rx_net_name:
465       label: Rx network name
466       hidden: false
467       immutable: false
468       annotations:
469         source:
470           type: org.openecomp.annotations.Source
471           properties:
472             vf_module_label:
473             - hot-mog-0108-bs1271
474             source_type: HEAT
475             param_name: rx_net_name
476       type: string
477       description: Rx network name
478       default: cor_direct_net_1
479     csb_net_netmask:
480       hidden: false
481       immutable: false
482       annotations:
483         source:
484           type: org.openecomp.annotations.Source
485           properties:
486             vf_module_label:
487             - hot-mog-0108-bs1271
488             source_type: HEAT
489             param_name: csb_net_netmask
490       type: string
491       description: CSB internal network subnet mask
492       default: 255.255.255.0
493     oam_flavor_name:
494       label: OAM flavor name
495       hidden: false
496       immutable: false
497       annotations:
498         source:
499           type: org.openecomp.annotations.Source
500           properties:
501             vf_module_label:
502             - hot-mog-0108-bs1271
503             source_type: HEAT
504             param_name: oam_flavor_name
505       type: string
506       description: flavor name of OAM instance
507       default: m3.xlarge
508     repl_net_name:
509       label: Replication network name
510       hidden: false
511       immutable: false
512       annotations:
513         source:
514           type: org.openecomp.annotations.Source
515           properties:
516             vf_module_label:
517             - hot-mog-0108-bs1271
518             source_type: HEAT
519             param_name: repl_net_name
520       type: string
521       description: name of the replication network
522       default: cor_direct_net_0
523     csb_net_end:
524       label: csb internal end
525       hidden: false
526       immutable: false
527       annotations:
528         source:
529           type: org.openecomp.annotations.Source
530           properties:
531             vf_module_label:
532             - hot-mog-0108-bs1271
533             source_type: HEAT
534             param_name: csb_net_end
535       type: string
536       description: csb internal end
537       default: 172.26.0.254
538     dummy_net_start_0:
539       label: csb internal start
540       hidden: false
541       immutable: false
542       annotations:
543         source:
544           type: org.openecomp.annotations.Source
545           properties:
546             vf_module_label:
547             - hot-mog-0108-bs1271
548             source_type: HEAT
549             param_name: dummy_net_start_0
550       type: string
551       description: csb internal start
552       default: 169.254.1.4
553     cm_flavor_name:
554       label: CM flavor name
555       hidden: false
556       immutable: false
557       annotations:
558         source:
559           type: org.openecomp.annotations.Source
560           properties:
561             vf_module_label:
562             - hot-mog-0108-bs1271
563             source_type: HEAT
564             param_name: cm_flavor_name
565       type: string
566       description: flavor name of CM instance
567       default: m3.xlarge
568     sm_image_name:
569       label: image name
570       hidden: false
571       immutable: false
572       annotations:
573         source:
574           type: org.openecomp.annotations.Source
575           properties:
576             vf_module_label:
577             - hot-mog-0108-bs1271
578             source_type: HEAT
579             param_name: sm_image_name
580       type: string
581       description: SM image name
582       default: MOG_BASE_8.0
583     csb_net_name:
584       label: csb internal network name
585       hidden: false
586       immutable: false
587       annotations:
588         source:
589           type: org.openecomp.annotations.Source
590           properties:
591             vf_module_label:
592             - hot-mog-0108-bs1271
593             source_type: HEAT
594             param_name: csb_net_name
595       type: string
596       description: csb internal network name
597       default: int_mog_csb_net
598     ps_server_names:
599       label: PS server names
600       hidden: false
601       immutable: false
602       annotations:
603         source:
604           type: org.openecomp.annotations.Source
605           properties:
606             vf_module_label:
607             - hot-mog-0108-bs1271
608             source_type: HEAT
609             param_name: ps_server_names
610       type: list
611       description: name of the PS instance
612       default:
613       - ZRDM1MOGX01MPS001
614       - ZRDM1MOGX01MPS002
615       - ZRDM1MOGX01MPS003
616       - ZRDM1MOGX01MPS004
617       entry_schema:
618         type: string
619     csb_net_ips:
620       hidden: false
621       immutable: false
622       annotations:
623         source:
624           type: org.openecomp.annotations.Source
625           properties:
626             vf_module_label:
627             - hot-mog-0108-bs1271
628             source_type: HEAT
629             param_name: csb_net_ips
630       type: list
631       description: mog_csb_net IP addresses
632       default:
633       - 172.26.0.10
634       - 172.26.0.11
635       - 172.26.0.12
636       - 172.26.0.13
637       - 172.26.0.14
638       - 172.26.0.15
639       - 172.26.0.16
640       - 172.26.0.17
641       - 172.26.0.18
642       - 172.26.0.19
643       - 172.26.0.20
644       entry_schema:
645         type: string
646     ps_flavor_name:
647       label: PS flavor name
648       hidden: false
649       immutable: false
650       annotations:
651         source:
652           type: org.openecomp.annotations.Source
653           properties:
654             vf_module_label:
655             - hot-mog-0108-bs1271
656             source_type: HEAT
657             param_name: ps_flavor_name
658       type: string
659       description: flavor name of PS instance
660       default: m3.xlarge
661     rx_net_ips:
662       label: Rx network ips
663       hidden: false
664       immutable: false
665       annotations:
666         source:
667           type: org.openecomp.annotations.Source
668           properties:
669             vf_module_label:
670             - hot-mog-0108-bs1271
671             source_type: HEAT
672             param_name: rx_net_ips
673       type: list
674       description: Rx network ips
675       default:
676       - 107.239.34.3
677       - 107.239.34.4
678       entry_schema:
679         type: string
680   node_templates:
681     abstract_pd_server:
682       type: org.openecomp.resource.abstract.nodes.pd_server
683       directives:
684       - substitutable
685       properties:
686         compute_pd_server_availability_zone:
687         - get_input: availabilityzone_name
688         compute_pd_server_name:
689         - get_input:
690           - pd_server_names
691           - 0
692         vm_flavor_name:
693           get_input: pd_flavor_name
694         port_pd01_port_mac_requirements:
695           mac_count_required:
696             is_required: false
697         vm_image_name:
698           get_input: pd_image_name
699         port_pd01_port_ip_requirements:
700         - ip_version: 4
701           ip_count_required:
702             is_required: false
703           floating_ip_count_required:
704             is_required: false
705         - ip_version: 6
706           ip_count_required:
707             is_required: false
708           floating_ip_count_required:
709             is_required: false
710         port_pd01_port_network:
711         - get_input: oam_net_name
712         port_pd01_port_subinterface_indicator:
713         - true
714         port_pd01_port_network_role_tag: oam
715         compute_pd_server_user_data_format:
716         - RAW
717         service_template_filter:
718           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
719           count: 1
720         index_value:
721           get_property:
722           - SELF
723           - service_template_filter
724           - index_value
725     abstract_ps_server:
726       type: org.openecomp.resource.abstract.nodes.ps_server
727       directives:
728       - substitutable
729       properties:
730         compute_ps_server_name:
731         - get_input:
732           - ps_server_names
733           - 0
734         compute_ps_server_availability_zone:
735         - get_input: availabilityzone_name
736         compute_ps_server_user_data_format:
737         - RAW
738         vm_flavor_name:
739           get_input: pd_flavor_name
740         port_ps01_port_subinterface_indicator:
741         - true
742         vm_image_name:
743           get_input: pd_image_name
744         port_ps01_port_mac_requirements:
745           mac_count_required:
746             is_required: false
747         port_ps01_port_network:
748         - get_input: oam_net_name
749         port_ps01_port_ip_requirements:
750         - ip_version: 4
751           ip_count_required:
752             is_required: false
753           floating_ip_count_required:
754             is_required: false
755         - ip_version: 6
756           ip_count_required:
757             is_required: false
758           floating_ip_count_required:
759             is_required: false
760         port_ps01_port_network_role_tag: oam
761         service_template_filter:
762           substitute_service_template: Nested_ps_serverServiceTemplate.yaml
763           count: 1
764         index_value:
765           get_property:
766           - SELF
767           - service_template_filter
768           - index_value
769   groups:
770     hot-mog-0108-bs1271_group:
771       type: org.openecomp.groups.heat.HeatStack
772       properties:
773         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
774         description: heat template that creates MOG stack
775       members:
776       - abstract_pd_server
777       - abstract_ps_server