[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_NCB1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_NCB1
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.NCB1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_NCB1_Internal2_mac_address:
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_NCB1_Internal1_mac_address:
27       type: list
28       required: true
29       entry_schema:
30         type: string
31     port_NCB1_Internal1_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     compute_NCB1_name:
40       type: list
41       required: true
42       entry_schema:
43         type: string
44     port_NCB1_Internal1_mac_requirements:
45       type: list
46       required: true
47       entry_schema:
48         type: org.openecomp.datatypes.network.MacRequirements
49     port_NCB1_Internal2_mac_requirements:
50       type: list
51       required: true
52       entry_schema:
53         type: org.openecomp.datatypes.network.MacRequirements
54     port_NCB1_Internal1_network:
55       type: list
56       required: true
57       entry_schema:
58         type: string
59     compute_NCB1_availability_zone:
60       type: list
61       required: true
62       entry_schema:
63         type: string
64     vm_image_name:
65       type: string
66       required: true
67     port_NCB1_Internal2_ip_requirements:
68       type: list
69       required: true
70       entry_schema:
71         type: json
72     port_NCB1_Internal2_network:
73       type: list
74       required: true
75       entry_schema:
76         type: string
77   node_templates:
78     NCB1:
79       type: org.openecomp.resource.vfc.nodes.heat.NCB1
80       properties:
81         availability_zone:
82           get_input:
83           - compute_NCB1_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_NCB1_name
92           - index_value
93     NCB1_NCB1_Internal1:
94       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
95       properties:
96         ip_requirements:
97           get_input:
98           - port_NCB1_Internal1_ip_requirements
99           - index_value
100         mac_requirements:
101           get_input:
102           - port_NCB1_Internal1_mac_requirements
103           - index_value
104         network:
105           get_input:
106           - port_NCB1_Internal1_network
107           - index_value
108         mac_address:
109           get_input:
110           - port_NCB1_Internal1_mac_address
111           - index_value
112       requirements:
113       - binding:
114           capability: tosca.capabilities.network.Bindable
115           node: NCB1
116           relationship: tosca.relationships.network.BindsTo
117     NCB1_NCB1_Internal2:
118       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
119       properties:
120         ip_requirements:
121           get_input:
122           - port_NCB1_Internal2_ip_requirements
123           - index_value
124         mac_requirements:
125           get_input:
126           - port_NCB1_Internal2_mac_requirements
127           - index_value
128         network:
129           get_input:
130           - port_NCB1_Internal2_network
131           - index_value
132         mac_address:
133           get_input:
134           - port_NCB1_Internal2_mac_address
135           - index_value
136       requirements:
137       - binding:
138           capability: tosca.capabilities.network.Bindable
139           node: NCB1
140           relationship: tosca.relationships.network.BindsTo
141   substitution_mappings:
142     node_type: org.openecomp.resource.abstract.nodes.NCB1
143     capabilities:
144       disk.device.write.bytes.rate_NCB1:
145       - NCB1
146       - disk.device.write.bytes.rate
147       memory.resident_NCB1:
148       - NCB1
149       - memory.resident
150       disk.root.size_NCB1:
151       - NCB1
152       - disk.root.size
153       instance_NCB1:
154       - NCB1
155       - instance
156       disk.device.read.bytes.rate_NCB1:
157       - NCB1
158       - disk.device.read.bytes.rate
159       disk.write.requests.rate_NCB1:
160       - NCB1
161       - disk.write.requests.rate
162       cpu_NCB1:
163       - NCB1
164       - cpu
165       binding_NCB1_NCB1_Internal1:
166       - NCB1_NCB1_Internal1
167       - binding
168       binding_NCB1_NCB1_Internal2:
169       - NCB1_NCB1_Internal2
170       - binding
171       cpu.delta_NCB1:
172       - NCB1
173       - cpu.delta
174       disk.device.capacity_NCB1:
175       - NCB1
176       - disk.device.capacity
177       binding_NCB1:
178       - NCB1
179       - binding
180       disk.device.read.bytes_NCB1:
181       - NCB1
182       - disk.device.read.bytes
183       network.outgoing.bytes.rate_NCB1_NCB1_Internal1:
184       - NCB1_NCB1_Internal1
185       - network.outgoing.bytes.rate
186       network.outgoing.bytes.rate_NCB1_NCB1_Internal2:
187       - NCB1_NCB1_Internal2
188       - network.outgoing.bytes.rate
189       disk.device.allocation_NCB1:
190       - NCB1
191       - disk.device.allocation
192       disk.usage_NCB1:
193       - NCB1
194       - disk.usage
195       network.incoming.bytes.rate_NCB1_NCB1_Internal2:
196       - NCB1_NCB1_Internal2
197       - network.incoming.bytes.rate
198       network.incoming.packets_NCB1_NCB1_Internal2:
199       - NCB1_NCB1_Internal2
200       - network.incoming.packets
201       disk.ephemeral.size_NCB1:
202       - NCB1
203       - disk.ephemeral.size
204       network.incoming.bytes.rate_NCB1_NCB1_Internal1:
205       - NCB1_NCB1_Internal1
206       - network.incoming.bytes.rate
207       network.incoming.packets_NCB1_NCB1_Internal1:
208       - NCB1_NCB1_Internal1
209       - network.incoming.packets
210       disk.allocation_NCB1:
211       - NCB1
212       - disk.allocation
213       disk.write.bytes_NCB1:
214       - NCB1
215       - disk.write.bytes
216       disk.device.latency_NCB1:
217       - NCB1
218       - disk.device.latency
219       network.outpoing.packets_NCB1_NCB1_Internal1:
220       - NCB1_NCB1_Internal1
221       - network.outpoing.packets
222       network.incoming.packets.rate_NCB1_NCB1_Internal2:
223       - NCB1_NCB1_Internal2
224       - network.incoming.packets.rate
225       network.incoming.packets.rate_NCB1_NCB1_Internal1:
226       - NCB1_NCB1_Internal1
227       - network.incoming.packets.rate
228       vcpus_NCB1:
229       - NCB1
230       - vcpus
231       feature_NCB1_NCB1_Internal2:
232       - NCB1_NCB1_Internal2
233       - feature
234       endpoint_NCB1:
235       - NCB1
236       - endpoint
237       network.outgoing.bytes_NCB1_NCB1_Internal2:
238       - NCB1_NCB1_Internal2
239       - network.outgoing.bytes
240       disk.device.iops_NCB1:
241       - NCB1
242       - disk.device.iops
243       network.outgoing.bytes_NCB1_NCB1_Internal1:
244       - NCB1_NCB1_Internal1
245       - network.outgoing.bytes
246       feature_NCB1:
247       - NCB1
248       - feature
249       network.outpoing.packets_NCB1_NCB1_Internal2:
250       - NCB1_NCB1_Internal2
251       - network.outpoing.packets
252       feature_NCB1_NCB1_Internal1:
253       - NCB1_NCB1_Internal1
254       - feature
255       disk.read.requests_NCB1:
256       - NCB1
257       - disk.read.requests
258       disk.device.write.requests_NCB1:
259       - NCB1
260       - disk.device.write.requests
261       memory.usage_NCB1:
262       - NCB1
263       - memory.usage
264       attachment_NCB1_NCB1_Internal2:
265       - NCB1_NCB1_Internal2
266       - attachment
267       network.outgoing.packets.rate_NCB1_NCB1_Internal2:
268       - NCB1_NCB1_Internal2
269       - network.outgoing.packets.rate
270       attachment_NCB1_NCB1_Internal1:
271       - NCB1_NCB1_Internal1
272       - attachment
273       network.outgoing.packets.rate_NCB1_NCB1_Internal1:
274       - NCB1_NCB1_Internal1
275       - network.outgoing.packets.rate
276       disk.write.bytes.rate_NCB1:
277       - NCB1
278       - disk.write.bytes.rate
279       disk.device.read.requests_NCB1:
280       - NCB1
281       - disk.device.read.requests
282       memory_NCB1:
283       - NCB1
284       - memory
285       disk.device.write.bytes_NCB1:
286       - NCB1
287       - disk.device.write.bytes
288       disk.device.read.requests.rate_NCB1:
289       - NCB1
290       - disk.device.read.requests.rate
291       disk.read.bytes_NCB1:
292       - NCB1
293       - disk.read.bytes
294       disk.read.bytes.rate_NCB1:
295       - NCB1
296       - disk.read.bytes.rate
297       disk.capacity_NCB1:
298       - NCB1
299       - disk.capacity
300       disk.device.write.requests.rate_NCB1:
301       - NCB1
302       - disk.device.write.requests.rate
303       scalable_NCB1:
304       - NCB1
305       - scalable
306       disk.iops_NCB1:
307       - NCB1
308       - disk.iops
309       os_NCB1:
310       - NCB1
311       - os
312       network.incoming.bytes_NCB1_NCB1_Internal2:
313       - NCB1_NCB1_Internal2
314       - network.incoming.bytes
315       network.incoming.bytes_NCB1_NCB1_Internal1:
316       - NCB1_NCB1_Internal1
317       - network.incoming.bytes
318       disk.write.requests_NCB1:
319       - NCB1
320       - disk.write.requests
321       disk.latency_NCB1:
322       - NCB1
323       - disk.latency
324       host_NCB1:
325       - NCB1
326       - host
327       cpu_util_NCB1:
328       - NCB1
329       - cpu_util
330       disk.device.usage_NCB1:
331       - NCB1
332       - disk.device.usage
333     requirements:
334       link_NCB1_NCB1_Internal1:
335       - NCB1_NCB1_Internal1
336       - link
337       local_storage_NCB1:
338       - NCB1
339       - local_storage
340       link_NCB1_NCB1_Internal2:
341       - NCB1_NCB1_Internal2
342       - link
343       dependency_NCB1_NCB1_Internal1:
344       - NCB1_NCB1_Internal1
345       - dependency
346       dependency_NCB1:
347       - NCB1
348       - dependency
349       dependency_NCB1_NCB1_Internal2:
350       - NCB1_NCB1_Internal2
351       - dependency