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