dff6ff63352a5578ab7887407bce7486f5731caf
[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     ps_server_names:
27       label: PD server names
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: ps_server_names
38       type: list
39       description: name of the PD instance
40       default:
41       - ZRDM1MOGX01MPS001
42       - ZRDM1MOGX01MPS002
43       - ZRDM1MOGX01MPS003
44       - ZRDM1MOGX01MPS004
45       entry_schema:
46         type: string
47     availabilityzone_name:
48       label: availabilityzone name
49       hidden: false
50       immutable: false
51       annotations:
52         source:
53           type: org.openecomp.annotations.Source
54           properties:
55             vf_module_label:
56             - hot-mog-0108-bs1271
57             source_type: HEAT
58             param_name: availabilityzone_name
59       type: string
60       description: availabilityzone name
61       default: nova
62     ps_image_name:
63       label: image name
64       hidden: false
65       immutable: false
66       annotations:
67         source:
68           type: org.openecomp.annotations.Source
69           properties:
70             vf_module_label:
71             - hot-mog-0108-bs1271
72             source_type: HEAT
73             param_name: ps_image_name
74       type: string
75       description: PD image name
76       default: MOG_BASE_8.0
77     pd_image_name:
78       label: 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-mog-0108-bs1271
87             source_type: HEAT
88             param_name: pd_image_name
89       type: string
90       description: PD image name
91       default: MOG_BASE_8.0
92     pd_server_names:
93       label: PD server names
94       hidden: false
95       immutable: false
96       annotations:
97         source:
98           type: org.openecomp.annotations.Source
99           properties:
100             vf_module_label:
101             - hot-mog-0108-bs1271
102             source_type: HEAT
103             param_name: pd_server_names
104       type: list
105       description: name of the PD instance
106       default:
107       - ZRDM1MOGX01MPD001
108       - ZRDM1MOGX01MPD002
109       entry_schema:
110         type: string
111     ps_flavor_name:
112       label: PD flavor name
113       hidden: false
114       immutable: false
115       annotations:
116         source:
117           type: org.openecomp.annotations.Source
118           properties:
119             vf_module_label:
120             - hot-mog-0108-bs1271
121             source_type: HEAT
122             param_name: ps_flavor_name
123       type: string
124       description: flavor name of PD instance
125       default: m3.xlarge
126   node_templates:
127     abstract_pd_server:
128       type: org.openecomp.resource.abstract.nodes.pd_server
129       directives:
130       - substitutable
131       properties:
132         compute_pd_server_availability_zone:
133         - get_input: availabilityzone_name
134         - get_input: availabilityzone_name
135         compute_pd_server_name:
136         - get_input:
137           - pd_server_names
138           - 1
139         - get_input:
140           - pd_server_names
141           - 0
142         port_pd01_port_replacement_policy:
143         - AUTO
144         vm_flavor_name:
145           get_input: pd_flavor_name
146         port_pd01_port_mac_requirements:
147           mac_count_required:
148             is_required: false
149         vm_image_name:
150           get_input: pd_image_name
151         port_pd01_port_ip_requirements:
152         - ip_version: 4
153           ip_count_required:
154             is_required: false
155           floating_ip_count_required:
156             is_required: false
157         port_pd01_port_network:
158         - Network-PD-1
159         - Network-PD-0
160         compute_pd_server_user_data_format:
161         - null
162         - RAW
163         service_template_filter:
164           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
165           count: 2
166         index_value:
167           get_property:
168           - SELF
169           - service_template_filter
170           - index_value
171     abstract_ps_server:
172       type: org.openecomp.resource.abstract.nodes.ps_server
173       directives:
174       - substitutable
175       properties:
176         compute_ps_server_name:
177         - get_input:
178           - ps_server_names
179           - 0
180         - get_input:
181           - ps_server_names
182           - 1
183         compute_ps_server_availability_zone:
184         - get_input: availabilityzone_name
185         - get_input: availabilityzone_name
186         compute_ps_server_user_data_format:
187         - null
188         - RAW
189         vm_flavor_name:
190           get_input: ps_flavor_name
191         vm_image_name:
192           get_input: ps_image_name
193         port_ps01_port_replacement_policy:
194         - AUTO
195         port_ps01_port_mac_requirements:
196           mac_count_required:
197             is_required: false
198         port_ps01_port_network:
199         - Network-PS-0
200         - Network-PS-1
201         port_ps01_port_ip_requirements:
202         - ip_version: 4
203           ip_count_required:
204             is_required: false
205           floating_ip_count_required:
206             is_required: false
207         service_template_filter:
208           substitute_service_template: Nested_ps_serverServiceTemplate.yaml
209           count: 2
210         index_value:
211           get_property:
212           - SELF
213           - service_template_filter
214           - index_value
215   groups:
216     hot-mog-0108-bs1271_group:
217       type: org.openecomp.groups.heat.HeatStack
218       properties:
219         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
220         description: heat template that creates MOG stack
221       members:
222       - abstract_pd_server
223       - abstract_ps_server