[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 / unifiedComposition / creSubstitutionServiceTemplate / WithOutputParameters / consolidation / out / SubstitutionServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_FSB1
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.FSB1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_FSB1_Internal_mac_address:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_FSB1_Internal_ip_requirements:
20       type: list
21       required: true
22       entry_schema:
23         type: json
24     port_FSB1_Internal_subnetpoolid:
25       type: list
26       required: true
27       entry_schema:
28         type: string
29     compute_FSB1_metadata:
30       type: list
31       required: true
32       entry_schema:
33         type: json
34     port_FSB2_Internal_vlan_requirements:
35       type: list
36       required: true
37       entry_schema:
38         type: json
39     port_FSB2_Internal_order:
40       type: list
41       required: true
42       entry_schema:
43         type: integer
44     port_FSB2_Internal_ip_requirements:
45       type: list
46       required: true
47       entry_schema:
48         type: json
49     vm_flavor_name:
50       type: string
51       required: true
52     port_FSB2_Internal_network_role:
53       type: list
54       required: true
55       entry_schema:
56         type: string
57     port_FSB1_Internal_network_role_tag:
58       type: list
59       required: true
60       entry_schema:
61         type: string
62     port_FSB1_Internal_vlan_requirements:
63       type: list
64       required: true
65       entry_schema:
66         type: json
67     port_FSB2_Internal_subnetpoolid:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_FSB1_Internal_exCP_naming:
73       type: list
74       required: true
75       entry_schema:
76         type: json
77     port_FSB1_Internal_network_role:
78       type: list
79       required: true
80       entry_schema:
81         type: string
82     compute_FSB1_availability_zone:
83       type: list
84       required: true
85       entry_schema:
86         type: string
87     port_FSB1_Internal_network:
88       type: list
89       required: true
90       entry_schema:
91         type: string
92     index_value:
93       type: integer
94       description: Index value of this substitution service template runtime instance
95       required: false
96       default: 0
97       constraints:
98       - greater_or_equal: 0
99     port_FSB2_Internal_mac_requirements:
100       type: list
101       required: true
102       entry_schema:
103         type: json
104     port_FSB2_Internal_mac_address:
105       type: list
106       required: true
107       entry_schema:
108         type: string
109     port_FSB2_Internal_exCP_naming:
110       type: list
111       required: true
112       entry_schema:
113         type: json
114     port_FSB1_Internal_order:
115       type: list
116       required: true
117       entry_schema:
118         type: integer
119     port_FSB2_Internal_network:
120       type: list
121       required: true
122       entry_schema:
123         type: string
124     port_FSB1_Internal_mac_requirements:
125       type: list
126       required: true
127       entry_schema:
128         type: json
129     compute_FSB1_name:
130       type: list
131       required: true
132       entry_schema:
133         type: string
134     port_FSB2_Internal_network_role_tag:
135       type: list
136       required: true
137       entry_schema:
138         type: string
139   node_templates:
140     FSB1_FSB1_Internal:
141       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
142       properties:
143         exCP_naming:
144           get_input:
145           - port_FSB1_Internal_exCP_naming
146           - index_value
147         vlan_requirements:
148           get_input:
149           - port_FSB1_Internal_vlan_requirements
150           - index_value
151         ip_requirements:
152           get_input:
153           - port_FSB1_Internal_ip_requirements
154           - index_value
155         network_role_tag:
156           get_input:
157           - port_FSB1_Internal_network_role_tag
158           - index_value
159         mac_requirements:
160           get_input:
161           - port_FSB1_Internal_mac_requirements
162           - index_value
163         order:
164           get_input:
165           - port_FSB1_Internal_order
166           - index_value
167         network_role:
168           get_input:
169           - port_FSB1_Internal_network_role
170           - index_value
171         subnetpoolid:
172           get_input:
173           - port_FSB1_Internal_subnetpoolid
174           - index_value
175         network:
176           get_input:
177           - port_FSB1_Internal_network
178           - index_value
179         mac_address:
180           get_input:
181           - port_FSB1_Internal_mac_address
182           - index_value
183       requirements:
184       - binding:
185           capability: tosca.capabilities.network.Bindable
186           node: FSB1
187           relationship: tosca.relationships.network.BindsTo
188     FSB1_FSB2_Internal:
189       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
190       properties:
191         exCP_naming:
192           get_input:
193           - port_FSB2_Internal_exCP_naming
194           - index_value
195         vlan_requirements:
196           get_input:
197           - port_FSB2_Internal_vlan_requirements
198           - index_value
199         ip_requirements:
200           get_input:
201           - port_FSB2_Internal_ip_requirements
202           - index_value
203         network_role_tag:
204           get_input:
205           - port_FSB2_Internal_network_role_tag
206           - index_value
207         mac_requirements:
208           get_input:
209           - port_FSB2_Internal_mac_requirements
210           - index_value
211         order:
212           get_input:
213           - port_FSB2_Internal_order
214           - index_value
215         network_role:
216           get_input:
217           - port_FSB2_Internal_network_role
218           - index_value
219         subnetpoolid:
220           get_input:
221           - port_FSB2_Internal_subnetpoolid
222           - index_value
223         network:
224           get_input:
225           - port_FSB2_Internal_network
226           - index_value
227         mac_address:
228           get_input:
229           - port_FSB2_Internal_mac_address
230           - index_value
231       requirements:
232       - binding:
233           capability: tosca.capabilities.network.Bindable
234           node: FSB1
235           relationship: tosca.relationships.network.BindsTo
236     FSB1:
237       type: org.openecomp.resource.vfc.nodes.heat.FSB1
238       properties:
239         availability_zone:
240           get_input:
241           - compute_FSB1_availability_zone
242           - index_value
243         flavor:
244           get_input: vm_flavor_name
245         metadata:
246           get_input:
247           - compute_FSB1_metadata
248           - index_value
249         name:
250           get_input:
251           - compute_FSB1_name
252           - index_value
253       artifacts:
254         nimbus-ethernet-gw:
255           type: tosca.artifacts.Deployment
256           file: ../Artifacts/nimbus-ethernet-gw
257         nimbus-ethernet:
258           type: tosca.artifacts.Deployment
259           file: ../Artifacts/nimbus-ethernet
260   outputs:
261     FSB1_FSB1_Internal_network_id:
262       type: list
263       value:
264         get_attribute:
265         - FSB1_FSB1_Internal
266         - network_id
267       entry_schema:
268         type: string
269     FSB1_FSB1_Internal_addresses:
270       type: list
271       value:
272         get_attribute:
273         - FSB1_FSB1_Internal
274         - addresses
275       entry_schema:
276         type: string
277     FSB1_accessIPv6:
278       type: list
279       value:
280         get_attribute:
281         - FSB1
282         - accessIPv6
283       entry_schema:
284         type: string
285     FSB1_addresses:
286       type: list
287       value:
288         get_attribute:
289         - FSB1
290         - addresses
291       entry_schema:
292         type: string
293     FSB1_oam_index:
294       type: list
295       value:
296         get_attribute:
297         - FSB1
298         - oam_index
299       entry_schema:
300         type: string
301     FSB1_FSB2_Internal_network_id:
302       type: list
303       value:
304         get_attribute:
305         - FSB1_FSB2_Internal
306         - network_id
307       entry_schema:
308         type: string
309     FSB1_FSB2_Internal_index:
310       type: list
311       value:
312         get_attribute:
313         - FSB1_FSB2_Internal
314         - index
315       entry_schema:
316         type: string
317     FSB1_FSB1_Internal_oam_index:
318       type: list
319       value:
320         get_attribute:
321         - FSB1_FSB1_Internal
322         - oam_index
323       entry_schema:
324         type: string
325   substitution_mappings:
326     node_type: org.openecomp.resource.abstract.nodes.FSB1
327     capabilities:
328       binding_FSB1_FSB2_Internal:
329       - FSB1_FSB2_Internal
330       - binding
331       disk.capacity_FSB1:
332       - FSB1
333       - disk.capacity
334       disk.read.bytes.rate_FSB1:
335       - FSB1
336       - disk.read.bytes.rate
337       disk.device.latency_FSB1:
338       - FSB1
339       - disk.device.latency
340       disk.allocation_FSB1:
341       - FSB1
342       - disk.allocation
343       disk.read.bytes_FSB1:
344       - FSB1
345       - disk.read.bytes
346       disk.device.capacity_FSB1:
347       - FSB1
348       - disk.device.capacity
349       cpu_util_FSB1:
350       - FSB1
351       - cpu_util
352       disk.device.write.requests.rate_FSB1:
353       - FSB1
354       - disk.device.write.requests.rate
355       disk.root.size_FSB1:
356       - FSB1
357       - disk.root.size
358       feature_FSB1:
359       - FSB1
360       - feature
361       network.incoming.packets.rate_FSB1_FSB1_Internal:
362       - FSB1_FSB1_Internal
363       - network.incoming.packets.rate
364       network.outgoing.bytes_FSB1_FSB1_Internal:
365       - FSB1_FSB1_Internal
366       - network.outgoing.bytes
367       attachment_FSB1_FSB2_Internal:
368       - FSB1_FSB2_Internal
369       - attachment
370       feature_FSB1_FSB2_Internal:
371       - FSB1_FSB2_Internal
372       - feature
373       network.incoming.packets_FSB1_FSB2_Internal:
374       - FSB1_FSB2_Internal
375       - network.incoming.packets
376       memory.resident_FSB1:
377       - FSB1
378       - memory.resident
379       network.incoming.packets.rate_FSB1_FSB2_Internal:
380       - FSB1_FSB2_Internal
381       - network.incoming.packets.rate
382       cpu_FSB1:
383       - FSB1
384       - cpu
385       disk.write.requests.rate_FSB1:
386       - FSB1
387       - disk.write.requests.rate
388       instance_FSB1:
389       - FSB1
390       - instance
391       disk.device.read.bytes.rate_FSB1:
392       - FSB1
393       - disk.device.read.bytes.rate
394       cpu.delta_FSB1:
395       - FSB1
396       - cpu.delta
397       disk.write.bytes_FSB1:
398       - FSB1
399       - disk.write.bytes
400       binding_FSB1_FSB1_Internal:
401       - FSB1_FSB1_Internal
402       - binding
403       disk.device.read.requests.rate_FSB1:
404       - FSB1
405       - disk.device.read.requests.rate
406       feature_FSB1_FSB1_Internal:
407       - FSB1_FSB1_Internal
408       - feature
409       disk.device.read.requests_FSB1:
410       - FSB1
411       - disk.device.read.requests
412       disk.ephemeral.size_FSB1:
413       - FSB1
414       - disk.ephemeral.size
415       binding_FSB1:
416       - FSB1
417       - binding
418       disk.device.write.bytes_FSB1:
419       - FSB1
420       - disk.device.write.bytes
421       network.incoming.packets_FSB1_FSB1_Internal:
422       - FSB1_FSB1_Internal
423       - network.incoming.packets
424       attachment_FSB1_FSB1_Internal:
425       - FSB1_FSB1_Internal
426       - attachment
427       memory_FSB1:
428       - FSB1
429       - memory
430       network.outpoing.packets_FSB1_FSB1_Internal:
431       - FSB1_FSB1_Internal
432       - network.outpoing.packets
433       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
434       - FSB1_FSB2_Internal
435       - network.outgoing.bytes.rate
436       disk.device.read.bytes_FSB1:
437       - FSB1
438       - disk.device.read.bytes
439       disk.device.usage_FSB1:
440       - FSB1
441       - disk.device.usage
442       disk.write.bytes.rate_FSB1:
443       - FSB1
444       - disk.write.bytes.rate
445       scalable_FSB1:
446       - FSB1
447       - scalable
448       disk.usage_FSB1:
449       - FSB1
450       - disk.usage
451       host_FSB1:
452       - FSB1
453       - host
454       disk.device.allocation_FSB1:
455       - FSB1
456       - disk.device.allocation
457       os_FSB1:
458       - FSB1
459       - os
460       vcpus_FSB1:
461       - FSB1
462       - vcpus
463       disk.write.requests_FSB1:
464       - FSB1
465       - disk.write.requests
466       network.outgoing.bytes_FSB1_FSB2_Internal:
467       - FSB1_FSB2_Internal
468       - network.outgoing.bytes
469       network.incoming.bytes_FSB1_FSB1_Internal:
470       - FSB1_FSB1_Internal
471       - network.incoming.bytes
472       network.outpoing.packets_FSB1_FSB2_Internal:
473       - FSB1_FSB2_Internal
474       - network.outpoing.packets
475       disk.device.write.bytes.rate_FSB1:
476       - FSB1
477       - disk.device.write.bytes.rate
478       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
479       - FSB1_FSB1_Internal
480       - network.outgoing.bytes.rate
481       endpoint_FSB1:
482       - FSB1
483       - endpoint
484       network.outgoing.packets.rate_FSB1_FSB1_Internal:
485       - FSB1_FSB1_Internal
486       - network.outgoing.packets.rate
487       network.incoming.bytes.rate_FSB1_FSB1_Internal:
488       - FSB1_FSB1_Internal
489       - network.incoming.bytes.rate
490       disk.latency_FSB1:
491       - FSB1
492       - disk.latency
493       memory.usage_FSB1:
494       - FSB1
495       - memory.usage
496       disk.read.requests_FSB1:
497       - FSB1
498       - disk.read.requests
499       disk.device.write.requests_FSB1:
500       - FSB1
501       - disk.device.write.requests
502       network.incoming.bytes.rate_FSB1_FSB2_Internal:
503       - FSB1_FSB2_Internal
504       - network.incoming.bytes.rate
505       network.incoming.bytes_FSB1_FSB2_Internal:
506       - FSB1_FSB2_Internal
507       - network.incoming.bytes
508       disk.iops_FSB1:
509       - FSB1
510       - disk.iops
511       network.outgoing.packets.rate_FSB1_FSB2_Internal:
512       - FSB1_FSB2_Internal
513       - network.outgoing.packets.rate
514       disk.device.iops_FSB1:
515       - FSB1
516       - disk.device.iops
517     requirements:
518       dependency_FSB1:
519       - FSB1
520       - dependency
521       link_FSB1_FSB2_Internal:
522       - FSB1_FSB2_Internal
523       - link
524       dependency_FSB1_FSB1_Internal:
525       - FSB1_FSB1_Internal
526       - dependency
527       link_FSB1_FSB1_Internal:
528       - FSB1_FSB1_Internal
529       - link
530       local_storage_FSB1:
531       - FSB1
532       - local_storage
533       dependency_FSB1_FSB2_Internal:
534       - FSB1_FSB2_Internal
535       - dependency