209135c25a49c8e709aaa346c69479d80f4ef442
[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     ps_server_main_1b_image:
12       hidden: false
13       immutable: false
14       annotations:
15         source:
16           type: org.openecomp.annotations.Source
17           properties:
18             vf_module_label:
19             - main
20             source_type: HEAT
21             param_name: ps_server_main_1b_image
22       type: string
23       description: Ps Image server
24     security_group_name:
25       hidden: false
26       immutable: false
27       annotations:
28         source:
29           type: org.openecomp.annotations.Source
30           properties:
31             vf_module_label:
32             - main
33             source_type: HEAT
34             param_name: security_group_name
35       type: string
36       description: security_group_name
37     cmaui_1c1_main_names:
38       hidden: false
39       immutable: false
40       annotations:
41         source:
42           type: org.openecomp.annotations.Source
43           properties:
44             vf_module_label:
45             - main
46             source_type: HEAT
47             param_name: cmaui_1c1_main_names
48       type: list
49       description: CMAUI1, CMAUI2 server names
50       entry_schema:
51         type: string
52     contrail_net_name:
53       hidden: false
54       immutable: false
55       annotations:
56         source:
57           type: org.openecomp.annotations.Source
58           properties:
59             vf_module_label:
60             - main
61             source_type: HEAT
62             param_name: contrail_net_name
63       type: string
64       description: network name of contrail v2 network
65     ps_server_main_1b_flavor:
66       hidden: false
67       immutable: false
68       annotations:
69         source:
70           type: org.openecomp.annotations.Source
71           properties:
72             vf_module_label:
73             - main
74             source_type: HEAT
75             param_name: ps_server_main_1b_flavor
76       type: string
77       description: Flavor for PS server
78     ps_server_main_1b_ips:
79       hidden: false
80       immutable: false
81       annotations:
82         source:
83           type: org.openecomp.annotations.Source
84           properties:
85             vf_module_label:
86             - main
87             source_type: HEAT
88             param_name: ps_server_main_1b_ips
89       type: string
90     jsa_net_name:
91       hidden: false
92       immutable: false
93       annotations:
94         source:
95           type: org.openecomp.annotations.Source
96           properties:
97             vf_module_label:
98             - main
99             source_type: HEAT
100             param_name: jsa_net_name
101       type: string
102       description: network name of jsa network
103     jsa_name:
104       hidden: false
105       immutable: false
106       annotations:
107         source:
108           type: org.openecomp.annotations.Source
109           properties:
110             vf_module_label:
111             - main
112             source_type: HEAT
113             param_name: jsa_name
114       type: string
115       description: network name of jsa log network
116     pd_server_main_1b_names:
117       hidden: false
118       immutable: false
119       annotations:
120         source:
121           type: org.openecomp.annotations.Source
122           properties:
123             vf_module_label:
124             - main
125             source_type: HEAT
126             param_name: pd_server_main_1b_names
127       type: list
128       description: PD server names
129       entry_schema:
130         type: string
131     cmaui_1c1_main_flavor:
132       hidden: false
133       immutable: false
134       annotations:
135         source:
136           type: org.openecomp.annotations.Source
137           properties:
138             vf_module_label:
139             - main
140             source_type: HEAT
141             param_name: cmaui_1c1_main_flavor
142       type: string
143       description: Flavor for CMAUI server
144     pd_server_main_1b_flavor:
145       hidden: false
146       immutable: false
147       annotations:
148         source:
149           type: org.openecomp.annotations.Source
150           properties:
151             vf_module_label:
152             - main
153             source_type: HEAT
154             param_name: pd_server_main_1b_flavor
155       type: string
156       description: Flavor for PD server
157     cmaui_1c1_main_image:
158       hidden: false
159       immutable: false
160       annotations:
161         source:
162           type: org.openecomp.annotations.Source
163           properties:
164             vf_module_label:
165             - main
166             source_type: HEAT
167             param_name: cmaui_1c1_main_image
168       type: string
169       description: Image for CMAUI server
170     ps_server_main_1b_names:
171       hidden: false
172       immutable: false
173       annotations:
174         source:
175           type: org.openecomp.annotations.Source
176           properties:
177             vf_module_label:
178             - main
179             source_type: HEAT
180             param_name: ps_server_main_1b_names
181       type: list
182       description: Ps server names
183       entry_schema:
184         type: string
185     availability_zone_0:
186       label: availabilityzone name
187       hidden: false
188       immutable: false
189       annotations:
190         source:
191           type: org.openecomp.annotations.Source
192           properties:
193             vf_module_label:
194             - main
195             source_type: HEAT
196             param_name: availability_zone_0
197       type: string
198       description: availabilityzone name
199     cmaui_oam_ips:
200       hidden: false
201       immutable: false
202       annotations:
203         source:
204           type: org.openecomp.annotations.Source
205           properties:
206             vf_module_label:
207             - main
208             source_type: HEAT
209             param_name: cmaui_oam_ips
210       type: string
211     pd_server_main_1b_image:
212       hidden: false
213       immutable: false
214       annotations:
215         source:
216           type: org.openecomp.annotations.Source
217           properties:
218             vf_module_label:
219             - main
220             source_type: HEAT
221             param_name: pd_server_main_1b_image
222       type: string
223       description: PD Image server
224     pd_server_main_1b_ips:
225       hidden: false
226       immutable: false
227       annotations:
228         source:
229           type: org.openecomp.annotations.Source
230           properties:
231             vf_module_label:
232             - main
233             source_type: HEAT
234             param_name: pd_server_main_1b_ips
235       type: string
236   node_templates:
237     abstract_pd_server_main_1b_1:
238       type: org.openecomp.resource.abstract.nodes.pd_server_main_1b_1
239       directives:
240       - substitutable
241       properties:
242         compute_pd_server_main_1b_availability_zone:
243         - get_input: availability_zone_0
244         port_pd_server_main_1b_port_replacement_policy:
245         - AUTO
246         port_pd_server_main_1b_port_mac_requirements:
247           mac_count_required:
248             is_required: false
249         vm_flavor_name:
250           get_input: pd_server_main_1b_flavor
251         vm_image_name:
252           get_input: pd_server_main_1b_image
253         compute_pd_server_main_1b_name:
254         - get_input:
255           - pd_server_main_1b_names
256           - 0
257         port_pd_server_main_1b_port_network:
258         - get_input: jsa_name
259         port_pd_server_main_1b_port_ip_requirements:
260         - ip_version: 4
261           ip_count_required:
262             is_required: true
263           floating_ip_count_required:
264             is_required: false
265         port_pd_server_main_1b_port_fixed_ips:
266         - ip_address:
267             get_input:
268             - pd_server_main_1b_ips
269             - 0
270         service_template_filter:
271           substitute_service_template: Nested_pd_server_main_1b_1ServiceTemplate.yaml
272           count: 1
273         index_value:
274           get_property:
275           - SELF
276           - service_template_filter
277           - index_value
278     abstract_ps_server_main_1b_1:
279       type: org.openecomp.resource.abstract.nodes.ps_server_main_1b_1
280       directives:
281       - substitutable
282       properties:
283         port_ps_server_main_1b_port_fixed_ips:
284         - ip_address:
285             get_input:
286             - ps_server_main_1b_ips
287             - 0
288         port_ps_server_main_1b_port_ip_requirements:
289         - ip_version: 4
290           ip_count_required:
291             is_required: true
292           floating_ip_count_required:
293             is_required: false
294         compute_ps_server_main_1b_availability_zone:
295         - get_input: availability_zone_0
296         vm_flavor_name:
297           get_input: ps_server_main_1b_flavor
298         vm_image_name:
299           get_input: ps_server_main_1b_image
300         compute_ps_server_main_1b_name:
301         - get_input:
302           - ps_server_main_1b_names
303           - 1
304         port_ps_server_main_1b_port_replacement_policy:
305         - AUTO
306         port_ps_server_main_1b_port_mac_requirements:
307           mac_count_required:
308             is_required: false
309         port_ps_server_main_1b_port_network:
310         - get_input: jsa_name
311         service_template_filter:
312           substitute_service_template: Nested_ps_server_main_1b_1ServiceTemplate.yaml
313           count: 1
314         index_value:
315           get_property:
316           - SELF
317           - service_template_filter
318           - index_value
319     test_nested1Level_duplicate_same_file:
320       type: org.openecomp.resource.abstract.nodes.heat.nested1
321       directives:
322       - substitutable
323       properties:
324         service_template_filter:
325           substitute_service_template: nested1ServiceTemplate.yaml
326         name:
327           get_input: security_group_name
328     test_nested_no_compute:
329       type: org.openecomp.resource.abstract.nodes.heat.nested1-no-compute
330       directives:
331       - substitutable
332       properties:
333         service_template_filter:
334           substitute_service_template: nested1-no-computeServiceTemplate.yaml
335         name:
336           get_input: jsa_net_name
337     abstract_cmaui_1c1_main_1:
338       type: org.openecomp.resource.abstract.nodes.cmaui_1c1_main_1
339       directives:
340       - substitutable
341       properties:
342         port_cmaui_port_fixed_ips:
343         - ip_address:
344             get_input:
345             - cmaui_oam_ips
346             - 0
347         port_cmaui_port_network:
348         - get_input: contrail_net_name
349         port_cmaui_port_network_role_tag: contrail
350         vm_flavor_name:
351           get_input: cmaui_1c1_main_flavor
352         port_cmaui_port_mac_requirements:
353           mac_count_required:
354             is_required: false
355         port_cmaui_port_replacement_policy:
356         - AUTO
357         vm_image_name:
358           get_input: cmaui_1c1_main_image
359         port_cmaui_port_ip_requirements:
360         - ip_version: 4
361           ip_count_required:
362             is_required: true
363           floating_ip_count_required:
364             is_required: false
365         compute_cmaui_1c1_main_availability_zone:
366         - get_input: availability_zone_0
367         - get_input: availability_zone_0
368         compute_cmaui_1c1_main_name:
369         - get_input:
370           - cmaui_1c1_main_names
371           - 1
372         - get_input:
373           - cmaui_1c1_main_names
374           - 0
375         service_template_filter:
376           substitute_service_template: Nested_cmaui_1c1_main_1ServiceTemplate.yaml
377           count: 2
378         index_value:
379           get_property:
380           - SELF
381           - service_template_filter
382           - index_value
383     test_nested_pattern_4_main_0:
384       type: org.openecomp.resource.abstract.nodes.heat.pd_server_pattern4
385       directives:
386       - substitutable
387       properties:
388         p1:
389           get_input: jsa_name
390         service_template_filter:
391           substitute_service_template: nested-pattern-4ServiceTemplate.yaml
392         port_pd_server_pattern4_port_01_mac_requirements:
393           mac_count_required:
394             is_required: false
395         port_pd_server_pattern4_port_02_ip_requirements:
396         - ip_version: 4
397           ip_count_required:
398             is_required: true
399           floating_ip_count_required:
400             is_required: false
401         port_pd_server_pattern4_port_02_mac_requirements:
402           mac_count_required:
403             is_required: false
404         port_pd_server_pattern4_port_01_ip_requirements:
405         - ip_version: 4
406           ip_count_required:
407             is_required: true
408           floating_ip_count_required:
409             is_required: false
410     test_nested1Level:
411       type: org.openecomp.resource.abstract.nodes.heat.nested1
412       directives:
413       - substitutable
414       properties:
415         service_template_filter:
416           substitute_service_template: nested1ServiceTemplate.yaml
417         name:
418           get_input: security_group_name
419   groups:
420     main_group:
421       type: org.openecomp.groups.heat.HeatStack
422       properties:
423         heat_file: ../Artifacts/main.yml
424         description: |
425           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
426       members:
427       - test_nested1Level
428       - test_nested1Level_duplicate_same_file
429       - test_nested_no_compute
430       - test_nested_pattern_4_main_0
431       - abstract_pd_server_main_1b_1
432       - abstract_ps_server_main_1b_1
433       - abstract_cmaui_1c1_main_1