[SDC-29] rebase continue work to align source
[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     compute_NCB2_availability_zone:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     vm_flavor_name:
20       type: string
21       required: true
22     port_NCB2_Internal2_mac_requirements:
23       type: list
24       required: true
25       entry_schema:
26         type: json
27     port_NCB2_Internal1_mac_requirements:
28       type: list
29       required: true
30       entry_schema:
31         type: json
32     vm_image_name:
33       type: string
34       required: true
35     port_NCB2_Internal1_exCP_naming:
36       type: list
37       required: true
38       entry_schema:
39         type: json
40     port_NCB2_Internal2_exCP_naming:
41       type: list
42       required: true
43       entry_schema:
44         type: json
45     port_NCB2_Internal1_order:
46       type: list
47       required: true
48       entry_schema:
49         type: integer
50     port_NCB2_Internal1_network_role:
51       type: list
52       required: true
53       entry_schema:
54         type: string
55     port_NCB2_Internal2_network_role:
56       type: list
57       required: true
58       entry_schema:
59         type: string
60     index_value:
61       type: integer
62       description: Index value of this substitution service template runtime instance
63       required: false
64       default: 0
65       constraints:
66       - greater_or_equal: 0
67     port_NCB2_Internal1_network:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_NCB2_Internal2_ip_requirements:
73       type: list
74       required: true
75       entry_schema:
76         type: json
77     port_NCB2_Internal2_network_role_tag:
78       type: list
79       required: true
80       entry_schema:
81         type: string
82     port_NCB2_Internal2_network:
83       type: list
84       required: true
85       entry_schema:
86         type: string
87     port_NCB2_Internal2_vlan_requirements:
88       type: list
89       required: true
90       entry_schema:
91         type: json
92     port_NCB2_Internal1_mac_address:
93       type: list
94       required: true
95       entry_schema:
96         type: string
97     port_NCB2_Internal2_mac_address:
98       type: list
99       required: true
100       entry_schema:
101         type: string
102     port_NCB2_Internal1_subnetpoolid:
103       type: list
104       required: true
105       entry_schema:
106         type: string
107     port_NCB2_Internal1_network_role_tag:
108       type: list
109       required: true
110       entry_schema:
111         type: string
112     port_NCB2_Internal2_order:
113       type: list
114       required: true
115       entry_schema:
116         type: integer
117     compute_NCB2_name:
118       type: list
119       required: true
120       entry_schema:
121         type: string
122     port_NCB2_Internal1_vlan_requirements:
123       type: list
124       required: true
125       entry_schema:
126         type: json
127     port_NCB2_Internal2_subnetpoolid:
128       type: list
129       required: true
130       entry_schema:
131         type: string
132     port_NCB2_Internal1_ip_requirements:
133       type: list
134       required: true
135       entry_schema:
136         type: json
137   node_templates:
138     NCB2:
139       type: org.openecomp.resource.vfc.nodes.heat.NCB2
140       properties:
141         availability_zone:
142           get_input:
143           - compute_NCB2_availability_zone
144           - index_value
145         flavor:
146           get_input: vm_flavor_name
147         image:
148           get_input: vm_image_name
149         name:
150           get_input:
151           - compute_NCB2_name
152           - index_value
153     NCB2_NCB2_Internal1:
154       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
155       properties:
156         exCP_naming:
157           get_input:
158           - port_NCB2_Internal1_exCP_naming
159           - index_value
160         vlan_requirements:
161           get_input:
162           - port_NCB2_Internal1_vlan_requirements
163           - index_value
164         ip_requirements:
165           get_input:
166           - port_NCB2_Internal1_ip_requirements
167           - index_value
168         network_role_tag:
169           get_input:
170           - port_NCB2_Internal1_network_role_tag
171           - index_value
172         mac_requirements:
173           get_input:
174           - port_NCB2_Internal1_mac_requirements
175           - index_value
176         order:
177           get_input:
178           - port_NCB2_Internal1_order
179           - index_value
180         network_role:
181           get_input:
182           - port_NCB2_Internal1_network_role
183           - index_value
184         subnetpoolid:
185           get_input:
186           - port_NCB2_Internal1_subnetpoolid
187           - index_value
188         network:
189           get_input:
190           - port_NCB2_Internal1_network
191           - index_value
192         mac_address:
193           get_input:
194           - port_NCB2_Internal1_mac_address
195           - index_value
196       requirements:
197       - binding:
198           capability: tosca.capabilities.network.Bindable
199           node: NCB2
200           relationship: tosca.relationships.network.BindsTo
201     NCB2_NCB2_Internal2:
202       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
203       properties:
204         exCP_naming:
205           get_input:
206           - port_NCB2_Internal2_exCP_naming
207           - index_value
208         vlan_requirements:
209           get_input:
210           - port_NCB2_Internal2_vlan_requirements
211           - index_value
212         ip_requirements:
213           get_input:
214           - port_NCB2_Internal2_ip_requirements
215           - index_value
216         network_role_tag:
217           get_input:
218           - port_NCB2_Internal2_network_role_tag
219           - index_value
220         mac_requirements:
221           get_input:
222           - port_NCB2_Internal2_mac_requirements
223           - index_value
224         order:
225           get_input:
226           - port_NCB2_Internal2_order
227           - index_value
228         network_role:
229           get_input:
230           - port_NCB2_Internal2_network_role
231           - index_value
232         subnetpoolid:
233           get_input:
234           - port_NCB2_Internal2_subnetpoolid
235           - index_value
236         network:
237           get_input:
238           - port_NCB2_Internal2_network
239           - index_value
240         mac_address:
241           get_input:
242           - port_NCB2_Internal2_mac_address
243           - index_value
244       requirements:
245       - binding:
246           capability: tosca.capabilities.network.Bindable
247           node: NCB2
248           relationship: tosca.relationships.network.BindsTo
249   substitution_mappings:
250     node_type: org.openecomp.resource.abstract.nodes.NCB2
251     capabilities:
252       disk.device.write.bytes.rate_NCB2:
253       - NCB2
254       - disk.device.write.bytes.rate
255       memory.resident_NCB2:
256       - NCB2
257       - memory.resident
258       network.outgoing.packets.rate_NCB2_NCB2_Internal2:
259       - NCB2_NCB2_Internal2
260       - network.outgoing.packets.rate
261       network.outgoing.packets.rate_NCB2_NCB2_Internal1:
262       - NCB2_NCB2_Internal1
263       - network.outgoing.packets.rate
264       disk.root.size_NCB2:
265       - NCB2
266       - disk.root.size
267       instance_NCB2:
268       - NCB2
269       - instance
270       cpu_NCB2:
271       - NCB2
272       - cpu
273       attachment_NCB2_NCB2_Internal2:
274       - NCB2_NCB2_Internal2
275       - attachment
276       disk.write.requests.rate_NCB2:
277       - NCB2
278       - disk.write.requests.rate
279       attachment_NCB2_NCB2_Internal1:
280       - NCB2_NCB2_Internal1
281       - attachment
282       feature_NCB2_NCB2_Internal1:
283       - NCB2_NCB2_Internal1
284       - feature
285       disk.device.read.bytes.rate_NCB2:
286       - NCB2
287       - disk.device.read.bytes.rate
288       cpu.delta_NCB2:
289       - NCB2
290       - cpu.delta
291       network.outpoing.packets_NCB2_NCB2_Internal2:
292       - NCB2_NCB2_Internal2
293       - network.outpoing.packets
294       disk.device.capacity_NCB2:
295       - NCB2
296       - disk.device.capacity
297       feature_NCB2_NCB2_Internal2:
298       - NCB2_NCB2_Internal2
299       - feature
300       network.outgoing.bytes.rate_NCB2_NCB2_Internal2:
301       - NCB2_NCB2_Internal2
302       - network.outgoing.bytes.rate
303       network.outgoing.bytes.rate_NCB2_NCB2_Internal1:
304       - NCB2_NCB2_Internal1
305       - network.outgoing.bytes.rate
306       network.incoming.bytes_NCB2_NCB2_Internal1:
307       - NCB2_NCB2_Internal1
308       - network.incoming.bytes
309       network.incoming.bytes_NCB2_NCB2_Internal2:
310       - NCB2_NCB2_Internal2
311       - network.incoming.bytes
312       network.outpoing.packets_NCB2_NCB2_Internal1:
313       - NCB2_NCB2_Internal1
314       - network.outpoing.packets
315       binding_NCB2:
316       - NCB2
317       - binding
318       network.incoming.packets.rate_NCB2_NCB2_Internal1:
319       - NCB2_NCB2_Internal1
320       - network.incoming.packets.rate
321       network.incoming.packets.rate_NCB2_NCB2_Internal2:
322       - NCB2_NCB2_Internal2
323       - network.incoming.packets.rate
324       disk.read.bytes_NCB2:
325       - NCB2
326       - disk.read.bytes
327       disk.device.read.bytes_NCB2:
328       - NCB2
329       - disk.device.read.bytes
330       disk.usage_NCB2:
331       - NCB2
332       - disk.usage
333       disk.device.allocation_NCB2:
334       - NCB2
335       - disk.device.allocation
336       disk.ephemeral.size_NCB2:
337       - NCB2
338       - disk.ephemeral.size
339       network.outgoing.bytes_NCB2_NCB2_Internal1:
340       - NCB2_NCB2_Internal1
341       - network.outgoing.bytes
342       network.outgoing.bytes_NCB2_NCB2_Internal2:
343       - NCB2_NCB2_Internal2
344       - network.outgoing.bytes
345       disk.allocation_NCB2:
346       - NCB2
347       - disk.allocation
348       disk.write.bytes_NCB2:
349       - NCB2
350       - disk.write.bytes
351       disk.device.latency_NCB2:
352       - NCB2
353       - disk.device.latency
354       binding_NCB2_NCB2_Internal1:
355       - NCB2_NCB2_Internal1
356       - binding
357       binding_NCB2_NCB2_Internal2:
358       - NCB2_NCB2_Internal2
359       - binding
360       network.incoming.bytes.rate_NCB2_NCB2_Internal1:
361       - NCB2_NCB2_Internal1
362       - network.incoming.bytes.rate
363       vcpus_NCB2:
364       - NCB2
365       - vcpus
366       memory.usage_NCB2:
367       - NCB2
368       - memory.usage
369       network.incoming.bytes.rate_NCB2_NCB2_Internal2:
370       - NCB2_NCB2_Internal2
371       - network.incoming.bytes.rate
372       endpoint_NCB2:
373       - NCB2
374       - endpoint
375       disk.device.iops_NCB2:
376       - NCB2
377       - disk.device.iops
378       disk.write.requests_NCB2:
379       - NCB2
380       - disk.write.requests
381       feature_NCB2:
382       - NCB2
383       - feature
384       os_NCB2:
385       - NCB2
386       - os
387       disk.read.requests_NCB2:
388       - NCB2
389       - disk.read.requests
390       disk.device.write.requests_NCB2:
391       - NCB2
392       - disk.device.write.requests
393       network.incoming.packets_NCB2_NCB2_Internal1:
394       - NCB2_NCB2_Internal1
395       - network.incoming.packets
396       network.incoming.packets_NCB2_NCB2_Internal2:
397       - NCB2_NCB2_Internal2
398       - network.incoming.packets
399       disk.device.read.requests_NCB2:
400       - NCB2
401       - disk.device.read.requests
402       disk.write.bytes.rate_NCB2:
403       - NCB2
404       - disk.write.bytes.rate
405       memory_NCB2:
406       - NCB2
407       - memory
408       disk.device.write.bytes_NCB2:
409       - NCB2
410       - disk.device.write.bytes
411       disk.device.read.requests.rate_NCB2:
412       - NCB2
413       - disk.device.read.requests.rate
414       scalable_NCB2:
415       - NCB2
416       - scalable
417       disk.capacity_NCB2:
418       - NCB2
419       - disk.capacity
420       disk.read.bytes.rate_NCB2:
421       - NCB2
422       - disk.read.bytes.rate
423       disk.iops_NCB2:
424       - NCB2
425       - disk.iops
426       host_NCB2:
427       - NCB2
428       - host
429       disk.latency_NCB2:
430       - NCB2
431       - disk.latency
432       cpu_util_NCB2:
433       - NCB2
434       - cpu_util
435       disk.device.usage_NCB2:
436       - NCB2
437       - disk.device.usage
438       disk.device.write.requests.rate_NCB2:
439       - NCB2
440       - disk.device.write.requests.rate
441     requirements:
442       link_NCB2_NCB2_Internal2:
443       - NCB2_NCB2_Internal2
444       - link
445       dependency_NCB2_NCB2_Internal1:
446       - NCB2_NCB2_Internal1
447       - dependency
448       dependency_NCB2_NCB2_Internal2:
449       - NCB2_NCB2_Internal2
450       - dependency
451       local_storage_NCB2:
452       - NCB2
453       - local_storage
454       link_NCB2_NCB2_Internal1:
455       - NCB2_NCB2_Internal1
456       - link
457       dependency_NCB2:
458       - NCB2
459       - dependency