[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_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_Internal1_network_role:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_NCB1_Internal2_network_role:
20       type: list
21       required: true
22       entry_schema:
23         type: string
24     port_NCB1_Internal1_network_role_tag:
25       type: list
26       required: true
27       entry_schema:
28         type: string
29     vm_flavor_name:
30       type: string
31       required: true
32     compute_NCB1_name:
33       type: list
34       required: true
35       entry_schema:
36         type: string
37     port_NCB1_Internal2_mac_requirements:
38       type: list
39       required: true
40       entry_schema:
41         type: json
42     vm_image_name:
43       type: string
44       required: true
45     port_NCB1_Internal2_order:
46       type: list
47       required: true
48       entry_schema:
49         type: integer
50     port_NCB1_Internal2_ip_requirements:
51       type: list
52       required: true
53       entry_schema:
54         type: json
55     port_NCB1_Internal1_exCP_naming:
56       type: list
57       required: true
58       entry_schema:
59         type: json
60     port_NCB1_Internal1_subnetpoolid:
61       type: list
62       required: true
63       entry_schema:
64         type: string
65     port_NCB1_Internal2_vlan_requirements:
66       type: list
67       required: true
68       entry_schema:
69         type: json
70     port_NCB1_Internal2_subnetpoolid:
71       type: list
72       required: true
73       entry_schema:
74         type: string
75     port_NCB1_Internal2_mac_address:
76       type: list
77       required: true
78       entry_schema:
79         type: string
80     index_value:
81       type: integer
82       description: Index value of this substitution service template runtime instance
83       required: false
84       default: 0
85       constraints:
86       - greater_or_equal: 0
87     port_NCB1_Internal1_mac_address:
88       type: list
89       required: true
90       entry_schema:
91         type: string
92     port_NCB1_Internal1_order:
93       type: list
94       required: true
95       entry_schema:
96         type: integer
97     port_NCB1_Internal2_exCP_naming:
98       type: list
99       required: true
100       entry_schema:
101         type: json
102     port_NCB1_Internal1_ip_requirements:
103       type: list
104       required: true
105       entry_schema:
106         type: json
107     port_NCB1_Internal1_vlan_requirements:
108       type: list
109       required: true
110       entry_schema:
111         type: json
112     port_NCB1_Internal1_mac_requirements:
113       type: list
114       required: true
115       entry_schema:
116         type: json
117     port_NCB1_Internal1_network:
118       type: list
119       required: true
120       entry_schema:
121         type: string
122     compute_NCB1_availability_zone:
123       type: list
124       required: true
125       entry_schema:
126         type: string
127     port_NCB1_Internal2_network_role_tag:
128       type: list
129       required: true
130       entry_schema:
131         type: string
132     port_NCB1_Internal2_network:
133       type: list
134       required: true
135       entry_schema:
136         type: string
137   node_templates:
138     NCB1:
139       type: org.openecomp.resource.vfc.nodes.heat.NCB1
140       properties:
141         availability_zone:
142           get_input:
143           - compute_NCB1_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_NCB1_name
152           - index_value
153     NCB1_NCB1_Internal1:
154       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
155       properties:
156         exCP_naming:
157           get_input:
158           - port_NCB1_Internal1_exCP_naming
159           - index_value
160         vlan_requirements:
161           get_input:
162           - port_NCB1_Internal1_vlan_requirements
163           - index_value
164         ip_requirements:
165           get_input:
166           - port_NCB1_Internal1_ip_requirements
167           - index_value
168         network_role_tag:
169           get_input:
170           - port_NCB1_Internal1_network_role_tag
171           - index_value
172         mac_requirements:
173           get_input:
174           - port_NCB1_Internal1_mac_requirements
175           - index_value
176         order:
177           get_input:
178           - port_NCB1_Internal1_order
179           - index_value
180         network_role:
181           get_input:
182           - port_NCB1_Internal1_network_role
183           - index_value
184         subnetpoolid:
185           get_input:
186           - port_NCB1_Internal1_subnetpoolid
187           - index_value
188         network:
189           get_input:
190           - port_NCB1_Internal1_network
191           - index_value
192         mac_address:
193           get_input:
194           - port_NCB1_Internal1_mac_address
195           - index_value
196       requirements:
197       - binding:
198           capability: tosca.capabilities.network.Bindable
199           node: NCB1
200           relationship: tosca.relationships.network.BindsTo
201     NCB1_NCB1_Internal2:
202       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
203       properties:
204         exCP_naming:
205           get_input:
206           - port_NCB1_Internal2_exCP_naming
207           - index_value
208         vlan_requirements:
209           get_input:
210           - port_NCB1_Internal2_vlan_requirements
211           - index_value
212         ip_requirements:
213           get_input:
214           - port_NCB1_Internal2_ip_requirements
215           - index_value
216         network_role_tag:
217           get_input:
218           - port_NCB1_Internal2_network_role_tag
219           - index_value
220         mac_requirements:
221           get_input:
222           - port_NCB1_Internal2_mac_requirements
223           - index_value
224         order:
225           get_input:
226           - port_NCB1_Internal2_order
227           - index_value
228         network_role:
229           get_input:
230           - port_NCB1_Internal2_network_role
231           - index_value
232         subnetpoolid:
233           get_input:
234           - port_NCB1_Internal2_subnetpoolid
235           - index_value
236         network:
237           get_input:
238           - port_NCB1_Internal2_network
239           - index_value
240         mac_address:
241           get_input:
242           - port_NCB1_Internal2_mac_address
243           - index_value
244       requirements:
245       - binding:
246           capability: tosca.capabilities.network.Bindable
247           node: NCB1
248           relationship: tosca.relationships.network.BindsTo
249   substitution_mappings:
250     node_type: org.openecomp.resource.abstract.nodes.NCB1
251     capabilities:
252       disk.device.write.bytes.rate_NCB1:
253       - NCB1
254       - disk.device.write.bytes.rate
255       memory.resident_NCB1:
256       - NCB1
257       - memory.resident
258       disk.root.size_NCB1:
259       - NCB1
260       - disk.root.size
261       instance_NCB1:
262       - NCB1
263       - instance
264       disk.device.read.bytes.rate_NCB1:
265       - NCB1
266       - disk.device.read.bytes.rate
267       disk.write.requests.rate_NCB1:
268       - NCB1
269       - disk.write.requests.rate
270       cpu_NCB1:
271       - NCB1
272       - cpu
273       binding_NCB1_NCB1_Internal1:
274       - NCB1_NCB1_Internal1
275       - binding
276       binding_NCB1_NCB1_Internal2:
277       - NCB1_NCB1_Internal2
278       - binding
279       cpu.delta_NCB1:
280       - NCB1
281       - cpu.delta
282       disk.device.capacity_NCB1:
283       - NCB1
284       - disk.device.capacity
285       binding_NCB1:
286       - NCB1
287       - binding
288       disk.device.read.bytes_NCB1:
289       - NCB1
290       - disk.device.read.bytes
291       network.outgoing.bytes.rate_NCB1_NCB1_Internal1:
292       - NCB1_NCB1_Internal1
293       - network.outgoing.bytes.rate
294       network.outgoing.bytes.rate_NCB1_NCB1_Internal2:
295       - NCB1_NCB1_Internal2
296       - network.outgoing.bytes.rate
297       disk.device.allocation_NCB1:
298       - NCB1
299       - disk.device.allocation
300       disk.usage_NCB1:
301       - NCB1
302       - disk.usage
303       network.incoming.bytes.rate_NCB1_NCB1_Internal2:
304       - NCB1_NCB1_Internal2
305       - network.incoming.bytes.rate
306       network.incoming.packets_NCB1_NCB1_Internal2:
307       - NCB1_NCB1_Internal2
308       - network.incoming.packets
309       disk.ephemeral.size_NCB1:
310       - NCB1
311       - disk.ephemeral.size
312       network.incoming.bytes.rate_NCB1_NCB1_Internal1:
313       - NCB1_NCB1_Internal1
314       - network.incoming.bytes.rate
315       network.incoming.packets_NCB1_NCB1_Internal1:
316       - NCB1_NCB1_Internal1
317       - network.incoming.packets
318       disk.allocation_NCB1:
319       - NCB1
320       - disk.allocation
321       disk.write.bytes_NCB1:
322       - NCB1
323       - disk.write.bytes
324       disk.device.latency_NCB1:
325       - NCB1
326       - disk.device.latency
327       network.outpoing.packets_NCB1_NCB1_Internal1:
328       - NCB1_NCB1_Internal1
329       - network.outpoing.packets
330       network.incoming.packets.rate_NCB1_NCB1_Internal2:
331       - NCB1_NCB1_Internal2
332       - network.incoming.packets.rate
333       network.incoming.packets.rate_NCB1_NCB1_Internal1:
334       - NCB1_NCB1_Internal1
335       - network.incoming.packets.rate
336       vcpus_NCB1:
337       - NCB1
338       - vcpus
339       feature_NCB1_NCB1_Internal2:
340       - NCB1_NCB1_Internal2
341       - feature
342       endpoint_NCB1:
343       - NCB1
344       - endpoint
345       network.outgoing.bytes_NCB1_NCB1_Internal2:
346       - NCB1_NCB1_Internal2
347       - network.outgoing.bytes
348       disk.device.iops_NCB1:
349       - NCB1
350       - disk.device.iops
351       network.outgoing.bytes_NCB1_NCB1_Internal1:
352       - NCB1_NCB1_Internal1
353       - network.outgoing.bytes
354       feature_NCB1:
355       - NCB1
356       - feature
357       network.outpoing.packets_NCB1_NCB1_Internal2:
358       - NCB1_NCB1_Internal2
359       - network.outpoing.packets
360       feature_NCB1_NCB1_Internal1:
361       - NCB1_NCB1_Internal1
362       - feature
363       disk.read.requests_NCB1:
364       - NCB1
365       - disk.read.requests
366       disk.device.write.requests_NCB1:
367       - NCB1
368       - disk.device.write.requests
369       memory.usage_NCB1:
370       - NCB1
371       - memory.usage
372       attachment_NCB1_NCB1_Internal2:
373       - NCB1_NCB1_Internal2
374       - attachment
375       network.outgoing.packets.rate_NCB1_NCB1_Internal2:
376       - NCB1_NCB1_Internal2
377       - network.outgoing.packets.rate
378       attachment_NCB1_NCB1_Internal1:
379       - NCB1_NCB1_Internal1
380       - attachment
381       network.outgoing.packets.rate_NCB1_NCB1_Internal1:
382       - NCB1_NCB1_Internal1
383       - network.outgoing.packets.rate
384       disk.write.bytes.rate_NCB1:
385       - NCB1
386       - disk.write.bytes.rate
387       disk.device.read.requests_NCB1:
388       - NCB1
389       - disk.device.read.requests
390       memory_NCB1:
391       - NCB1
392       - memory
393       disk.device.write.bytes_NCB1:
394       - NCB1
395       - disk.device.write.bytes
396       disk.device.read.requests.rate_NCB1:
397       - NCB1
398       - disk.device.read.requests.rate
399       disk.read.bytes_NCB1:
400       - NCB1
401       - disk.read.bytes
402       disk.read.bytes.rate_NCB1:
403       - NCB1
404       - disk.read.bytes.rate
405       disk.capacity_NCB1:
406       - NCB1
407       - disk.capacity
408       disk.device.write.requests.rate_NCB1:
409       - NCB1
410       - disk.device.write.requests.rate
411       scalable_NCB1:
412       - NCB1
413       - scalable
414       disk.iops_NCB1:
415       - NCB1
416       - disk.iops
417       os_NCB1:
418       - NCB1
419       - os
420       network.incoming.bytes_NCB1_NCB1_Internal2:
421       - NCB1_NCB1_Internal2
422       - network.incoming.bytes
423       network.incoming.bytes_NCB1_NCB1_Internal1:
424       - NCB1_NCB1_Internal1
425       - network.incoming.bytes
426       disk.write.requests_NCB1:
427       - NCB1
428       - disk.write.requests
429       disk.latency_NCB1:
430       - NCB1
431       - disk.latency
432       host_NCB1:
433       - NCB1
434       - host
435       cpu_util_NCB1:
436       - NCB1
437       - cpu_util
438       disk.device.usage_NCB1:
439       - NCB1
440       - disk.device.usage
441     requirements:
442       link_NCB1_NCB1_Internal1:
443       - NCB1_NCB1_Internal1
444       - link
445       local_storage_NCB1:
446       - NCB1
447       - local_storage
448       link_NCB1_NCB1_Internal2:
449       - NCB1_NCB1_Internal2
450       - link
451       dependency_NCB1_NCB1_Internal1:
452       - NCB1_NCB1_Internal1
453       - dependency
454       dependency_NCB1:
455       - NCB1
456       - dependency
457       dependency_NCB1_NCB1_Internal2:
458       - NCB1_NCB1_Internal2
459       - dependency