[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / generalVf / out / Nested_GPB2ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_GPB2
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 node_types:
10   org.openecomp.resource.vfc.nodes.heat.GPB2:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_GPB2_Internal2_mac_address:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_GPB2_Internal2_mac_requirements:
20       type: list
21       required: true
22       entry_schema:
23         type: org.openecomp.datatypes.network.MacRequirements
24     port_GPB2_Internal1_ip_requirements:
25       type: list
26       required: true
27       entry_schema:
28         type: json
29     port_GPB2_Internal1_network:
30       type: list
31       required: true
32       entry_schema:
33         type: string
34     index_value:
35       type: integer
36       description: Index value of this substitution service template runtime instance
37       required: false
38       default: 0
39       constraints:
40       - greater_or_equal: 0
41     compute_GPB2_availability_zone:
42       type: list
43       required: true
44       entry_schema:
45         type: string
46     vm_flavor_name:
47       type: string
48       required: true
49     port_GPB2_Internal1_mac_requirements:
50       type: list
51       required: true
52       entry_schema:
53         type: org.openecomp.datatypes.network.MacRequirements
54     port_GPB2_Internal2_ip_requirements:
55       type: list
56       required: true
57       entry_schema:
58         type: json
59     vm_image_name:
60       type: string
61       required: true
62     compute_GPB2_name:
63       type: list
64       required: true
65       entry_schema:
66         type: string
67     port_GPB2_Internal1_mac_address:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_GPB2_Internal2_network:
73       type: list
74       required: true
75       entry_schema:
76         type: string
77   node_templates:
78     GPB2_GPB2_Internal2:
79       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
80       properties:
81         ip_requirements:
82           get_input:
83           - port_GPB2_Internal2_ip_requirements
84           - index_value
85         mac_requirements:
86           get_input:
87           - port_GPB2_Internal2_mac_requirements
88           - index_value
89         network:
90           get_input:
91           - port_GPB2_Internal2_network
92           - index_value
93         mac_address:
94           get_input:
95           - port_GPB2_Internal2_mac_address
96           - index_value
97       requirements:
98       - binding:
99           capability: tosca.capabilities.network.Bindable
100           node: GPB2
101           relationship: tosca.relationships.network.BindsTo
102     GPB2_GPB2_Internal1:
103       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
104       properties:
105         ip_requirements:
106           get_input:
107           - port_GPB2_Internal1_ip_requirements
108           - index_value
109         mac_requirements:
110           get_input:
111           - port_GPB2_Internal1_mac_requirements
112           - index_value
113         network:
114           get_input:
115           - port_GPB2_Internal1_network
116           - index_value
117         mac_address:
118           get_input:
119           - port_GPB2_Internal1_mac_address
120           - index_value
121       requirements:
122       - binding:
123           capability: tosca.capabilities.network.Bindable
124           node: GPB2
125           relationship: tosca.relationships.network.BindsTo
126     GPB2:
127       type: org.openecomp.resource.vfc.nodes.heat.GPB2
128       properties:
129         availability_zone:
130           get_input:
131           - compute_GPB2_availability_zone
132           - index_value
133         flavor:
134           get_input: vm_flavor_name
135         image:
136           get_input: vm_image_name
137         name:
138           get_input:
139           - compute_GPB2_name
140           - index_value
141   substitution_mappings:
142     node_type: org.openecomp.resource.abstract.nodes.GPB2
143     capabilities:
144       endpoint_GPB2:
145       - GPB2
146       - endpoint
147       disk.read.requests_GPB2:
148       - GPB2
149       - disk.read.requests
150       network.incoming.packets_GPB2_GPB2_Internal1:
151       - GPB2_GPB2_Internal1
152       - network.incoming.packets
153       network.incoming.packets_GPB2_GPB2_Internal2:
154       - GPB2_GPB2_Internal2
155       - network.incoming.packets
156       cpu_util_GPB2:
157       - GPB2
158       - cpu_util
159       disk.device.read.requests_GPB2:
160       - GPB2
161       - disk.device.read.requests
162       memory.usage_GPB2:
163       - GPB2
164       - memory.usage
165       disk.device.write.bytes_GPB2:
166       - GPB2
167       - disk.device.write.bytes
168       disk.ephemeral.size_GPB2:
169       - GPB2
170       - disk.ephemeral.size
171       network.outgoing.bytes_GPB2_GPB2_Internal1:
172       - GPB2_GPB2_Internal1
173       - network.outgoing.bytes
174       network.outgoing.bytes_GPB2_GPB2_Internal2:
175       - GPB2_GPB2_Internal2
176       - network.outgoing.bytes
177       disk.device.iops_GPB2:
178       - GPB2
179       - disk.device.iops
180       network.incoming.bytes.rate_GPB2_GPB2_Internal1:
181       - GPB2_GPB2_Internal1
182       - network.incoming.bytes.rate
183       network.incoming.bytes.rate_GPB2_GPB2_Internal2:
184       - GPB2_GPB2_Internal2
185       - network.incoming.bytes.rate
186       scalable_GPB2:
187       - GPB2
188       - scalable
189       disk.read.bytes_GPB2:
190       - GPB2
191       - disk.read.bytes
192       network.outgoing.packets.rate_GPB2_GPB2_Internal1:
193       - GPB2_GPB2_Internal1
194       - network.outgoing.packets.rate
195       network.outgoing.packets.rate_GPB2_GPB2_Internal2:
196       - GPB2_GPB2_Internal2
197       - network.outgoing.packets.rate
198       memory_GPB2:
199       - GPB2
200       - memory
201       disk.device.read.requests.rate_GPB2:
202       - GPB2
203       - disk.device.read.requests.rate
204       disk.device.write.requests.rate_GPB2:
205       - GPB2
206       - disk.device.write.requests.rate
207       disk.root.size_GPB2:
208       - GPB2
209       - disk.root.size
210       vcpus_GPB2:
211       - GPB2
212       - vcpus
213       network.outpoing.packets_GPB2_GPB2_Internal1:
214       - GPB2_GPB2_Internal1
215       - network.outpoing.packets
216       network.outgoing.bytes.rate_GPB2_GPB2_Internal2:
217       - GPB2_GPB2_Internal2
218       - network.outgoing.bytes.rate
219       disk.read.bytes.rate_GPB2:
220       - GPB2
221       - disk.read.bytes.rate
222       network.outgoing.bytes.rate_GPB2_GPB2_Internal1:
223       - GPB2_GPB2_Internal1
224       - network.outgoing.bytes.rate
225       os_GPB2:
226       - GPB2
227       - os
228       memory.resident_GPB2:
229       - GPB2
230       - memory.resident
231       feature_GPB2_GPB2_Internal1:
232       - GPB2_GPB2_Internal1
233       - feature
234       disk.capacity_GPB2:
235       - GPB2
236       - disk.capacity
237       host_GPB2:
238       - GPB2
239       - host
240       network.outpoing.packets_GPB2_GPB2_Internal2:
241       - GPB2_GPB2_Internal2
242       - network.outpoing.packets
243       feature_GPB2_GPB2_Internal2:
244       - GPB2_GPB2_Internal2
245       - feature
246       disk.write.requests_GPB2:
247       - GPB2
248       - disk.write.requests
249       cpu_GPB2:
250       - GPB2
251       - cpu
252       cpu.delta_GPB2:
253       - GPB2
254       - cpu.delta
255       disk.device.read.bytes.rate_GPB2:
256       - GPB2
257       - disk.device.read.bytes.rate
258       instance_GPB2:
259       - GPB2
260       - instance
261       network.incoming.bytes_GPB2_GPB2_Internal1:
262       - GPB2_GPB2_Internal1
263       - network.incoming.bytes
264       network.incoming.bytes_GPB2_GPB2_Internal2:
265       - GPB2_GPB2_Internal2
266       - network.incoming.bytes
267       disk.device.usage_GPB2:
268       - GPB2
269       - disk.device.usage
270       disk.write.bytes_GPB2:
271       - GPB2
272       - disk.write.bytes
273       binding_GPB2:
274       - GPB2
275       - binding
276       disk.latency_GPB2:
277       - GPB2
278       - disk.latency
279       disk.device.read.bytes_GPB2:
280       - GPB2
281       - disk.device.read.bytes
282       disk.write.requests.rate_GPB2:
283       - GPB2
284       - disk.write.requests.rate
285       disk.iops_GPB2:
286       - GPB2
287       - disk.iops
288       disk.write.bytes.rate_GPB2:
289       - GPB2
290       - disk.write.bytes.rate
291       disk.device.write.requests_GPB2:
292       - GPB2
293       - disk.device.write.requests
294       disk.device.capacity_GPB2:
295       - GPB2
296       - disk.device.capacity
297       disk.allocation_GPB2:
298       - GPB2
299       - disk.allocation
300       disk.device.latency_GPB2:
301       - GPB2
302       - disk.device.latency
303       binding_GPB2_GPB2_Internal2:
304       - GPB2_GPB2_Internal2
305       - binding
306       binding_GPB2_GPB2_Internal1:
307       - GPB2_GPB2_Internal1
308       - binding
309       disk.usage_GPB2:
310       - GPB2
311       - disk.usage
312       network.incoming.packets.rate_GPB2_GPB2_Internal1:
313       - GPB2_GPB2_Internal1
314       - network.incoming.packets.rate
315       network.incoming.packets.rate_GPB2_GPB2_Internal2:
316       - GPB2_GPB2_Internal2
317       - network.incoming.packets.rate
318       attachment_GPB2_GPB2_Internal1:
319       - GPB2_GPB2_Internal1
320       - attachment
321       attachment_GPB2_GPB2_Internal2:
322       - GPB2_GPB2_Internal2
323       - attachment
324       disk.device.write.bytes.rate_GPB2:
325       - GPB2
326       - disk.device.write.bytes.rate
327       feature_GPB2:
328       - GPB2
329       - feature
330       disk.device.allocation_GPB2:
331       - GPB2
332       - disk.device.allocation
333     requirements:
334       link_GPB2_GPB2_Internal1:
335       - GPB2_GPB2_Internal1
336       - link
337       link_GPB2_GPB2_Internal2:
338       - GPB2_GPB2_Internal2
339       - link
340       dependency_GPB2:
341       - GPB2
342       - dependency
343       local_storage_GPB2:
344       - GPB2
345       - local_storage
346       dependency_GPB2_GPB2_Internal2:
347       - GPB2_GPB2_Internal2
348       - dependency
349       dependency_GPB2_GPB2_Internal1:
350       - GPB2_GPB2_Internal1
351       - dependency