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