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