68eec35b379febeb0cef98a36ef1811d72daa62d
[policy/distribution.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_1
2 metadata:
3   invariantUUID: b233407f-fe4e-474e-af23-5ddca98639b2
4   UUID: 9119a7bd-859b-46ae-825f-47aa7570220d
5   name: ##RANDOM_RESOURCE_NAME##
6   description: test
7   type: VF
8   category: Generic
9   subcategory: Infrastructure
10   resourceVendor: vendor
11   resourceVendorRelease: '1.0'
12   resourceVendorModelNumber: ''
13 imports:
14 - nodes:
15     file: nodes.yml
16 - datatypes:
17     file: data.yml
18 - capabilities:
19     file: capabilities.yml
20 - relationships:
21     file: relationships.yml
22 - groups:
23     file: groups.yml
24 - policies:
25     file: policies.yml
26 - annotations:
27     file: annotations.yml
28 - resource-vgw1181049-interface:
29     file: resource-Vgw1181049-template-interface.yml
30 - resource-VNF:
31     file: resource-Vnf-template.yml
32 - resource-VnfVirtualLink:
33     file: resource-Vnfvirtuallink-template.yml
34 - resource-VDU Cp:
35     file: resource-VduCp-template.yml
36 - resource-VDU VirtualStorage:
37     file: resource-VduVirtualstorage-template.yml
38 - resource-VDU Compute:
39     file: resource-VduCompute-template.yml
40 topology_template:
41   inputs:
42     nf_naming:
43       default:
44         ecomp_generated_naming: true
45       type: org.openecomp.datatypes.Naming
46       required: false
47     multi_stage_design:
48       default: false
49       type: boolean
50       required: false
51     nf_function:
52       type: string
53       required: false
54     nf_naming_code:
55       type: string
56       required: false
57     availability_zone_max_count:
58       default: 1
59       type: integer
60       required: false
61     nf_role:
62       type: string
63       required: false
64     min_instances:
65       type: integer
66       required: false
67     max_instances:
68       type: integer
69       required: false
70     nf_type:
71       type: string
72       required: false
73   node_templates:
74     LLU_VNF:
75       type: tosca.nodes.nfv.VNF
76       metadata:
77         invariantUUID: 7f6227f9-771a-4d25-86bb-2b3ba809e81c
78         UUID: d5c50615-de40-4a8a-a2a6-9eae9bd5b30f
79         customizationUUID: 06bffc87-30c7-42ad-b99d-19c6c13405dc
80         version: '1.0'
81         name: VNF
82         description: VNF
83         type: VFC
84         category: Generic
85         subcategory: Infrastructure
86         resourceVendor: ATT (Tosca)
87         resourceVendorRelease: 1.0.0.wd03
88         resourceVendorModelNumber: ''
89       properties:
90         descriptor_id: b1bb0ce7-2222-4fa7-95ed-4840d70a1177
91         provider: onap
92         vnfm_info:
93         - gvnfm
94         flavour_id: simple
95         descriptor_version: '1.0'
96         software_version: '1.0'
97         flavour_description: simple
98         product_name: vcpe_vgw
99     VL_mux_gw_private_net:
100       type: tosca.nodes.nfv.VnfVirtualLink
101       metadata:
102         invariantUUID: eb48e8b6-1ad6-48c1-91d2-f77c5792a624
103         UUID: 4ded12c9-0565-446a-82f6-eac26b0d4031
104         customizationUUID: fbea54ef-8f8b-4f35-81d6-997a47282698
105         version: '1.0'
106         name: VnfVirtualLink
107         description: VnfVirtualLink
108         type: VL
109         category: Generic
110         subcategory: Infrastructure
111         resourceVendor: ATT (Tosca)
112         resourceVendorRelease: 1.0.0.wd03
113         resourceVendorModelNumber: ''
114       properties:
115         vl_profile:
116           min_bit_rate_requirements:
117             root: 10000000
118             leaf: 10000000
119           max_bit_rate_requirements:
120             root: 10000000
121             leaf: 10000000
122           networkName: mux_gw_private_net_id
123           cidr: 192.168.0.0/24
124           dhcpEnabled: false
125         connectivity_type:
126           layer_protocol: ipv4
127     VDU_vgw_0:
128       type: tosca.nodes.nfv.Vdu.Compute
129       metadata:
130         invariantUUID: 545f0f07-e4b4-483c-8976-87d6b2585976
131         UUID: 705026b1-0e14-4c4c-b203-9aa5002616a8
132         customizationUUID: 93c3f2e3-67e7-4bb4-be11-8a48df924c4c
133         version: '1.0'
134         name: VDU Compute
135         description: VDU Compute
136         type: VFC
137         category: Generic
138         subcategory: Infrastructure
139         resourceVendor: ATT (Tosca)
140         resourceVendorRelease: 1.0.0.wd03
141         resourceVendorModelNumber: ''
142       properties:
143         configurable_properties:
144           additional_vnfc_configurable_properties: {
145             }
146         name: vdu_vgw_0
147         description: vgw
148         vdu_profile:
149           watchdog: none
150           min_number_of_instances: 1
151           max_number_of_instances: 1
152       requirements:
153       - virtual_storage:
154           capability: virtual_storage
155           node: VirtualStorage_root_all
156       capabilities:
157         virtual_compute:
158           properties:
159             virtual_memory:
160               virtual_mem_size: 4096 MB
161               vdu_memory_requirements:
162                 numberOfPages: '{"schemaVersion": "0","schemaSelector": "","hardwarePlatform": "generic", "mandatory":"true","configurationValue": "1024"}'
163             virtual_cpu:
164               cpu_architecture: generic
165               num_virtual_cpu: 2
166     VirtualStorage_root_all:
167       type: tosca.nodes.nfv.Vdu.VirtualStorage
168       metadata:
169         invariantUUID: a2b52b7f-dcc1-4ac9-9333-db87b5393841
170         UUID: e7153786-05ac-4911-a125-0560f7e62ec9
171         customizationUUID: dc20e1ad-aed9-4154-b2b4-3a702eee49a7
172         version: '1.0'
173         name: VDU VirtualStorage
174         description: VDU VirtualStorage
175         type: VFC
176         category: Generic
177         subcategory: Infrastructure
178         resourceVendor: ATT (Tosca)
179         resourceVendorRelease: 1.0.0.wd03
180         resourceVendorModelNumber: ''
181       properties:
182         size_of_storage: 40 GB
183         type_of_storage: root
184     Cp_vgw_mux_gw_private_net:
185       type: tosca.nodes.nfv.VduCp
186       metadata:
187         invariantUUID: 05cfefb0-25e0-4aa6-a5c3-bb96a34372a0
188         UUID: 1da2c936-84df-4a98-a6aa-a53847cbebc9
189         customizationUUID: b5ff315f-effc-46e9-a0c5-aec1954845e0
190         version: '1.0'
191         name: VDU Cp
192         description: VDU Cp
193         type: CP
194         category: Generic
195         subcategory: Network Elements
196         resourceVendor: ATT (Tosca)
197         resourceVendorRelease: 1.0.0.wd03
198         resourceVendorModelNumber: ''
199       properties:
200         trunk_mode: false
201         protocol_data:
202         - asscociated_layer_protocol: ipv4
203           address_data:
204             address_type: ip_address
205             l3_address_data:
206               fixed_ip_address:
207               - 192.168.0.1
208               ip_address_assignment: false
209               floating_ip_activated: false
210         layer_protocol:
211         - ipv4
212       requirements:
213       - virtual_link:
214           capability: virtual_linkable
215           node: VL_mux_gw_private_net
216       - virtual_binding:
217           capability: virtual_binding
218           node: VDU_vgw_0
219   substitution_mappings:
220     node_type: org.openecomp.resource.vf.Vgw1181049
221     capabilities:
222       vl_mux_gw_private_net.feature:
223       - vl_mux_gw_private_net
224       - feature
225       cp_vgw_mux_gw_private_net.feature:
226       - cp_vgw_mux_gw_private_net
227       - feature
228       vdu_vgw_0.virtual_compute:
229       - vdu_vgw_0
230       - virtual_compute
231       vdu_vgw_0.virtual_binding:
232       - vdu_vgw_0
233       - virtual_binding
234       virtualstorage_root_all.virtual_storage:
235       - virtualstorage_root_all
236       - virtual_storage
237       llu_vnf.feature:
238       - llu_vnf
239       - feature
240       vl_mux_gw_private_net.virtual_linkable:
241       - vl_mux_gw_private_net
242       - virtual_linkable
243       vl_mux_gw_private_net.monitoring_parameter:
244       - vl_mux_gw_private_net
245       - monitoring_parameter
246       vdu_vgw_0.monitoring_parameter:
247       - vdu_vgw_0
248       - monitoring_parameter
249       virtualstorage_root_all.feature:
250       - virtualstorage_root_all
251       - feature
252       vdu_vgw_0.feature:
253       - vdu_vgw_0
254       - feature
255     requirements:
256       vdu_vgw_0.virtual_storage:
257       - vdu_vgw_0
258       - virtual_storage
259       vl_mux_gw_private_net.dependency:
260       - vl_mux_gw_private_net
261       - dependency
262       virtualstorage_root_all.dependency:
263       - virtualstorage_root_all
264       - dependency
265       vdu_vgw_0.dependency:
266       - vdu_vgw_0
267       - dependency
268       cp_vgw_mux_gw_private_net.virtual_binding:
269       - cp_vgw_mux_gw_private_net
270       - virtual_binding
271       cp_vgw_mux_gw_private_net.dependency:
272       - cp_vgw_mux_gw_private_net
273       - dependency
274       llu_vnf.dependency:
275       - llu_vnf
276       - dependency
277       llu_vnf.virtual_link:
278       - llu_vnf
279       - virtual_link
280       cp_vgw_mux_gw_private_net.virtual_link:
281       - cp_vgw_mux_gw_private_net
282       - virtual_link