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