[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_GPB1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_GPB1
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.GPB1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_GPB1_Internal2_network:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     index_value:
20       type: integer
21       description: Index value of this substitution service template runtime instance
22       required: false
23       default: 0
24       constraints:
25       - greater_or_equal: 0
26     port_GPB1_Internal1_network:
27       type: list
28       required: true
29       entry_schema:
30         type: string
31     compute_GPB1_name:
32       type: list
33       required: true
34       entry_schema:
35         type: string
36     vm_flavor_name:
37       type: string
38       required: true
39     port_GPB1_Internal2_mac_requirements:
40       type: list
41       required: true
42       entry_schema:
43         type: org.openecomp.datatypes.network.MacRequirements
44     port_GPB1_Internal1_mac_address:
45       type: list
46       required: true
47       entry_schema:
48         type: string
49     port_GPB1_Internal2_mac_address:
50       type: list
51       required: true
52       entry_schema:
53         type: string
54     vm_image_name:
55       type: string
56       required: true
57     port_GPB1_Internal1_ip_requirements:
58       type: list
59       required: true
60       entry_schema:
61         type: json
62     port_GPB1_Internal1_mac_requirements:
63       type: list
64       required: true
65       entry_schema:
66         type: org.openecomp.datatypes.network.MacRequirements
67     compute_GPB1_availability_zone:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_GPB1_Internal2_ip_requirements:
73       type: list
74       required: true
75       entry_schema:
76         type: json
77   node_templates:
78     GPB1:
79       type: org.openecomp.resource.vfc.nodes.heat.GPB1
80       properties:
81         availability_zone:
82           get_input:
83           - compute_GPB1_availability_zone
84           - index_value
85         flavor:
86           get_input: vm_flavor_name
87         image:
88           get_input: vm_image_name
89         name:
90           get_input:
91           - compute_GPB1_name
92           - index_value
93     GPB1_GPB1_Internal1:
94       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
95       properties:
96         ip_requirements:
97           get_input:
98           - port_GPB1_Internal1_ip_requirements
99           - index_value
100         mac_requirements:
101           get_input:
102           - port_GPB1_Internal1_mac_requirements
103           - index_value
104         network:
105           get_input:
106           - port_GPB1_Internal1_network
107           - index_value
108         mac_address:
109           get_input:
110           - port_GPB1_Internal1_mac_address
111           - index_value
112       requirements:
113       - binding:
114           capability: tosca.capabilities.network.Bindable
115           node: GPB1
116           relationship: tosca.relationships.network.BindsTo
117     GPB1_GPB1_Internal2:
118       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
119       properties:
120         ip_requirements:
121           get_input:
122           - port_GPB1_Internal2_ip_requirements
123           - index_value
124         mac_requirements:
125           get_input:
126           - port_GPB1_Internal2_mac_requirements
127           - index_value
128         network:
129           get_input:
130           - port_GPB1_Internal2_network
131           - index_value
132         mac_address:
133           get_input:
134           - port_GPB1_Internal2_mac_address
135           - index_value
136       requirements:
137       - binding:
138           capability: tosca.capabilities.network.Bindable
139           node: GPB1
140           relationship: tosca.relationships.network.BindsTo
141   substitution_mappings:
142     node_type: org.openecomp.resource.abstract.nodes.GPB1
143     capabilities:
144       network.outgoing.packets.rate_GPB1_GPB1_Internal2:
145       - GPB1_GPB1_Internal2
146       - network.outgoing.packets.rate
147       endpoint_GPB1:
148       - GPB1
149       - endpoint
150       network.outgoing.packets.rate_GPB1_GPB1_Internal1:
151       - GPB1_GPB1_Internal1
152       - network.outgoing.packets.rate
153       disk.read.requests_GPB1:
154       - GPB1
155       - disk.read.requests
156       attachment_GPB1_GPB1_Internal2:
157       - GPB1_GPB1_Internal2
158       - attachment
159       attachment_GPB1_GPB1_Internal1:
160       - GPB1_GPB1_Internal1
161       - attachment
162       disk.device.read.requests_GPB1:
163       - GPB1
164       - disk.device.read.requests
165       cpu_util_GPB1:
166       - GPB1
167       - cpu_util
168       feature_GPB1_GPB1_Internal1:
169       - GPB1_GPB1_Internal1
170       - feature
171       disk.device.write.bytes_GPB1:
172       - GPB1
173       - disk.device.write.bytes
174       disk.device.iops_GPB1:
175       - GPB1
176       - disk.device.iops
177       memory.usage_GPB1:
178       - GPB1
179       - memory.usage
180       network.outpoing.packets_GPB1_GPB1_Internal2:
181       - GPB1_GPB1_Internal2
182       - network.outpoing.packets
183       feature_GPB1_GPB1_Internal2:
184       - GPB1_GPB1_Internal2
185       - feature
186       network.outgoing.bytes.rate_GPB1_GPB1_Internal2:
187       - GPB1_GPB1_Internal2
188       - network.outgoing.bytes.rate
189       network.outgoing.bytes.rate_GPB1_GPB1_Internal1:
190       - GPB1_GPB1_Internal1
191       - network.outgoing.bytes.rate
192       network.incoming.bytes_GPB1_GPB1_Internal1:
193       - GPB1_GPB1_Internal1
194       - network.incoming.bytes
195       network.incoming.bytes_GPB1_GPB1_Internal2:
196       - GPB1_GPB1_Internal2
197       - network.incoming.bytes
198       disk.ephemeral.size_GPB1:
199       - GPB1
200       - disk.ephemeral.size
201       network.outpoing.packets_GPB1_GPB1_Internal1:
202       - GPB1_GPB1_Internal1
203       - network.outpoing.packets
204       network.incoming.packets.rate_GPB1_GPB1_Internal1:
205       - GPB1_GPB1_Internal1
206       - network.incoming.packets.rate
207       network.incoming.packets.rate_GPB1_GPB1_Internal2:
208       - GPB1_GPB1_Internal2
209       - network.incoming.packets.rate
210       host_GPB1:
211       - GPB1
212       - host
213       scalable_GPB1:
214       - GPB1
215       - scalable
216       disk.device.write.requests.rate_GPB1:
217       - GPB1
218       - disk.device.write.requests.rate
219       memory_GPB1:
220       - GPB1
221       - memory
222       disk.device.read.requests.rate_GPB1:
223       - GPB1
224       - disk.device.read.requests.rate
225       disk.read.bytes_GPB1:
226       - GPB1
227       - disk.read.bytes
228       vcpus_GPB1:
229       - GPB1
230       - vcpus
231       disk.root.size_GPB1:
232       - GPB1
233       - disk.root.size
234       memory.resident_GPB1:
235       - GPB1
236       - memory.resident
237       disk.write.requests_GPB1:
238       - GPB1
239       - disk.write.requests
240       disk.capacity_GPB1:
241       - GPB1
242       - disk.capacity
243       disk.read.bytes.rate_GPB1:
244       - GPB1
245       - disk.read.bytes.rate
246       os_GPB1:
247       - GPB1
248       - os
249       cpu.delta_GPB1:
250       - GPB1
251       - cpu.delta
252       disk.device.read.bytes.rate_GPB1:
253       - GPB1
254       - disk.device.read.bytes.rate
255       binding_GPB1_GPB1_Internal1:
256       - GPB1_GPB1_Internal1
257       - binding
258       binding_GPB1_GPB1_Internal2:
259       - GPB1_GPB1_Internal2
260       - binding
261       instance_GPB1:
262       - GPB1
263       - instance
264       network.incoming.bytes.rate_GPB1_GPB1_Internal1:
265       - GPB1_GPB1_Internal1
266       - network.incoming.bytes.rate
267       network.incoming.bytes.rate_GPB1_GPB1_Internal2:
268       - GPB1_GPB1_Internal2
269       - network.incoming.bytes.rate
270       binding_GPB1:
271       - GPB1
272       - binding
273       disk.write.bytes_GPB1:
274       - GPB1
275       - disk.write.bytes
276       disk.device.usage_GPB1:
277       - GPB1
278       - disk.device.usage
279       disk.latency_GPB1:
280       - GPB1
281       - disk.latency
282       disk.device.read.bytes_GPB1:
283       - GPB1
284       - disk.device.read.bytes
285       network.incoming.packets_GPB1_GPB1_Internal1:
286       - GPB1_GPB1_Internal1
287       - network.incoming.packets
288       network.incoming.packets_GPB1_GPB1_Internal2:
289       - GPB1_GPB1_Internal2
290       - network.incoming.packets
291       cpu_GPB1:
292       - GPB1
293       - cpu
294       disk.write.requests.rate_GPB1:
295       - GPB1
296       - disk.write.requests.rate
297       disk.iops_GPB1:
298       - GPB1
299       - disk.iops
300       disk.write.bytes.rate_GPB1:
301       - GPB1
302       - disk.write.bytes.rate
303       disk.device.capacity_GPB1:
304       - GPB1
305       - disk.device.capacity
306       disk.device.write.requests_GPB1:
307       - GPB1
308       - disk.device.write.requests
309       disk.allocation_GPB1:
310       - GPB1
311       - disk.allocation
312       disk.device.latency_GPB1:
313       - GPB1
314       - disk.device.latency
315       network.outgoing.bytes_GPB1_GPB1_Internal1:
316       - GPB1_GPB1_Internal1
317       - network.outgoing.bytes
318       network.outgoing.bytes_GPB1_GPB1_Internal2:
319       - GPB1_GPB1_Internal2
320       - network.outgoing.bytes
321       disk.device.write.bytes.rate_GPB1:
322       - GPB1
323       - disk.device.write.bytes.rate
324       disk.usage_GPB1:
325       - GPB1
326       - disk.usage
327       feature_GPB1:
328       - GPB1
329       - feature
330       disk.device.allocation_GPB1:
331       - GPB1
332       - disk.device.allocation
333     requirements:
334       link_GPB1_GPB1_Internal2:
335       - GPB1_GPB1_Internal2
336       - link
337       dependency_GPB1_GPB1_Internal1:
338       - GPB1_GPB1_Internal1
339       - dependency
340       dependency_GPB1_GPB1_Internal2:
341       - GPB1_GPB1_Internal2
342       - dependency
343       dependency_GPB1:
344       - GPB1
345       - dependency
346       local_storage_GPB1:
347       - GPB1
348       - local_storage
349       link_GPB1_GPB1_Internal1:
350       - GPB1_GPB1_Internal1
351       - link