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