import tosca bug
[sdc.git] / openecomp-be / lib / openecomp-tosca-converter-lib / openecomp-tosca-converter-core / src / test / resources / mock / toscaConverter / conversionWithInt / in / Definitions / MainServiceTemplate.yaml
1 metadata: 
2   vendor: Huawei
3   csarVersion: v1.0
4   csarProvider: Huawei
5   id: vSBC_vP-CSCF
6   version: v1.0
7   csarType: NFAR
8   vnfdVersion: v1.0
9   vnfmType: hwvnfm
10 topology_template: 
11   node_templates: 
12     SCU: 
13       attributes: 
14         tosca_name: SCU
15       capabilities: 
16         virtual_compute: 
17           properties: 
18             virtual_memory: 
19               virtual_mem_size: 24G
20             requested_additional_capabilities: {}
21             virtual_cpu: 
22               num_virtual_cpu: 2
23       properties: 
24         configurable_properties: 
25           test: {"additional_vnfc_configurable_properties":{"aaa":"1"}}
26         name: SCU
27         descrption: the virtual machine of SCU
28       requirements: 
29       - virtual_storage: 
30           capability: virtual_storage
31           node: SCU_Storage
32 #      - local_storage: 
33 #          node: tosca.nodes.Root
34       type: tosca.nodes.nfv.VDU.Compute
35     LBU2SignalNet1: 
36       attributes: 
37         tosca_name: LBU2SignalNet1
38       properties: 
39         role: root
40         layer_protocol: ethernet
41       requirements: 
42       - virtual_binding: 
43           capability: virtual_binding
44           node: LBU
45 #      - virtual_link: 
46 #          node: tosca.nodes.Root
47       type: tosca.nodes.nfv.VduCpd
48     CCU_VduCpd_Intra1: 
49       attributes: 
50         tosca_name: CCU_VduCpd_Intra1
51       properties: 
52         role: root
53         layer_protocol: ipv4
54       requirements: 
55       - virtual_binding: 
56           capability: virtual_binding
57           node: CCU
58       - virtual_link: 
59           capability: virtual_linkable
60           node: Intranet1
61       type: tosca.nodes.nfv.VduCpd
62     LBU_VduCpd_Intra1: 
63       attributes: 
64         tosca_name: LBU_VduCpd_Intra1
65       properties: 
66         role: root
67         layer_protocol: ipv4
68       requirements: 
69       - virtual_binding: 
70           capability: virtual_binding
71           node: LBU
72       - virtual_link: 
73           capability: virtual_linkable
74           node: Intranet1
75       type: tosca.nodes.nfv.VduCpd
76     OMU2ManageNet: 
77       attributes: 
78         tosca_name: OMU2ManageNet
79       properties: 
80         role: root
81         layer_protocol: ipv4
82 #      requirements: 
83 #      - virtual_binding: 
84 #          node: tosca.nodes.Root
85 #      - virtual_link: 
86 #          node: tosca.nodes.Root
87       type: tosca.nodes.nfv.VduCpd
88     LBU_VduCpd_Intra2: 
89       attributes: 
90         tosca_name: LBU_VduCpd_Intra2
91       properties: 
92         role: root
93         layer_protocol: ipv4
94       requirements: 
95       - virtual_binding: 
96           capability: virtual_binding
97           node: LBU
98       - virtual_link: 
99           capability: virtual_linkable
100           node: Intranet2
101       type: tosca.nodes.nfv.VduCpd
102     OMU_Storage: 
103       attributes: 
104         tosca_name: OMU_Storage
105       properties: 
106         id: OMU_Storage
107         size_of_storage: 256G
108         rdma_enabled: false
109         type_of_storage: volume
110       type: tosca.nodes.nfv.VDU.VirtualStorage
111     HRU: 
112       attributes: 
113         tosca_name: HRU
114       capabilities: 
115         virtual_compute: 
116           properties: 
117             virtual_memory: 
118               virtual_mem_size: 12G
119             requested_additional_capabilities: {}
120             virtual_cpu: 
121               num_virtual_cpu: 3
122       properties: 
123         configurable_properties: 
124           test: {"additional_vnfc_configurable_properties":{"aaa":"1"}}
125         name: HRU
126         descrption: the virtual machine of HRU
127       requirements: 
128       - virtual_storage: 
129           capability: virtual_storage
130           node: HRU_Storage
131 #      - local_storage: 
132 #          node: tosca.nodes.Root
133       type: tosca.nodes.nfv.VDU.Compute
134     VPU_Storage: 
135       attributes: 
136         tosca_name: VPU_Storage
137       properties: 
138         id: VPU_Storage
139         size_of_storage: 4G
140         type_of_storage: volume
141       type: tosca.nodes.nfv.VDU.VirtualStorage
142     SCU_VduCpd_Intra1: 
143       attributes: 
144         tosca_name: SCU_VduCpd_Intra1
145       properties: 
146         role: root
147         layer_protocol: ipv4
148       requirements: 
149       - virtual_binding: 
150           capability: virtual_binding
151           node: SCU
152       - virtual_link: 
153           capability: virtual_linkable
154           node: Intranet1
155       type: tosca.nodes.nfv.VduCpd
156     HRU_VduCpd_Intra2: 
157       attributes: 
158         tosca_name: HRU_VduCpd_Intra2
159       properties: 
160         role: root
161         layer_protocol: ipv4
162       requirements: 
163       - virtual_binding: 
164           capability: virtual_binding
165           node: HRU
166       - virtual_link: 
167           capability: virtual_linkable
168           node: Intranet2
169       type: tosca.nodes.nfv.VduCpd
170     HRU_VduCpd_Intra1: 
171       attributes: 
172         tosca_name: HRU_VduCpd_Intra1
173       properties: 
174         role: root
175         layer_protocol: ipv4
176       requirements: 
177       - virtual_binding: 
178           capability: virtual_binding
179           node: HRU
180       - virtual_link: 
181           capability: virtual_linkable
182           node: Intranet1
183       type: tosca.nodes.nfv.VduCpd
184     CCU_Storage: 
185       attributes: 
186         tosca_name: CCU_Storage
187       properties: 
188         id: CCU_Storage
189         size_of_storage: 4G
190         type_of_storage: volume
191       type: tosca.nodes.nfv.VDU.VirtualStorage
192     BSU_VduCpd_Intra1: 
193       attributes: 
194         tosca_name: BSU_VduCpd_Intra1
195       properties: 
196         role: root
197         layer_protocol: ipv4
198       requirements: 
199       - virtual_binding: 
200           capability: virtual_binding
201           node: BSU
202       - virtual_link: 
203           capability: virtual_linkable
204           node: Intranet1
205       type: tosca.nodes.nfv.VduCpd
206     Intranet1: 
207       attributes: 
208         tosca_name: Intranet1
209       properties: 
210         vl_flavours: 
211           flavours: 
212             flavourId: test1
213         connectivity_type: 
214           layer_protocol: ipv4
215           flow_pattern: 
216       type: tosca.nodes.nfv.VnfVirtualLinkDesc
217     Intranet2: 
218       attributes: 
219         tosca_name: Intranet2
220       properties: 
221         vl_flavours: 
222           flavours: 
223             flavourId: test2
224         connectivity_type: 
225           layer_protocol: ipv4
226           flow_pattern: 
227       type: tosca.nodes.nfv.VnfVirtualLinkDesc
228     VPU: 
229       attributes: 
230         tosca_name: VPU
231       capabilities: 
232         virtual_compute: 
233           properties: 
234             virtual_memory: 
235               virtual_mem_size: 8G
236             requested_additional_capabilities: {}
237             virtual_cpu: 
238               num_virtual_cpu: 5
239       properties: 
240         configurable_properties: 
241           test: {"additional_vnfc_configurable_properties":{"aaa":"1"}}
242         name: VPU
243         descrption: the virtual machine of VPU
244       requirements: 
245       - virtual_storage: 
246           capability: virtual_storage
247           node: VPU_Storage
248 #      - local_storage: 
249 #          node: tosca.nodes.Root
250       type: tosca.nodes.nfv.VDU.Compute
251     LBU2SignalNet2: 
252       attributes: 
253         tosca_name: LBU2SignalNet2
254       properties: 
255         role: root
256         layer_protocol: ipv4
257       requirements: 
258       - virtual_binding: 
259           capability: virtual_binding
260           node: LBU
261 #      - virtual_link: 
262 #          node: tosca.nodes.Root
263       type: tosca.nodes.nfv.VduCpd
264     OMU_VduCpd_Intra1: 
265       attributes: 
266         tosca_name: OMU_VduCpd_Intra1
267       properties: 
268         role: root
269         layer_protocol: ipv4
270       requirements: 
271       - virtual_binding: 
272           capability: virtual_binding
273           node: OMU
274       - virtual_link: 
275           capability: virtual_linkable
276           node: Intranet1
277       type: tosca.nodes.nfv.VduCpd
278     LBU: 
279       attributes: 
280         tosca_name: LBU
281       capabilities: 
282         virtual_compute: 
283           properties: 
284             virtual_memory: 
285               virtual_mem_size: 24G
286             requested_additional_capabilities: {}
287             virtual_cpu: 
288               num_virtual_cpu: 4
289       properties: 
290         configurable_properties: 
291           test: {"additional_vnfc_configurable_properties":{"aaa":"1"}}
292         name: LBU
293         descrption: the virtual machine of LBU
294       requirements: 
295       - virtual_storage: 
296           capability: virtual_storage
297           node: LBU_Storage
298 #      - local_storage: 
299 #          node: tosca.nodes.Root
300       type: tosca.nodes.nfv.VDU.Compute
301     CMU_VduCpd_Intra1: 
302       attributes: 
303         tosca_name: CMU_VduCpd_Intra1
304       properties: 
305         role: root
306         layer_protocol: ipv4
307       requirements: 
308       - virtual_binding: 
309           capability: virtual_binding
310           node: CMU
311       - virtual_link: 
312           capability: virtual_linkable
313           node: Intranet1
314       type: tosca.nodes.nfv.VduCpd
315     CMU_Storage: 
316       attributes: 
317         tosca_name: CMU_Storage
318       properties: 
319         id: CMU_Storage
320         size_of_storage: 4G
321         type_of_storage: volume
322       type: tosca.nodes.nfv.VDU.VirtualStorage
323     BSU: 
324       attributes: 
325         tosca_name: BSU
326       capabilities: 
327         virtual_compute: 
328           properties: 
329             virtual_memory: 
330               virtual_mem_size: 8G
331             requested_additional_capabilities: {}
332             virtual_cpu: 
333               num_virtual_cpu: 1
334       properties: 
335         configurable_properties: 
336           test: {"additional_vnfc_configurable_properties":{"aaa":"1"}}
337         name: BSU
338         descrption: the virtual machine of BSU
339       requirements: 
340       - virtual_storage: 
341           capability: virtual_storage
342           node: BSU_Storage
343 #      - local_storage: 
344 #          node: tosca.nodes.Root
345       type: tosca.nodes.nfv.VDU.Compute
346     CMU: 
347       attributes: 
348         tosca_name: CMU
349       capabilities: 
350         virtual_compute: 
351           properties: 
352             virtual_memory: 
353               virtual_mem_size: 8G
354             requested_additional_capabilities: {}
355             virtual_cpu: 
356               num_virtual_cpu: 1
357       properties: 
358         configurable_properties: 
359           test: {"additional_vnfc_configurable_properties":{"aaa":"1"}}
360         name: CMU
361         descrption: the virtual machine of CMU
362       requirements: 
363       - virtual_storage: 
364           capability: virtual_storage
365           node: CMU_Storage
366 #      - local_storage: 
367 #          node: tosca.nodes.Root
368       type: tosca.nodes.nfv.VDU.Compute
369     SCU_Storage: 
370       attributes: 
371         tosca_name: SCU_Storage
372       properties: 
373         id: SCU_Storage
374         size_of_storage: 4G
375         type_of_storage: volume
376       type: tosca.nodes.nfv.VDU.VirtualStorage
377     HRU_Storage: 
378       attributes: 
379         tosca_name: HRU_Storage
380       properties: 
381         id: HRU_Storage
382         size_of_storage: 4G
383         type_of_storage: volume
384       type: tosca.nodes.nfv.VDU.VirtualStorage
385     CCU: 
386       attributes: 
387         tosca_name: CCU
388       capabilities: 
389         virtual_compute: 
390           properties: 
391             virtual_memory: 
392               virtual_mem_size: 16G
393             requested_additional_capabilities: {}
394             virtual_cpu: 
395               num_virtual_cpu: 2
396       properties: 
397         configurable_properties: 
398           test: {"additional_vnfc_configurable_properties":{"aaa":"1"}}
399         name: CCU
400         descrption: the virtual machine of CCU
401       requirements: 
402       - virtual_storage: 
403           capability: virtual_storage
404           node: CCU_Storage
405 #      - local_storage: 
406 #          node: tosca.nodes.Root
407       type: tosca.nodes.nfv.VDU.Compute
408     OMU: 
409       attributes: 
410         tosca_name: OMU
411       capabilities: 
412         virtual_compute: 
413           properties: 
414             virtual_memory: 
415               virtual_mem_size: 16G
416             requested_additional_capabilities: {}
417             virtual_cpu: 
418               num_virtual_cpu: 4
419       properties: 
420         configurable_properties: 
421           test: {"additional_vnfc_configurable_properties":{"aaa":"1"}}
422         name: OMU
423         descrption: the virtual machine of OMU
424       requirements: 
425       - virtual_storage: 
426           capability: virtual_storage
427           node: OMU_Storage
428 #      - local_storage: 
429 #          node: tosca.nodes.Root
430       type: tosca.nodes.nfv.VDU.Compute
431     BSU_Storage: 
432       attributes: 
433         tosca_name: BSU_Storage
434       properties: 
435         id: BSU_Storage
436         size_of_storage: 4G
437         type_of_storage: volume
438       type: tosca.nodes.nfv.VDU.VirtualStorage
439     UPIRU_VduCpd_Intra1: 
440       attributes: 
441         tosca_name: UPIRU_VduCpd_Intra1
442       properties: 
443         role: root
444         layer_protocol: ipv4
445       requirements: 
446       - virtual_binding: 
447           capability: virtual_binding
448           node: VPU
449       - virtual_link: 
450           capability: virtual_linkable
451           node: Intranet1
452       type: tosca.nodes.nfv.VduCpd
453     UPIRU_VduCpd_Intra2: 
454       attributes: 
455         tosca_name: UPIRU_VduCpd_Intra2
456       properties: 
457         role: root
458         layer_protocol: ipv4
459       requirements: 
460       - virtual_binding: 
461           capability: virtual_binding
462           node: VPU
463       - virtual_link: 
464           capability: virtual_linkable
465           node: Intranet2
466       type: tosca.nodes.nfv.VduCpd
467     HRU2MediaNet1: 
468       attributes: 
469         tosca_name: HRU2MediaNet1
470       properties: 
471         role: root
472         layer_protocol: ethernet
473       requirements: 
474       - virtual_binding: 
475           capability: virtual_binding
476           node: HRU
477 #      - virtual_link: 
478 #          node: tosca.nodes.Root
479       type: tosca.nodes.nfv.VduCpd
480     LBU_Storage: 
481       attributes: 
482         tosca_name: LBU_Storage
483       properties: 
484         id: LBU_Storage
485         size_of_storage: 4G
486         type_of_storage: volume
487       type: tosca.nodes.nfv.VDU.VirtualStorage
488     HRU2MediaNet2: 
489       attributes: 
490         tosca_name: HRU2MediaNet2
491       properties: 
492         role: root
493         layer_protocol: ipv4
494       requirements: 
495       - virtual_binding: 
496           capability: virtual_binding
497           node: HRU
498 #      - virtual_link: 
499 #          node: tosca.nodes.Root
500       type: tosca.nodes.nfv.VduCpd
501 #  substitution_mappings: 
502 #    node_type: tosca.nodes.nfv.VNF.vSBC
503 tosca_definitions_version: tosca_simple_yaml_1_0