[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_NCB2ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_NCB2
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.NCB2:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     index_value:
15       type: integer
16       description: Index value of this substitution service template runtime instance
17       required: false
18       default: 0
19       constraints:
20       - greater_or_equal: 0
21     port_NCB2_Internal1_network:
22       type: list
23       required: true
24       entry_schema:
25         type: string
26     compute_NCB2_availability_zone:
27       type: list
28       required: true
29       entry_schema:
30         type: string
31     port_NCB2_Internal2_ip_requirements:
32       type: list
33       required: true
34       entry_schema:
35         type: json
36     vm_flavor_name:
37       type: string
38       required: true
39     port_NCB2_Internal2_mac_requirements:
40       type: list
41       required: true
42       entry_schema:
43         type: org.openecomp.datatypes.network.MacRequirements
44     port_NCB2_Internal2_network:
45       type: list
46       required: true
47       entry_schema:
48         type: string
49     port_NCB2_Internal1_mac_requirements:
50       type: list
51       required: true
52       entry_schema:
53         type: org.openecomp.datatypes.network.MacRequirements
54     port_NCB2_Internal1_mac_address:
55       type: list
56       required: true
57       entry_schema:
58         type: string
59     port_NCB2_Internal2_mac_address:
60       type: list
61       required: true
62       entry_schema:
63         type: string
64     vm_image_name:
65       type: string
66       required: true
67     compute_NCB2_name:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_NCB2_Internal1_ip_requirements:
73       type: list
74       required: true
75       entry_schema:
76         type: json
77   node_templates:
78     NCB2:
79       type: org.openecomp.resource.vfc.nodes.heat.NCB2
80       properties:
81         availability_zone:
82           get_input:
83           - compute_NCB2_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_NCB2_name
92           - index_value
93     NCB2_NCB2_Internal1:
94       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
95       properties:
96         ip_requirements:
97           get_input:
98           - port_NCB2_Internal1_ip_requirements
99           - index_value
100         mac_requirements:
101           get_input:
102           - port_NCB2_Internal1_mac_requirements
103           - index_value
104         network:
105           get_input:
106           - port_NCB2_Internal1_network
107           - index_value
108         mac_address:
109           get_input:
110           - port_NCB2_Internal1_mac_address
111           - index_value
112       requirements:
113       - binding:
114           capability: tosca.capabilities.network.Bindable
115           node: NCB2
116           relationship: tosca.relationships.network.BindsTo
117     NCB2_NCB2_Internal2:
118       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
119       properties:
120         ip_requirements:
121           get_input:
122           - port_NCB2_Internal2_ip_requirements
123           - index_value
124         mac_requirements:
125           get_input:
126           - port_NCB2_Internal2_mac_requirements
127           - index_value
128         network:
129           get_input:
130           - port_NCB2_Internal2_network
131           - index_value
132         mac_address:
133           get_input:
134           - port_NCB2_Internal2_mac_address
135           - index_value
136       requirements:
137       - binding:
138           capability: tosca.capabilities.network.Bindable
139           node: NCB2
140           relationship: tosca.relationships.network.BindsTo
141   substitution_mappings:
142     node_type: org.openecomp.resource.abstract.nodes.NCB2
143     capabilities:
144       disk.device.write.bytes.rate_NCB2:
145       - NCB2
146       - disk.device.write.bytes.rate
147       memory.resident_NCB2:
148       - NCB2
149       - memory.resident
150       network.outgoing.packets.rate_NCB2_NCB2_Internal2:
151       - NCB2_NCB2_Internal2
152       - network.outgoing.packets.rate
153       network.outgoing.packets.rate_NCB2_NCB2_Internal1:
154       - NCB2_NCB2_Internal1
155       - network.outgoing.packets.rate
156       disk.root.size_NCB2:
157       - NCB2
158       - disk.root.size
159       instance_NCB2:
160       - NCB2
161       - instance
162       cpu_NCB2:
163       - NCB2
164       - cpu
165       attachment_NCB2_NCB2_Internal2:
166       - NCB2_NCB2_Internal2
167       - attachment
168       disk.write.requests.rate_NCB2:
169       - NCB2
170       - disk.write.requests.rate
171       attachment_NCB2_NCB2_Internal1:
172       - NCB2_NCB2_Internal1
173       - attachment
174       feature_NCB2_NCB2_Internal1:
175       - NCB2_NCB2_Internal1
176       - feature
177       disk.device.read.bytes.rate_NCB2:
178       - NCB2
179       - disk.device.read.bytes.rate
180       cpu.delta_NCB2:
181       - NCB2
182       - cpu.delta
183       network.outpoing.packets_NCB2_NCB2_Internal2:
184       - NCB2_NCB2_Internal2
185       - network.outpoing.packets
186       disk.device.capacity_NCB2:
187       - NCB2
188       - disk.device.capacity
189       feature_NCB2_NCB2_Internal2:
190       - NCB2_NCB2_Internal2
191       - feature
192       network.outgoing.bytes.rate_NCB2_NCB2_Internal2:
193       - NCB2_NCB2_Internal2
194       - network.outgoing.bytes.rate
195       network.outgoing.bytes.rate_NCB2_NCB2_Internal1:
196       - NCB2_NCB2_Internal1
197       - network.outgoing.bytes.rate
198       network.incoming.bytes_NCB2_NCB2_Internal1:
199       - NCB2_NCB2_Internal1
200       - network.incoming.bytes
201       network.incoming.bytes_NCB2_NCB2_Internal2:
202       - NCB2_NCB2_Internal2
203       - network.incoming.bytes
204       network.outpoing.packets_NCB2_NCB2_Internal1:
205       - NCB2_NCB2_Internal1
206       - network.outpoing.packets
207       binding_NCB2:
208       - NCB2
209       - binding
210       network.incoming.packets.rate_NCB2_NCB2_Internal1:
211       - NCB2_NCB2_Internal1
212       - network.incoming.packets.rate
213       network.incoming.packets.rate_NCB2_NCB2_Internal2:
214       - NCB2_NCB2_Internal2
215       - network.incoming.packets.rate
216       disk.read.bytes_NCB2:
217       - NCB2
218       - disk.read.bytes
219       disk.device.read.bytes_NCB2:
220       - NCB2
221       - disk.device.read.bytes
222       disk.usage_NCB2:
223       - NCB2
224       - disk.usage
225       disk.device.allocation_NCB2:
226       - NCB2
227       - disk.device.allocation
228       disk.ephemeral.size_NCB2:
229       - NCB2
230       - disk.ephemeral.size
231       network.outgoing.bytes_NCB2_NCB2_Internal1:
232       - NCB2_NCB2_Internal1
233       - network.outgoing.bytes
234       network.outgoing.bytes_NCB2_NCB2_Internal2:
235       - NCB2_NCB2_Internal2
236       - network.outgoing.bytes
237       disk.allocation_NCB2:
238       - NCB2
239       - disk.allocation
240       disk.write.bytes_NCB2:
241       - NCB2
242       - disk.write.bytes
243       disk.device.latency_NCB2:
244       - NCB2
245       - disk.device.latency
246       binding_NCB2_NCB2_Internal1:
247       - NCB2_NCB2_Internal1
248       - binding
249       binding_NCB2_NCB2_Internal2:
250       - NCB2_NCB2_Internal2
251       - binding
252       network.incoming.bytes.rate_NCB2_NCB2_Internal1:
253       - NCB2_NCB2_Internal1
254       - network.incoming.bytes.rate
255       vcpus_NCB2:
256       - NCB2
257       - vcpus
258       memory.usage_NCB2:
259       - NCB2
260       - memory.usage
261       network.incoming.bytes.rate_NCB2_NCB2_Internal2:
262       - NCB2_NCB2_Internal2
263       - network.incoming.bytes.rate
264       endpoint_NCB2:
265       - NCB2
266       - endpoint
267       disk.device.iops_NCB2:
268       - NCB2
269       - disk.device.iops
270       disk.write.requests_NCB2:
271       - NCB2
272       - disk.write.requests
273       feature_NCB2:
274       - NCB2
275       - feature
276       os_NCB2:
277       - NCB2
278       - os
279       disk.read.requests_NCB2:
280       - NCB2
281       - disk.read.requests
282       disk.device.write.requests_NCB2:
283       - NCB2
284       - disk.device.write.requests
285       network.incoming.packets_NCB2_NCB2_Internal1:
286       - NCB2_NCB2_Internal1
287       - network.incoming.packets
288       network.incoming.packets_NCB2_NCB2_Internal2:
289       - NCB2_NCB2_Internal2
290       - network.incoming.packets
291       disk.device.read.requests_NCB2:
292       - NCB2
293       - disk.device.read.requests
294       disk.write.bytes.rate_NCB2:
295       - NCB2
296       - disk.write.bytes.rate
297       memory_NCB2:
298       - NCB2
299       - memory
300       disk.device.write.bytes_NCB2:
301       - NCB2
302       - disk.device.write.bytes
303       disk.device.read.requests.rate_NCB2:
304       - NCB2
305       - disk.device.read.requests.rate
306       scalable_NCB2:
307       - NCB2
308       - scalable
309       disk.capacity_NCB2:
310       - NCB2
311       - disk.capacity
312       disk.read.bytes.rate_NCB2:
313       - NCB2
314       - disk.read.bytes.rate
315       disk.iops_NCB2:
316       - NCB2
317       - disk.iops
318       host_NCB2:
319       - NCB2
320       - host
321       disk.latency_NCB2:
322       - NCB2
323       - disk.latency
324       cpu_util_NCB2:
325       - NCB2
326       - cpu_util
327       disk.device.usage_NCB2:
328       - NCB2
329       - disk.device.usage
330       disk.device.write.requests.rate_NCB2:
331       - NCB2
332       - disk.device.write.requests.rate
333     requirements:
334       link_NCB2_NCB2_Internal2:
335       - NCB2_NCB2_Internal2
336       - link
337       dependency_NCB2_NCB2_Internal1:
338       - NCB2_NCB2_Internal1
339       - dependency
340       dependency_NCB2_NCB2_Internal2:
341       - NCB2_NCB2_Internal2
342       - dependency
343       local_storage_NCB2:
344       - NCB2
345       - local_storage
346       link_NCB2_NCB2_Internal1:
347       - NCB2_NCB2_Internal1
348       - link
349       dependency_NCB2:
350       - NCB2
351       - dependency