[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / unifiedComposition / inputoutputparamtype / 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     vipr_atm_name_0:
12       label: vipr_atm_name_0
13       hidden: false
14       immutable: false
15       type: string
16       description: vipr_atm_name_0
17     network_name:
18       label: network_name
19       hidden: false
20       immutable: false
21       type: string
22       description: network_name
23     port_name:
24       label: port_name
25       hidden: false
26       immutable: false
27       type: string
28       description: port_name
29     fsb_zone:
30       label: fsb_zone
31       hidden: false
32       immutable: false
33       type: string
34       description: fsb_zone
35     fsb1-flavor:
36       label: fsb1-flavor
37       hidden: false
38       immutable: false
39       type: string
40       description: fsb1-flavor
41     fsb1-Internal1-mac:
42       label: fsb1-flavor
43       hidden: false
44       immutable: false
45       type: string
46       description: fsb1-flavor
47   node_templates:
48     cmaui_volume_test_compute_properties:
49       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
50       properties:
51         availability_zone:
52           get_attribute:
53           - abstract_FSB1
54           - FSB1_availability_zone
55         backup_id:
56           get_attribute:
57           - abstract_FSB1
58           - FSB1_admin_pass
59         description:
60           get_attribute:
61           - abstract_FSB1
62           - FSB1_flavor
63         image:
64           get_attribute:
65           - abstract_FSB1
66           - FSB1_config_drive
67         metadata:
68           get_attribute:
69           - abstract_FSB1
70           - FSB1_metadata
71         multiattach:
72           get_attribute:
73           - abstract_FSB1
74           - FSB1_flavor_update_policy
75         name:
76           get_attribute:
77           - abstract_FSB1
78           - FSB1_image
79         read_only:
80           get_attribute:
81           - abstract_FSB1
82           - FSB1_image_update_policy
83         scheduler_hints:
84           get_attribute:
85           - abstract_FSB1
86           - FSB1_key_name
87         size:
88           get_attribute:
89           - abstract_FSB1
90           - FSB1_diskConfig
91         snapshot_id:
92           get_attribute:
93           - abstract_FSB1
94           - FSB1_name
95         source_volid:
96           get_attribute:
97           - abstract_FSB1
98           - FSB1_personality
99         volume_id:
100           get_attribute:
101           - abstract_FSB1
102           - FSB1_reservation_id
103         volume_type:
104           get_attribute:
105           - abstract_FSB1
106           - FSB1_scheduler_hints
107         delete_on_termination:
108           get_attribute:
109           - abstract_FSB1
110           - FSB1_security_groups
111         volume_size:
112           get_attribute:
113           - abstract_FSB1
114           - FSB1_software_config_transport
115         device_type:
116           get_attribute:
117           - abstract_FSB1
118           - FSB1_user_data_format
119         disk_bus:
120           get_attribute:
121           - abstract_FSB1
122           - FSB1_user_data_update_policy
123         swap_size:
124           get_attribute:
125           - abstract_FSB1
126           - FSB1_accessIPv4
127         image_id:
128           get_attribute:
129           - abstract_FSB1
130           - FSB1_accessIPv6
131         attachments:
132           get_attribute:
133           - abstract_FSB1
134           - FSB1_addresses
135         encrypted:
136           get_attribute:
137           - abstract_FSB1
138           - FSB1_console_urls
139         created_at:
140           get_attribute:
141           - abstract_FSB1
142           - FSB1_instance_name
143         display_description:
144           get_attribute:
145           - abstract_FSB1
146           - FSB1_show
147     cmaui_volume_test_neutron_port_properties:
148       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
149       properties:
150         availability_zone:
151           get_attribute:
152           - abstract_FSB1
153           - FSB1_FSB1_Port_ip_address
154         backup_id:
155           get_attribute:
156           - abstract_FSB1
157           - FSB1_FSB1_Port_network
158         image:
159           get_attribute:
160           - abstract_FSB1
161           - FSB1_FSB1_Port_admin_state_up
162         metadata:
163           get_attribute:
164           - abstract_FSB1
165           - FSB1_FSB1_Port_allowed_address_pairs
166         multiattach:
167           get_attribute:
168           - abstract_FSB1
169           - FSB1_FSB1_Port_binding:vnic_type
170         name:
171           get_attribute:
172           - abstract_FSB1
173           - FSB1_FSB1_Port_device_id
174         read_only:
175           get_attribute:
176           - abstract_FSB1
177           - FSB1_FSB1_Port_device_owner
178         scheduler_hints:
179           get_attribute:
180           - abstract_FSB1
181           - FSB1_FSB1_Port_fixed_ips
182         snapshot_id:
183           get_attribute:
184           - abstract_FSB1
185           - FSB1_FSB1_Port_name
186         source_volid:
187           get_attribute:
188           - abstract_FSB1
189           - FSB1_FSB1_Port_port_security_enabled
190         volume_id:
191           get_attribute:
192           - abstract_FSB1
193           - FSB1_FSB1_Port_qos_policy
194         volume_type:
195           get_attribute:
196           - abstract_FSB1
197           - FSB1_FSB1_Port_security_groups
198         delete_on_termination:
199           get_attribute:
200           - abstract_FSB1
201           - FSB1_FSB1_Port_value_specs
202         volume_size:
203           get_attribute:
204           - abstract_FSB1
205           - FSB1_FSB1_Port_replacement_policy
206         device_type:
207           get_attribute:
208           - abstract_FSB1
209           - FSB1_FSB1_Port_show
210         disk_bus:
211           get_attribute:
212           - abstract_FSB1
213           - FSB1_FSB1_Port_subnets
214         swap_size:
215           get_attribute:
216           - abstract_FSB1
217           - FSB1_FSB1_Port_tenant_id
218     cmaui_volume_test_contrailv2_VMI_properties:
219       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
220       properties:
221         availability_zone:
222           get_attribute:
223           - abstract_FSB1
224           - FSB1_VMI_virtual_machine_interface_mac_addresses
225         description:
226           get_attribute:
227           - abstract_FSB1
228           - FSB1_VMI_virtual_network_refs
229         image:
230           get_attribute:
231           - abstract_FSB1
232           - FSB1_VMI_port_tuple_refs
233         metadata:
234           get_attribute:
235           - abstract_FSB1
236           - FSB1_VMI_security_group_refs
237         multiattach:
238           get_attribute:
239           - abstract_FSB1
240           - FSB1_VMI_virtual_machine_interface_properties
241         name:
242           get_attribute:
243           - abstract_FSB1
244           - FSB1_VMI_name
245         size:
246           get_attribute:
247           - abstract_FSB1
248           - FSB1_VMI_virtual_machine_interface_allowed_address_pairs
249         created_at:
250           get_attribute:
251           - abstract_FSB1
252           - FSB1_VMI_fq_name
253         display_description:
254           get_attribute:
255           - abstract_FSB1
256           - FSB1_VMI_show
257     abstract_FSB1:
258       type: org.openecomp.resource.abstract.nodes.FSB1
259       directives:
260       - substitutable
261       properties:
262         port_FSB1_Port_network:
263         - Internal1-net
264         vm_flavor_name:
265           get_input: fsb1-flavor
266         port_FSB1_Port_mac_address:
267           get_input: fsb1-Internal1-mac
268         compute_FSB1_availability_zone:
269         - get_input: fsb_zone
270         port_VMI_port_tuple_refs:
271         - - get_input: port_name
272         port_VMI_name:
273         - str_replace:
274             template: VM_NAME_PORT_3
275             params:
276               VM_NAME:
277                 get_input: vipr_atm_name_0
278         port_VMI_virtual_network_refs:
279         - - get_input: network_name
280         service_template_filter:
281           substitute_service_template: Nested_FSB1ServiceTemplate.yaml
282           count: 1
283         index_value:
284           get_property:
285           - SELF
286           - service_template_filter
287           - index_value
288   groups:
289     ep-jsa_net_group:
290       type: org.openecomp.groups.heat.HeatStack
291       properties:
292         heat_file: ../Artifacts/ep-jsa_net.yaml
293         description: |
294           Version 2.0 02-09-2016 (Authors: Paul Phillips,  pp2854 PROD)
295       members:
296       - cmaui_volume_test_compute_properties
297       - cmaui_volume_test_neutron_port_properties
298       - cmaui_volume_test_contrailv2_VMI_properties
299       - abstract_FSB1
300   outputs:
301     simpleOutput1:
302       value:
303         get_attribute:
304         - FSB1
305         - accessIPv4
306     simpleOutput2:
307       value:
308         get_attribute:
309         - FSB1
310         - addresses
311         - key1
312     complexOutput1:
313       value:
314         get_attribute:
315         - FSB1
316         - addresses
317         - get_attribute:
318           - FSB2_Internal2
319           - tenant_id
320     complexOutput2:
321       description: cgi fw01 left interface Mac-Address
322       value:
323         get_attribute:
324         - FSB1_Port1
325         - device_owner
326         - get_input:
327           - CMAUI_volume_type
328           - get_attribute:
329             - FSB1
330             - user_data_format
331         - 0
332         - OS-EXT-IPS-MAC:mac_addr
333     complexOutput3:
334       description: cgi fw01 left interface Mac-Address
335       value:
336         get_input:
337         - a
338         - addresses
339         - get_input:
340           - CMAUI_volume_type
341           - get_attribute:
342             - FSB1
343             - accessIPv6
344         - 0
345         - OS-EXT-IPS-MAC:mac_addr