[SDC-29] rebase continue work to align source
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / getAttr / getAttrOnlyResourceName / 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 node_types:
8   org.openecomp.resource.vfc.nodes.heat.FSB1:
9     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
10 topology_template:
11   inputs:
12     Internal2_name:
13       label: Internal2_name
14       hidden: false
15       immutable: false
16       type: string
17       description: Internal2_name
18     FSB1_volume_name:
19       label: FSB1_volume
20       hidden: false
21       immutable: false
22       type: string
23       description: FSB1_volume_1
24     jsa_cidr:
25       label: jsa_cidr
26       hidden: false
27       immutable: false
28       type: string
29       description: jsa_cidr
30     availabilityzone_name:
31       label: availabilityzone_name
32       hidden: false
33       immutable: false
34       type: string
35       description: availabilityzone_name
36     Internal2_external:
37       label: Internal2_external
38       hidden: false
39       immutable: false
40       type: string
41       description: Internal2_external
42     vipr_atm_name_0:
43       hidden: false
44       immutable: false
45       type: string
46       description: prop
47     Internal2_forwarding_mode:
48       label: Internal2_forwarding_mode
49       hidden: false
50       immutable: false
51       type: string
52       description: Internal2_forwarding_mode
53     pcrf_vnf_id:
54       hidden: false
55       immutable: false
56       type: string
57       description: prop
58     FSB_1_image:
59       label: MME_FSB1
60       hidden: false
61       immutable: false
62       type: string
63       description: MME_FSB1_15B-CP04-r5a01
64     fsb1-Internal1-mac:
65       label: FSB1_internal_mac
66       hidden: false
67       immutable: false
68       type: string
69       description: FSB1_internal_mac
70     pcm_server_name:
71       label: pcm_server_name
72       hidden: false
73       immutable: false
74       type: string
75       description: pcm_server_name
76     oam_net_name:
77       label: oam_net_name
78       hidden: false
79       immutable: false
80       type: string
81       description: oam_net_name
82     fsb1-Internal2-mac:
83       label: FSB1_internal_mac
84       hidden: false
85       immutable: false
86       type: string
87       description: FSB1_internal_mac
88     fsb_zone:
89       label: FSB1_zone
90       hidden: false
91       immutable: false
92       type: string
93       description: FSB1_zone
94     oam_net_gw:
95       hidden: false
96       immutable: false
97       type: string
98       description: prop
99     VMME_FSB1_boot_volume:
100       hidden: false
101       immutable: false
102       type: string
103     network_name:
104       hidden: false
105       immutable: false
106       type: string
107       description: prop
108     cps_net_ip:
109       hidden: false
110       immutable: false
111       type: string
112       description: prop
113     pcrf_psm_server_name:
114       label: pcrf_psm_server_name
115       hidden: false
116       immutable: false
117       type: string
118       description: pcrf_psm_server_name
119     pcm_flavor_name:
120       label: pcm_flavor_name
121       hidden: false
122       immutable: false
123       type: string
124       description: pcm_flavor_name
125     pcrf_cps_net_ip:
126       hidden: false
127       immutable: false
128       type: string
129       description: prop
130     fsb2-Internal1-mac:
131       label: FSB1_internal_mac
132       hidden: false
133       immutable: false
134       type: string
135       description: FSB1_internal_mac
136     pcrf_cps_net_name:
137       label: pcrf_cps_net_name
138       hidden: false
139       immutable: false
140       type: string
141       description: pcrf_cps_net_name
142     pcm_vol:
143       hidden: false
144       immutable: false
145       type: string
146       description: prop
147     Internal1_external:
148       label: Internal1_external
149       hidden: false
150       immutable: false
151       type: string
152       description: Internal1_external
153     Internal1_shared:
154       label: Internal1_shared
155       hidden: false
156       immutable: false
157       type: string
158       description: Internal1_shared
159     fsb1-name:
160       label: FSB1_name
161       hidden: false
162       immutable: false
163       type: string
164       description: FSB1_name
165     pcm_image_name:
166       label: pcm_image_name
167       hidden: false
168       immutable: false
169       type: string
170       description: pcm_image_name
171     pcrf_psm_flavor_name:
172       label: pcrf_psm_flavor_name
173       hidden: false
174       immutable: false
175       type: string
176       description: pcrf_psm_flavor_name
177     pcrf_psm_image_name:
178       label: pcrf_psm_image_name
179       hidden: false
180       immutable: false
181       type: string
182       description: pcrf_psm_image_name
183     snapshot01:
184       hidden: false
185       immutable: false
186       type: string
187       description: prop
188     volume_size:
189       label: volume size
190       hidden: false
191       immutable: false
192       type: float
193       description: my volume size 320GB
194     snapshot02:
195       hidden: false
196       immutable: false
197       type: string
198       description: prop
199     Internal2_shared:
200       label: Internal2_shared
201       hidden: false
202       immutable: false
203       type: string
204       description: Internal2_shared
205     cps_net_mask:
206       hidden: false
207       immutable: false
208       type: string
209       description: prop
210     Internal1_net_name:
211       label: Internal1_net_name
212       hidden: false
213       immutable: false
214       type: string
215       description: Internal1_net_name
216     fsb1-flavor:
217       label: FSB1_flavor
218       hidden: false
219       immutable: false
220       type: string
221       description: FSB1_flavor
222     pcm_vol_01:
223       hidden: false
224       immutable: false
225       type: string
226       description: prop
227     volume_type:
228       label: volume type
229       hidden: false
230       immutable: false
231       type: string
232       description: volume type Gold
233     fsb1-zone:
234       label: FSB1_zone
235       hidden: false
236       immutable: false
237       type: string
238       description: FSB1_zone
239     security_group_name:
240       hidden: false
241       immutable: false
242       type: list
243       description: CMAUI1, CMAUI2 server names
244       entry_schema:
245         type: string
246     jsa_net_name:
247       label: jsa_net_name
248       hidden: false
249       immutable: false
250       type: string
251       description: jsa_net_name
252     port_name:
253       hidden: false
254       immutable: false
255       type: string
256       description: prop
257     oam_net_id:
258       label: oam_net_id
259       hidden: false
260       immutable: false
261       type: string
262       description: oam_net_id
263     Internal1_forwarding_mode:
264       label: Internal1_forwarding_mode
265       hidden: false
266       immutable: false
267       type: string
268       description: Internal1_forwarding_mode
269     cps_net_name:
270       label: cps_net_name
271       hidden: false
272       immutable: false
273       type: string
274       description: cps_net_name
275     oam_net_ip:
276       hidden: false
277       immutable: false
278       type: string
279       description: prop
280     oam_net_mask:
281       hidden: false
282       immutable: false
283       type: string
284       description: prop
285     fsb1-oam-ip:
286       hidden: false
287       immutable: false
288       type: string
289       description: prop
290     pcrf_security_group_name:
291       hidden: false
292       immutable: false
293       type: list
294       description: CMAUI1, CMAUI2 server names
295       entry_schema:
296         type: string
297   node_templates:
298     VMI1:
299       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
300       properties:
301         name:
302           str_replace:
303             template: VM_NAME_PORT_3
304             params:
305               VM_NAME:
306                 get_input: vipr_atm_name_0
307         virtual_network_refs:
308         - get_input: network_name
309         virtual_machine_interface_properties:
310           service_interface_type: left
311         port_tuple_refs:
312         - get_input: port_name
313     FSB1:
314       type: org.openecomp.resource.vfc.nodes.heat.FSB1
315       properties:
316         flavor:
317           get_input: fsb1-flavor
318         availability_zone:
319           get_input: fsb_zone
320         name:
321           get_attribute:
322           - VMI1
323           - fq_name
324           - ip
325           - show
326           - sub_interface_vlan_tag
327           - mac
328           - port_tuple_refs
329           - ip_prefix
330           - address_mode
331           - mac_address
332           - ip_prefix_len
333           - name
334           - virtual_machine_interface_properties_service_interface_type
335           - allowed_address_pair
336           - virtual_network_refs
337           - virtual_machine_interface_properties
338           - virtual_machine_interface_allowed_address_pairs
339           - virtual_machine_interface_mac_addresses
340   groups:
341     ep-jsa_net_group:
342       type: org.openecomp.groups.heat.HeatStack
343       properties:
344         heat_file: ../Artifacts/ep-jsa_net.yaml
345         description: |
346           Version 2.0 02-09-2016 (Authors: Paul Phillips, pp2854 PROD)
347       members:
348       - VMI1
349       - FSB1