3abb3010c1ea7d0f05a411c7130b0cf98a7b0dd5
[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       default: m3.xlarge
111     pd_image_name:
112       label: image 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: pd_image_name
123       type: string
124       description: PD image name
125       default: MOG_BASE_8.0
126     pd_server_names:
127       label: PD server names
128       hidden: false
129       immutable: false
130       annotations:
131         source:
132           type: org.openecomp.annotations.Source
133           properties:
134             vf_module_label:
135             - hot-mog-0108-bs1271
136             source_type: HEAT
137             param_name: pd_server_names
138       type: list
139       description: name of the PD instance
140       default:
141       - ZRDM1MOGX01MPD001
142       - ZRDM1MOGX01MPD002
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       default: MOG_BASE_8.0
275     oam_server_names:
276       label: OAM server names
277       hidden: false
278       immutable: false
279       annotations:
280         source:
281           type: org.openecomp.annotations.Source
282           properties:
283             vf_module_label:
284             - hot-mog-0108-bs1271
285             source_type: HEAT
286             param_name: oam_server_names
287       type: list
288       description: name of the OAM instance
289       default:
290       - ZRDM1MOGX01OAM001
291       - ZRDM1MOGX01OAM002
292       entry_schema:
293         type: string
294     ps_flavor_name:
295       label: PS flavor name
296       hidden: false
297       immutable: false
298       annotations:
299         source:
300           type: org.openecomp.annotations.Source
301           properties:
302             vf_module_label:
303             - hot-mog-0108-bs1271
304             source_type: HEAT
305             param_name: ps_flavor_name
306       type: string
307       description: flavor name of PS instance
308       default: m3.xlarge
309     oam_net_name:
310       label: oam network name
311       hidden: false
312       immutable: false
313       annotations:
314         source:
315           type: org.openecomp.annotations.Source
316           properties:
317             vf_module_label:
318             - hot-mog-0108-bs1271
319             source_type: HEAT
320             param_name: oam_net_name
321       type: string
322       description: name of the oam network
323       default: oam_protected_net_0
324   node_templates:
325     abstract_pd_server:
326       type: org.openecomp.resource.abstract.nodes.pd_server
327       directives:
328       - substitutable
329       properties:
330         compute_pd_server_availability_zone:
331         - get_input: availabilityzone_name
332         compute_pd_server_name:
333         - get_input:
334           - pd_server_names
335           - 1
336         vm_flavor_name:
337           get_attribute:
338           - network_policy_server
339           - name
340         port_pd01_port_mac_requirements:
341           mac_count_required:
342             is_required: false
343         vm_image_name:
344           get_input: pd_image_name
345         port_pd01_port_ip_requirements:
346         - ip_version: 4
347           ip_count_required:
348             is_required: false
349           floating_ip_count_required:
350             is_required: false
351         - ip_version: 6
352           ip_count_required:
353             is_required: false
354           floating_ip_count_required:
355             is_required: false
356         port_pd01_port_network:
357         - get_input: oam_net_name
358         port_pd01_port_subinterface_indicator:
359         - false
360         port_pd01_port_network_role_tag: oam
361         compute_pd_server_user_data_format:
362         - RAW
363         service_template_filter:
364           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
365           count: 1
366         index_value:
367           get_property:
368           - SELF
369           - service_template_filter
370           - index_value
371     abstract_pd_server_2:
372       type: org.openecomp.resource.abstract.nodes.pd_server_2
373       directives:
374       - substitutable
375       properties:
376         compute_pd_server_availability_zone:
377         - get_input: availabilityzone_name
378         compute_pd_server_name:
379         - get_input:
380           - pd_server_names
381           - 2
382         vm_flavor_name:
383           get_attribute:
384           - network_policy_server
385           - name
386         port_pd01_port_2_network_role_tag: oam
387         port_pd01_port_3_ip_requirements:
388         - ip_version: 4
389           ip_count_required:
390             is_required: false
391           floating_ip_count_required:
392             is_required: false
393         - ip_version: 6
394           ip_count_required:
395             is_required: false
396           floating_ip_count_required:
397             is_required: false
398         port_pd01_port_3_network:
399         - get_input: oam_net_name
400         vm_image_name:
401           get_input: pd_image_name
402         port_pd01_port_2_subinterface_indicator:
403         - false
404         port_pd01_port_2_network:
405         - get_input: oam_net_name
406         port_pd01_port_2_mac_requirements:
407           mac_count_required:
408             is_required: false
409         compute_pd_server_user_data_format:
410         - RAW
411         port_pd01_port_2_ip_requirements:
412         - ip_version: 4
413           ip_count_required:
414             is_required: false
415           floating_ip_count_required:
416             is_required: false
417         - ip_version: 6
418           ip_count_required:
419             is_required: false
420           floating_ip_count_required:
421             is_required: false
422         port_pd01_port_3_mac_requirements:
423           mac_count_required:
424             is_required: false
425         port_pd01_port_3_subinterface_indicator:
426         - false
427         port_pd01_port_3_network_role_tag: oam
428         service_template_filter:
429           substitute_service_template: Nested_pd_server_2ServiceTemplate.yaml
430           count: 1
431         index_value:
432           get_property:
433           - SELF
434           - service_template_filter
435           - index_value
436     network_policy_server:
437       type: org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules
438       properties:
439         name:
440           get_input: dummy_net_name_1
441     abstract_pd_server_1:
442       type: org.openecomp.resource.abstract.nodes.pd_server_1
443       directives:
444       - substitutable
445       properties:
446         compute_pd_server_availability_zone:
447         - get_input: availabilityzone_name
448         compute_pd_server_name:
449         - get_input:
450           - pd_server_names
451           - 0
452         vm_flavor_name:
453           get_attribute:
454           - network_policy_server
455           - name
456         port_pd01_port_mac_requirements:
457           mac_count_required:
458             is_required: false
459         vm_image_name:
460           get_input: pd_image_name
461         port_pd01_port_ip_requirements:
462         - ip_version: 4
463           ip_count_required:
464             is_required: false
465           floating_ip_count_required:
466             is_required: false
467         - ip_version: 6
468           ip_count_required:
469             is_required: false
470           floating_ip_count_required:
471             is_required: false
472         port_pd01_port_network:
473         - get_attribute:
474           - network_policy_server
475           - name
476         port_pd01_port_subinterface_indicator:
477         - false
478         compute_pd_server_user_data_format:
479         - RAW
480         service_template_filter:
481           substitute_service_template: Nested_pd_server_1ServiceTemplate.yaml
482           count: 1
483         index_value:
484           get_property:
485           - SELF
486           - service_template_filter
487           - index_value
488   groups:
489     hot-mog-0108-bs1271_group:
490       type: org.openecomp.groups.heat.HeatStack
491       properties:
492         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
493         description: heat template that creates MOG stack
494       members:
495       - network_policy_server
496       - abstract_pd_server
497       - abstract_pd_server_1
498       - abstract_pd_server_2