863f4288ea101eab70b3bfbf848f8109bc97e289
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / twoSetsOfSingle / out / MainServiceTemplate.yaml
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       type: string
16       description: flavor name of PD instance
17       default: m3.xlarge
18     dummy_net_name_1:
19       label: csb internal network name
20       hidden: false
21       immutable: false
22       type: string
23       description: csb internal network name
24       default: mog_dummy_1
25     dummy_net_name_0:
26       label: csb internal network name
27       hidden: false
28       immutable: false
29       type: string
30       description: csb internal network name
31       default: mog_dummy_0
32     dummy_net_cidr_0:
33       label: csb ineternal cidr
34       hidden: false
35       immutable: false
36       type: string
37       description: csb internal cidr
38       default: 169.254.1.0/24
39     availabilityzone_name:
40       label: availabilityzone name
41       hidden: false
42       immutable: false
43       type: string
44       description: availabilityzone name
45       default: nova
46     sl_net_floating_ip:
47       label: mog sl net virtual ip
48       hidden: false
49       immutable: false
50       type: string
51       description: mog sl net virtual ip
52       default: 107.239.45.6
53     repl_net_ips:
54       label: repl network ips
55       hidden: false
56       immutable: false
57       type: list
58       description: ips of repl network
59       default:
60       - 107.239.33.57
61       - 107.239.33.58
62       entry_schema:
63         type: string
64     sl_net_name:
65       label: silver lining network name
66       hidden: false
67       immutable: false
68       type: string
69       description: id of the sl network
70       default: exn_protected_net_0
71     rx_net_floating_ip:
72       label: mog rx net virtual ip
73       hidden: false
74       immutable: false
75       type: string
76       description: mog rx net virtual ip
77       default: 107.239.34.5
78     pd_image_name:
79       label: image name
80       hidden: false
81       immutable: false
82       type: string
83       description: PD image name
84       default: MOG_BASE_8.0
85     pd_server_names:
86       label: PD server names
87       hidden: false
88       immutable: false
89       type: list
90       description: name of the PD instance
91       default:
92       - ZRDM1MOGX01MPD001
93       - ZRDM1MOGX01MPD002
94       entry_schema:
95         type: string
96     sm_server_names:
97       label: SM server names
98       hidden: false
99       immutable: false
100       type: list
101       description: name of the SM instance
102       default:
103       - ZRDM1MOGX01MSM001
104       - ZRDM1MOGX01MSM002
105       entry_schema:
106         type: string
107     csb_net_start:
108       label: csb internal start
109       hidden: false
110       immutable: false
111       type: string
112       description: csb internal start
113       default: 172.26.0.1
114     dummy_net_netmask_0:
115       hidden: false
116       immutable: false
117       type: string
118       description: CSB internal network subnet mask
119       default: 255.255.255.0
120     cm_image_name:
121       label: image name
122       hidden: false
123       immutable: false
124       type: string
125       description: CM image name
126       default: MOG_BASE_8.0
127     ran_net_floating_ip:
128       label: mog ran net virtual ip
129       hidden: false
130       immutable: false
131       type: string
132       description: mog ran net virtual ip
133       default: 107.239.36.5
134     sm_flavor_name:
135       label: SM flavor name
136       hidden: false
137       immutable: false
138       type: string
139       description: flavor name of SM instance
140       default: m2.xlarge4
141     ran_net_ips:
142       label: RAN network ips
143       hidden: false
144       immutable: false
145       type: list
146       description: RAN network ip
147       default:
148       - 107.239.36.3
149       - 107.239.36.4
150       entry_schema:
151         type: string
152     ps_image_name:
153       label: PS image name
154       hidden: false
155       immutable: false
156       type: string
157       description: PS image name
158       default: MOG_BASE_8.0
159     dummy_net_end_0:
160       label: csb internal end
161       hidden: false
162       immutable: false
163       type: string
164       description: csb internal end
165       default: 169.254.1.254
166     oam_image_name:
167       label: image name
168       hidden: false
169       immutable: false
170       type: string
171       description: OAM image name
172       default: MOG_BASE_8.0
173     oam_server_names:
174       label: OAM server names
175       hidden: false
176       immutable: false
177       type: list
178       description: name of the OAM instance
179       default:
180       - ZRDM1MOGX01OAM001
181       - ZRDM1MOGX01OAM002
182       entry_schema:
183         type: string
184     oam_net_name:
185       label: oam network name
186       hidden: false
187       immutable: false
188       type: string
189       description: name of the oam network
190       default: oam_protected_net_0
191     oam_net_ips:
192       label: internet network ips
193       hidden: false
194       immutable: false
195       type: list
196       description: ip of the OAM network
197       default:
198       - 107.250.172.213
199       - 107.250.172.214
200       - 107.250.172.215
201       - 107.250.172.216
202       - 107.250.172.217
203       entry_schema:
204         type: string
205     csb_net_cidr:
206       label: csb ineternal cidr
207       hidden: false
208       immutable: false
209       type: string
210       description: csb internal cidr
211       default: 172.26.0.0/24
212     ran_net_name:
213       label: RAN network name
214       hidden: false
215       immutable: false
216       type: string
217       description: RAN network name
218       default: gn_direct_net_0
219     cm_server_names:
220       label: CM server names
221       hidden: false
222       immutable: false
223       type: list
224       description: name of the CM instance
225       default:
226       - ZRDM1MOGX01MCM001
227       entry_schema:
228         type: string
229     sl_net_ips:
230       label: silver lining network ips
231       hidden: false
232       immutable: false
233       type: list
234       description: ips of the sl network
235       default:
236       - 107.239.45.4
237       - 107.239.45.5
238       entry_schema:
239         type: string
240     rx_net_name:
241       label: Rx network name
242       hidden: false
243       immutable: false
244       type: string
245       description: Rx network name
246       default: cor_direct_net_1
247     csb_net_netmask:
248       hidden: false
249       immutable: false
250       type: string
251       description: CSB internal network subnet mask
252       default: 255.255.255.0
253     oam_flavor_name:
254       label: OAM flavor name
255       hidden: false
256       immutable: false
257       type: string
258       description: flavor name of OAM instance
259       default: m3.xlarge
260     repl_net_name:
261       label: Replication network name
262       hidden: false
263       immutable: false
264       type: string
265       description: name of the replication network
266       default: cor_direct_net_0
267     csb_net_end:
268       label: csb internal end
269       hidden: false
270       immutable: false
271       type: string
272       description: csb internal end
273       default: 172.26.0.254
274     dummy_net_start_0:
275       label: csb internal start
276       hidden: false
277       immutable: false
278       type: string
279       description: csb internal start
280       default: 169.254.1.4
281     cm_flavor_name:
282       label: CM flavor name
283       hidden: false
284       immutable: false
285       type: string
286       description: flavor name of CM instance
287       default: m3.xlarge
288     sm_image_name:
289       label: image name
290       hidden: false
291       immutable: false
292       type: string
293       description: SM image name
294       default: MOG_BASE_8.0
295     csb_net_name:
296       label: csb internal network name
297       hidden: false
298       immutable: false
299       type: string
300       description: csb internal network name
301       default: int_mog_csb_net
302     ps_server_names:
303       label: PS server names
304       hidden: false
305       immutable: false
306       type: list
307       description: name of the PS instance
308       default:
309       - ZRDM1MOGX01MPS001
310       - ZRDM1MOGX01MPS002
311       - ZRDM1MOGX01MPS003
312       - ZRDM1MOGX01MPS004
313       entry_schema:
314         type: string
315     csb_net_ips:
316       hidden: false
317       immutable: false
318       type: list
319       description: mog_csb_net IP addresses
320       default:
321       - 172.26.0.10
322       - 172.26.0.11
323       - 172.26.0.12
324       - 172.26.0.13
325       - 172.26.0.14
326       - 172.26.0.15
327       - 172.26.0.16
328       - 172.26.0.17
329       - 172.26.0.18
330       - 172.26.0.19
331       - 172.26.0.20
332       entry_schema:
333         type: string
334     ps_flavor_name:
335       label: PS flavor name
336       hidden: false
337       immutable: false
338       type: string
339       description: flavor name of PS instance
340       default: m3.xlarge
341     rx_net_ips:
342       label: Rx network ips
343       hidden: false
344       immutable: false
345       type: list
346       description: Rx network ips
347       default:
348       - 107.239.34.3
349       - 107.239.34.4
350       entry_schema:
351         type: string
352   node_templates:
353     abstract_pd_server:
354       type: org.openecomp.resource.abstract.nodes.pd_server
355       directives:
356       - substitutable
357       properties:
358         compute_pd_server_availability_zone:
359         - get_input: availabilityzone_name
360         compute_pd_server_name:
361         - get_input:
362           - pd_server_names
363           - 0
364         vm_flavor_name:
365           get_input: pd_flavor_name
366         port_pd01_port_mac_requirements:
367           mac_count_required:
368             is_required: false
369         vm_image_name:
370           get_input: pd_image_name
371         port_pd01_port_ip_requirements:
372         - - ip_version: 4
373             ip_count_required:
374               is_required: false
375             floating_ip_count_required:
376               is_required: false
377         port_pd01_port_network:
378         - get_input: oam_net_name
379         port_pd01_port_network_role_tag: oam
380         compute_pd_server_user_data_format:
381         - RAW
382         service_template_filter:
383           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
384           count: 1
385         index_value:
386           get_property:
387           - SELF
388           - service_template_filter
389           - index_value
390     abstract_ps_server:
391       type: org.openecomp.resource.abstract.nodes.ps_server
392       directives:
393       - substitutable
394       properties:
395         compute_ps_server_name:
396         - get_input:
397           - ps_server_names
398           - 0
399         compute_ps_server_availability_zone:
400         - get_input: availabilityzone_name
401         compute_ps_server_user_data_format:
402         - RAW
403         vm_flavor_name:
404           get_input: pd_flavor_name
405         vm_image_name:
406           get_input: pd_image_name
407         port_ps01_port_mac_requirements:
408           mac_count_required:
409             is_required: false
410         port_ps01_port_network:
411         - get_input: oam_net_name
412         port_ps01_port_ip_requirements:
413         - - ip_version: 4
414             ip_count_required:
415               is_required: false
416             floating_ip_count_required:
417               is_required: false
418         port_ps01_port_network_role_tag: oam
419         service_template_filter:
420           substitute_service_template: Nested_ps_serverServiceTemplate.yaml
421           count: 1
422         index_value:
423           get_property:
424           - SELF
425           - service_template_filter
426           - index_value
427   groups:
428     hot-mog-0108-bs1271_group:
429       type: org.openecomp.groups.heat.HeatStack
430       properties:
431         heat_file: ../Artifacts/hot-mog-0108-bs1271.yml
432         description: heat template that creates MOG stack
433       members:
434       - abstract_pd_server
435       - abstract_ps_server