6e9b546d6da2904c6c9b8898b5ae495bd9c6d604
[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     oam_net_ips:
27       label: internet 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-mog-0108-bs1271
36             source_type: HEAT
37             param_name: oam_net_ips
38       type: list
39       description: ip of the OAM network
40       default:
41       - 107.250.172.213
42       - 107.250.172.214
43       - 107.250.172.215
44       - 107.250.172.216
45       - 107.250.172.217
46       entry_schema:
47         type: string
48     dummy_net_name_1:
49       label: csb ineternal cidr
50       hidden: false
51       immutable: false
52       annotations:
53         source:
54           type: org.openecomp.annotations.Source
55           properties:
56             vf_module_label:
57             - hot-mog-0108-bs1271
58             source_type: HEAT
59             param_name: dummy_net_name_1
60       type: string
61       description: csb internal cidr
62       default: mog_dummy_1
63     cm_server_names:
64       label: CM server names
65       hidden: false
66       immutable: false
67       annotations:
68         source:
69           type: org.openecomp.annotations.Source
70           properties:
71             vf_module_label:
72             - hot-mog-0108-bs1271
73             source_type: HEAT
74             param_name: cm_server_names
75       type: list
76       description: name of the CM instance
77       default:
78       - ZRDM1MOGX01MCM001
79       entry_schema:
80         type: string
81     availabilityzone_name:
82       label: availabilityzone name
83       hidden: false
84       immutable: false
85       annotations:
86         source:
87           type: org.openecomp.annotations.Source
88           properties:
89             vf_module_label:
90             - hot-mog-0108-bs1271
91             source_type: HEAT
92             param_name: availabilityzone_name
93       type: string
94       description: availabilityzone name
95       default: nova
96     oam_flavor_name:
97       label: OAM flavor name
98       hidden: false
99       immutable: false
100       annotations:
101         source:
102           type: org.openecomp.annotations.Source
103           properties:
104             vf_module_label:
105             - hot-mog-0108-bs1271
106             source_type: HEAT
107             param_name: oam_flavor_name
108       type: string
109       description: flavor name of OAM instance
110     pd_image_name:
111       label: image 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-mog-0108-bs1271
120             source_type: HEAT
121             param_name: pd_image_name
122       type: string
123       description: PD image name
124       default: MOG_BASE_8.0
125     pd_server_names:
126       label: PD server names
127       hidden: false
128       immutable: false
129       annotations:
130         source:
131           type: org.openecomp.annotations.Source
132           properties:
133             vf_module_label:
134             - hot-mog-0108-bs1271
135             source_type: HEAT
136             param_name: pd_server_names
137       type: list
138       description: name of the PD instance
139       default:
140       - ZRDM1MOGX01MPD001
141       - ZRDM1MOGX01MPD002
142       - ' ZRDM1MOGX01MPD003'
143       entry_schema:
144         type: string
145     sm_server_names:
146       label: SM server names
147       hidden: false
148       immutable: false
149       annotations:
150         source:
151           type: org.openecomp.annotations.Source
152           properties:
153             vf_module_label:
154             - hot-mog-0108-bs1271
155             source_type: HEAT
156             param_name: sm_server_names
157       type: list
158       description: name of the SM instance
159       default:
160       - ZRDM1MOGX01MSM001
161       - ZRDM1MOGX01MSM002
162       entry_schema:
163         type: string
164     cm_flavor_name:
165       label: CM flavor name
166       hidden: false
167       immutable: false
168       annotations:
169         source:
170           type: org.openecomp.annotations.Source
171           properties:
172             vf_module_label:
173             - hot-mog-0108-bs1271
174             source_type: HEAT
175             param_name: cm_flavor_name
176       type: string
177       description: flavor name of CM instance
178       default: m3.xlarge
179     sm_image_name:
180       label: image name
181       hidden: false
182       immutable: false
183       annotations:
184         source:
185           type: org.openecomp.annotations.Source
186           properties:
187             vf_module_label:
188             - hot-mog-0108-bs1271
189             source_type: HEAT
190             param_name: sm_image_name
191       type: string
192       description: SM image name
193       default: MOG_BASE_8.0
194     cm_image_name:
195       label: image name
196       hidden: false
197       immutable: false
198       annotations:
199         source:
200           type: org.openecomp.annotations.Source
201           properties:
202             vf_module_label:
203             - hot-mog-0108-bs1271
204             source_type: HEAT
205             param_name: cm_image_name
206       type: string
207       description: CM image name
208       default: MOG_BASE_8.0
209     sm_flavor_name:
210       label: SM flavor name
211       hidden: false
212       immutable: false
213       annotations:
214         source:
215           type: org.openecomp.annotations.Source
216           properties:
217             vf_module_label:
218             - hot-mog-0108-bs1271
219             source_type: HEAT
220             param_name: sm_flavor_name
221       type: string
222       description: flavor name of SM instance
223       default: m2.xlarge4
224     ps_server_names:
225       label: PS server names
226       hidden: false
227       immutable: false
228       annotations:
229         source:
230           type: org.openecomp.annotations.Source
231           properties:
232             vf_module_label:
233             - hot-mog-0108-bs1271
234             source_type: HEAT
235             param_name: ps_server_names
236       type: list
237       description: name of the PS instance
238       default:
239       - ZRDM1MOGX01MPS001
240       - ZRDM1MOGX01MPS002
241       - ZRDM1MOGX01MPS003
242       - ZRDM1MOGX01MPS004
243       entry_schema:
244         type: string
245     ps_image_name:
246       label: PS image name
247       hidden: false
248       immutable: false
249       annotations:
250         source:
251           type: org.openecomp.annotations.Source
252           properties:
253             vf_module_label:
254             - hot-mog-0108-bs1271
255             source_type: HEAT
256             param_name: ps_image_name
257       type: string
258       description: PS image name
259       default: MOG_BASE_8.0
260     oam_image_name:
261       label: image name
262       hidden: false
263       immutable: false
264       annotations:
265         source:
266           type: org.openecomp.annotations.Source
267           properties:
268             vf_module_label:
269             - hot-mog-0108-bs1271
270             source_type: HEAT
271             param_name: oam_image_name
272       type: string
273       description: OAM image name
274     oam_server_names:
275       label: OAM server names
276       hidden: false
277       immutable: false
278       annotations:
279         source:
280           type: org.openecomp.annotations.Source
281           properties:
282             vf_module_label:
283             - hot-mog-0108-bs1271
284             source_type: HEAT
285             param_name: oam_server_names
286       type: list
287       description: name of the OAM instance
288       entry_schema:
289         type: string
290     ps_flavor_name:
291       label: PS flavor name
292       hidden: false
293       immutable: false
294       annotations:
295         source:
296           type: org.openecomp.annotations.Source
297           properties:
298             vf_module_label:
299             - hot-mog-0108-bs1271
300             source_type: HEAT
301             param_name: ps_flavor_name
302       type: string
303       description: flavor name of PS instance
304       default: m3.xlarge
305     oam_net_name:
306       label: oam network name
307       hidden: false
308       immutable: false
309       annotations:
310         source:
311           type: org.openecomp.annotations.Source
312           properties:
313             vf_module_label:
314             - hot-mog-0108-bs1271
315             source_type: HEAT
316             param_name: oam_net_name
317       type: string
318       description: name of the oam network
319       default: oam_protected_net_0
320   node_templates:
321     abstract_pd_server_2:
322       type: org.openecomp.resource.abstract.nodes.pd_server
323       directives:
324       - substitutable
325       properties:
326         compute_pd_server_availability_zone:
327         - get_attribute:
328           - abstract_pd_server_0
329           - pd_server_show
330         compute_pd_server_name:
331         - get_input:
332           - pd_server_names
333           - 2
334         vm_flavor_name:
335           get_attribute:
336           - network_policy_server
337           - name
338         port_pd01_port_mac_requirements:
339           mac_count_required:
340             is_required: false
341         vm_image_name:
342           get_input: pd_image_name
343         port_pd01_port_ip_requirements:
344         - ip_version: 4
345           ip_count_required:
346             is_required: false
347           floating_ip_count_required:
348             is_required: false
349         port_pd01_port_network:
350         - get_input: oam_net_name
351         port_pd01_port_subinterface_indicator:
352         - false
353         port_pd01_port_network_role_tag: oam
354         compute_pd_server_user_data_format:
355         - RAW
356         service_template_filter:
357           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
358           count: 1
359         index_value:
360           get_property:
361           - SELF
362           - service_template_filter
363           - index_value
364     network_policy_server:
365       type: org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules
366       properties:
367         name:
368           get_input: dummy_net_name_1
369     abstract_pd_server_0:
370       type: org.openecomp.resource.abstract.nodes.pd_server
371       directives:
372       - substitutable
373       properties:
374         compute_pd_server_availability_zone:
375         - get_input: availabilityzone_name
376         compute_pd_server_name:
377         - get_input:
378           - pd_server_names
379           - 0
380         vm_flavor_name:
381           get_attribute:
382           - network_policy_server
383           - name
384         port_pd01_port_mac_requirements:
385           mac_count_required:
386             is_required: false
387         vm_image_name:
388           get_input: pd_image_name
389         port_pd01_port_ip_requirements:
390         - ip_version: 4
391           ip_count_required:
392             is_required: false
393           floating_ip_count_required:
394             is_required: false
395         port_pd01_port_network:
396         - get_input: oam_net_name
397         port_pd01_port_subinterface_indicator:
398         - false
399         port_pd01_port_network_role_tag: oam
400         compute_pd_server_user_data_format:
401         - RAW
402         service_template_filter:
403           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
404           count: 1
405         index_value:
406           get_property:
407           - SELF
408           - service_template_filter
409           - index_value
410     abstract_pd_server_1:
411       type: org.openecomp.resource.abstract.nodes.pd_server
412       directives:
413       - substitutable
414       properties:
415         compute_pd_server_availability_zone:
416         - get_input: availabilityzone_name
417         compute_pd_server_name:
418         - get_input:
419           - pd_server_names
420           - 1
421         vm_flavor_name:
422           get_attribute:
423           - network_policy_server
424           - name
425         port_pd01_port_mac_requirements:
426           mac_count_required:
427             is_required: false
428         vm_image_name:
429           get_input: pd_image_name
430         port_pd01_port_ip_requirements:
431         - ip_version: 4
432           ip_count_required:
433             is_required: false
434           floating_ip_count_required:
435             is_required: false
436         port_pd01_port_network:
437         - get_input: oam_net_name
438         port_pd01_port_subinterface_indicator:
439         - false
440         port_pd01_port_network_role_tag: oam
441         compute_pd_server_user_data_format:
442         - RAW
443         service_template_filter:
444           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
445           count: 1
446         index_value:
447           get_property:
448           - SELF
449           - service_template_filter
450           - index_value
451   groups:
452     hot-mog-0108-bs1271_group:
453       type: org.openecomp.groups.heat.HeatStack
454       properties:
455         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
456         description: heat template that creates MOG stack
457       members:
458       - network_policy_server
459       - abstract_pd_server_0
460       - abstract_pd_server_1
461       - abstract_pd_server_2