a5e18eec6ef1970f004c214aa4cf6985dfcd0e6a
[vfc/nfvo/driver/vnfm/svnfm.git] / nokiav2 / driver / src / test / resources / unittests / packageconverter / nodes.vnfd.cbam.yaml
1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0_nokia
2
3 topology_template:
4   substitution_mappings:
5     node_type: tosca.nodes.nfv.VNF
6     properties:
7       descriptor_version: '1.0'
8       provider: myProvider
9       product_name: 'myName'
10       software_version: '2.0'
11       product_info_name: product_info_name
12   node_templates:
13     vduNode:
14       type: tosca.nodes.nfv.VDU
15       properties:
16         description: myVduDesc
17       requirements:
18         - virtual_compute: myCompute
19         - virtual_storage: myStorage1
20         - virtual_storage: myStorage2
21
22
23     myCompute:
24       type: tosca.nodes.nfv.VirtualCompute
25       properties:
26         virtual_memory:
27           virtual_mem_size: 8192 MB
28         virtual_cpu:
29           num_virtual_cpu: 4
30           virtual_cpu_clock: 1234 Mhz
31     myStorage1:
32       type: tosca.nodes.nfv.VirtualStorage
33       properties:
34         id: myStorage1
35         size_of_storage: 1G
36
37     myStorage2:
38       type: tosca.nodes.nfv.VirtualStorage
39       properties:
40         id: myStorage2
41         size_of_storage: 2G
42
43     myNetwork1:
44       type: tosca.nodes.nfv.VL
45
46     myNetwork2:
47       type: tosca.nodes.nfv.VL
48
49     icpWithOutEcp:
50       type: tosca.nodes.nfv.ICP
51       properties:
52         layer_protocol: ipv4
53         description: myDescription
54       requirements:
55         - virtual_binding: vduNode
56         - virtual_link: myNetwork1
57
58     icpWithEcp:
59       type: tosca.nodes.nfv.ICP
60       properties:
61         layer_protocol: ipv4
62         description: myDescription
63       requirements:
64         - virtual_binding: vduNode
65         - virtual_link: myNetwork1
66
67     myEcp:
68       type: tosca.nodes.nfv.ECP
69       properties:
70         layer_protocol: ipv4
71       requirements:
72         - internal_connection_point: icpWithEcp
73
74     icpWithOutVdu:
75       type: tosca.nodes.nfv.ICP
76       properties:
77         layer_protocol: ipv4
78         description: myDescription
79
80     ecpWithIcpWithOutVdu:
81       type: tosca.nodes.nfv.ECP
82       properties:
83         layer_protocol: ipv4
84       requirements:
85         - internal_connection_point: icpWithOutVdu