[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / nested / multi / expectedoutputfiles / 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     oam_net_ips:
12       label: OAM network ips
13       hidden: false
14       immutable: false
15       type: list
16       description: OAM network ips
17       entry_schema:
18         type: string
19     availabilityzone_name:
20       label: availabilityzone name
21       hidden: false
22       immutable: false
23       type: string
24       description: availabilityzone name
25     oam_net_gw:
26       label: CPS network gateway
27       hidden: false
28       immutable: false
29       type: string
30       description: CPS network gateway
31     pcm_server_names:
32       label: PCRF CM server names
33       hidden: false
34       immutable: false
35       type: list
36       description: name of the PCRF CM instance
37       entry_schema:
38         type: string
39     pcm_image_name:
40       label: PCRF CM image name
41       hidden: false
42       immutable: false
43       type: string
44       description: PCRF CM image name
45     cps_net_ips:
46       label: CPS network ips
47       hidden: false
48       immutable: false
49       type: list
50       description: CPS network ips
51       entry_schema:
52         type: string
53     security_group_name:
54       label: security group name
55       hidden: false
56       immutable: false
57       type: string
58       description: the name of security group
59     pcm_volumes:
60       label: CPS Cluman Cinder Volume
61       hidden: false
62       immutable: false
63       type: list
64       description: CPS Cluman Cinder Volume
65       entry_schema:
66         type: string
67     pcm_flavor_name:
68       label: PCRF CM flavor name
69       hidden: false
70       immutable: false
71       type: string
72       description: flavor name of PCRF CM instance
73     cps_net_name:
74       label: CPS network name
75       hidden: false
76       immutable: false
77       type: string
78       description: CPS network name
79     cps_net_mask:
80       label: CPS network mask
81       hidden: false
82       immutable: false
83       type: string
84       description: CPS network mask
85     oam_net_mask:
86       label: CPS network mask
87       hidden: false
88       immutable: false
89       type: string
90       description: CPS network mask
91     oam_net_name:
92       label: OAM network name
93       hidden: false
94       immutable: false
95       type: string
96       description: OAM network name
97   node_templates:
98     server_pcm_002:
99       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
100       directives:
101       - substitutable
102       properties:
103         pcm_flavor_name:
104           get_input: pcm_flavor_name
105         service_template_filter:
106           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
107         availabilityzone_name:
108           get_input: availabilityzone_name
109         pcm_image_name:
110           get_input: pcm_image_name
111         pcm_vol:
112           get_input:
113           - pcm_volumes
114           - 0
115         security_group_name:
116           get_input: security_group_name
117         pcm_server_name:
118           get_input:
119           - pcm_server_names
120           - 0
121     server_pcm_001:
122       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
123       directives:
124       - substitutable
125       properties:
126         service_template_filter:
127           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
128         availabilityzone_name:
129           get_input: availabilityzone_name
130         oam_net_gw:
131           get_input: oam_net_gw
132         pcm_vol:
133           get_input:
134           - pcm_volumes
135           - 0
136         security_group_name:
137           get_input: security_group_name
138         cps_net_ip:
139           get_input:
140           - cps_net_ips
141           - 0
142         cps_net_name:
143           get_input: cps_net_name
144         cps_net_mask:
145           get_input: cps_net_mask
146         oam_net_ip:
147           get_input:
148           - oam_net_ips
149           - 0
150         oam_net_mask:
151           get_input: oam_net_mask
152         oam_net_name:
153           get_input: oam_net_name
154     server_pcm_004:
155       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1_2
156       directives:
157       - substitutable
158       properties:
159         service_template_filter:
160           substitute_service_template: nested-pcm_v0.1_2ServiceTemplate.yaml
161         availabilityzone_name:
162           get_input: availabilityzone_name
163         pcm_vol:
164           get_input:
165           - pcm_volumes
166           - 0
167         security_group_name:
168           get_input: security_group_name
169         cps_net_ip:
170           get_input:
171           - cps_net_ips
172           - 0
173         cps_net_name:
174           get_input: cps_net_name
175         cps_net_mask:
176           get_input: cps_net_mask
177     server_pcm_003:
178       type: org.openecomp.resource.abstract.nodes.heat.nested-pcm_v0.1
179       directives:
180       - substitutable
181       properties:
182         service_template_filter:
183           substitute_service_template: nested-pcm_v0.1ServiceTemplate.yaml
184         availabilityzone_name:
185           get_input: availabilityzone_name
186         pcm_vol:
187           get_input:
188           - pcm_volumes
189           - 0
190         security_group_name:
191           get_input: security_group_name
192         cps_net_ip:
193           get_input:
194           - cps_net_ips
195           - 0
196         cps_net_name:
197           get_input: cps_net_name
198         cps_net_mask:
199           get_input: cps_net_mask
200   groups:
201     hot-nimbus-pcm_v0.4_group:
202       type: org.openecomp.groups.heat.HeatStack
203       properties:
204         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4.yaml
205         description: heat template that creates PCRF Cluman stack
206       members:
207       - server_pcm_002
208       - server_pcm_001
209     hot-nimbus-pcm_v0.4_2_group:
210       type: org.openecomp.groups.heat.HeatStack
211       properties:
212         heat_file: ../Artifacts/hot-nimbus-pcm_v0.4_2.yaml
213         description: heat template that creates PCRF Cluman stack
214       members:
215       - server_pcm_004
216       - server_pcm_003