55fe2ba8423628a7a7499f84ee88ac868101f089
[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
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             virtual_cpu:
162               cpu_architecture: generic
163               num_virtual_cpu: 2
164     VirtualStorage_root_all:
165       type: tosca.nodes.nfv.Vdu.VirtualStorage
166       metadata:
167         invariantUUID: a2b52b7f-dcc1-4ac9-9333-db87b5393841
168         UUID: e7153786-05ac-4911-a125-0560f7e62ec9
169         customizationUUID: dc20e1ad-aed9-4154-b2b4-3a702eee49a7
170         version: '1.0'
171         name: VDU VirtualStorage
172         description: VDU VirtualStorage
173         type: VFC
174         category: Generic
175         subcategory: Infrastructure
176         resourceVendor: ATT (Tosca)
177         resourceVendorRelease: 1.0.0.wd03
178         resourceVendorModelNumber: ''
179       properties:
180         size_of_storage: 40 GB
181         type_of_storage: root
182     Cp_vgw_mux_gw_private_net:
183       type: tosca.nodes.nfv.VduCp
184       metadata:
185         invariantUUID: 05cfefb0-25e0-4aa6-a5c3-bb96a34372a0
186         UUID: 1da2c936-84df-4a98-a6aa-a53847cbebc9
187         customizationUUID: b5ff315f-effc-46e9-a0c5-aec1954845e0
188         version: '1.0'
189         name: VDU Cp
190         description: VDU Cp
191         type: CP
192         category: Generic
193         subcategory: Network Elements
194         resourceVendor: ATT (Tosca)
195         resourceVendorRelease: 1.0.0.wd03
196         resourceVendorModelNumber: ''
197       properties:
198         trunk_mode: false
199         protocol_data:
200         - asscociated_layer_protocol: ipv4
201           address_data:
202             address_type: ip_address
203             l3_address_data:
204               fixed_ip_address:
205               - 192.168.0.1
206               ip_address_assignment: false
207               floating_ip_activated: false
208         layer_protocol:
209         - ipv4
210         virtual_network_interface_requirements:
211         - name: "sriov-support"
212           support_mandatory: true
213           network_interface_requirements:
214             interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
215           nic_io_requirements:
216             logical_node_requirements:
217               pciVendorId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1234"}'
218       requirements:
219       - virtual_link:
220           capability: virtual_linkable
221           node: VL_mux_gw_private_net
222       - virtual_binding:
223           capability: virtual_binding
224           node: VDU_vgw_0
225   substitution_mappings:
226     node_type: org.openecomp.resource.vf.Vgw1181049
227     capabilities:
228       vl_mux_gw_private_net.feature:
229       - vl_mux_gw_private_net
230       - feature
231       cp_vgw_mux_gw_private_net.feature:
232       - cp_vgw_mux_gw_private_net
233       - feature
234       vdu_vgw_0.virtual_compute:
235       - vdu_vgw_0
236       - virtual_compute
237       vdu_vgw_0.virtual_binding:
238       - vdu_vgw_0
239       - virtual_binding
240       virtualstorage_root_all.virtual_storage:
241       - virtualstorage_root_all
242       - virtual_storage
243       llu_vnf.feature:
244       - llu_vnf
245       - feature
246       vl_mux_gw_private_net.virtual_linkable:
247       - vl_mux_gw_private_net
248       - virtual_linkable
249       vl_mux_gw_private_net.monitoring_parameter:
250       - vl_mux_gw_private_net
251       - monitoring_parameter
252       vdu_vgw_0.monitoring_parameter:
253       - vdu_vgw_0
254       - monitoring_parameter
255       virtualstorage_root_all.feature:
256       - virtualstorage_root_all
257       - feature
258       vdu_vgw_0.feature:
259       - vdu_vgw_0
260       - feature
261     requirements:
262       vdu_vgw_0.virtual_storage:
263       - vdu_vgw_0
264       - virtual_storage
265       vl_mux_gw_private_net.dependency:
266       - vl_mux_gw_private_net
267       - dependency
268       virtualstorage_root_all.dependency:
269       - virtualstorage_root_all
270       - dependency
271       vdu_vgw_0.dependency:
272       - vdu_vgw_0
273       - dependency
274       cp_vgw_mux_gw_private_net.virtual_binding:
275       - cp_vgw_mux_gw_private_net
276       - virtual_binding
277       cp_vgw_mux_gw_private_net.dependency:
278       - cp_vgw_mux_gw_private_net
279       - dependency
280       llu_vnf.dependency:
281       - llu_vnf
282       - dependency
283       llu_vnf.virtual_link:
284       - llu_vnf
285       - virtual_link
286       cp_vgw_mux_gw_private_net.virtual_link:
287       - cp_vgw_mux_gw_private_net
288       - virtual_link