[SDC] Onboarding 1710 rebase.
[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_FSB_OAM_status:
246       type: string
247       value:
248         get_attribute:
249         - FSB1_FSB_OAM
250         - status
251     FSB1_FSB2_Internal_tenant_id:
252       type: string
253       value:
254         get_attribute:
255         - FSB1_FSB2_Internal
256         - tenant_id
257     FSB1_FSB1_Internal_network_id:
258       type: string
259       value:
260         get_attribute:
261         - FSB1_FSB1_Internal
262         - network_id
263     FSB1_accessIPv6:
264       type: string
265       value:
266         get_attribute:
267         - FSB1
268         - accessIPv6
269     FSB1_addresses:
270       type: map
271       value:
272         get_attribute:
273         - FSB1
274         - addresses
275       entry_schema:
276         type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
277     FSB1_FSB2_Internal_network_id:
278       type: string
279       value:
280         get_attribute:
281         - FSB1_FSB2_Internal
282         - network_id
283     FSB1_FSB1_Internal_device_owner:
284       type: string
285       value:
286         get_attribute:
287         - FSB1_FSB1_Internal
288         - device_owner
289   substitution_mappings:
290     node_type: org.openecomp.resource.abstract.nodes.FSB1
291     capabilities:
292       network.outgoing.packets.rate_FSB1_FSB_OAM:
293       - FSB1_FSB_OAM
294       - network.outgoing.packets.rate
295       attachment_FSB1_FSB_OAM:
296       - FSB1_FSB_OAM
297       - attachment
298       binding_FSB1_FSB_OAM:
299       - FSB1_FSB_OAM
300       - binding
301       binding_FSB1_FSB2_Internal:
302       - FSB1_FSB2_Internal
303       - binding
304       disk.capacity_FSB1:
305       - FSB1
306       - disk.capacity
307       disk.read.bytes.rate_FSB1:
308       - FSB1
309       - disk.read.bytes.rate
310       disk.device.latency_FSB1:
311       - FSB1
312       - disk.device.latency
313       disk.allocation_FSB1:
314       - FSB1
315       - disk.allocation
316       disk.read.bytes_FSB1:
317       - FSB1
318       - disk.read.bytes
319       disk.device.capacity_FSB1:
320       - FSB1
321       - disk.device.capacity
322       cpu_util_FSB1:
323       - FSB1
324       - cpu_util
325       disk.device.write.requests.rate_FSB1:
326       - FSB1
327       - disk.device.write.requests.rate
328       disk.root.size_FSB1:
329       - FSB1
330       - disk.root.size
331       network.outgoing.bytes.rate_FSB1_FSB_OAM:
332       - FSB1_FSB_OAM
333       - network.outgoing.bytes.rate
334       feature_FSB1:
335       - FSB1
336       - feature
337       network.incoming.packets.rate_FSB1_FSB1_Internal:
338       - FSB1_FSB1_Internal
339       - network.incoming.packets.rate
340       network.outgoing.bytes_FSB1_FSB1_Internal:
341       - FSB1_FSB1_Internal
342       - network.outgoing.bytes
343       attachment_FSB1_FSB2_Internal:
344       - FSB1_FSB2_Internal
345       - attachment
346       feature_FSB1_FSB2_Internal:
347       - FSB1_FSB2_Internal
348       - feature
349       network.incoming.packets_FSB1_FSB2_Internal:
350       - FSB1_FSB2_Internal
351       - network.incoming.packets
352       feature_FSB1_FSB_OAM:
353       - FSB1_FSB_OAM
354       - feature
355       memory.resident_FSB1:
356       - FSB1
357       - memory.resident
358       network.incoming.packets.rate_FSB1_FSB2_Internal:
359       - FSB1_FSB2_Internal
360       - network.incoming.packets.rate
361       cpu_FSB1:
362       - FSB1
363       - cpu
364       disk.write.requests.rate_FSB1:
365       - FSB1
366       - disk.write.requests.rate
367       instance_FSB1:
368       - FSB1
369       - instance
370       network.incoming.bytes_FSB1_FSB_OAM:
371       - FSB1_FSB_OAM
372       - network.incoming.bytes
373       disk.device.read.bytes.rate_FSB1:
374       - FSB1
375       - disk.device.read.bytes.rate
376       cpu.delta_FSB1:
377       - FSB1
378       - cpu.delta
379       disk.write.bytes_FSB1:
380       - FSB1
381       - disk.write.bytes
382       binding_FSB1_FSB1_Internal:
383       - FSB1_FSB1_Internal
384       - binding
385       disk.device.read.requests.rate_FSB1:
386       - FSB1
387       - disk.device.read.requests.rate
388       feature_FSB1_FSB1_Internal:
389       - FSB1_FSB1_Internal
390       - feature
391       disk.device.read.requests_FSB1:
392       - FSB1
393       - disk.device.read.requests
394       disk.ephemeral.size_FSB1:
395       - FSB1
396       - disk.ephemeral.size
397       binding_FSB1:
398       - FSB1
399       - binding
400       disk.device.write.bytes_FSB1:
401       - FSB1
402       - disk.device.write.bytes
403       network.outpoing.packets_FSB1_FSB_OAM:
404       - FSB1_FSB_OAM
405       - network.outpoing.packets
406       network.incoming.packets_FSB1_FSB1_Internal:
407       - FSB1_FSB1_Internal
408       - network.incoming.packets
409       attachment_FSB1_FSB1_Internal:
410       - FSB1_FSB1_Internal
411       - attachment
412       memory_FSB1:
413       - FSB1
414       - memory
415       network.incoming.bytes.rate_FSB1_FSB_OAM:
416       - FSB1_FSB_OAM
417       - network.incoming.bytes.rate
418       network.outpoing.packets_FSB1_FSB1_Internal:
419       - FSB1_FSB1_Internal
420       - network.outpoing.packets
421       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
422       - FSB1_FSB2_Internal
423       - network.outgoing.bytes.rate
424       network.outgoing.bytes_FSB1_FSB_OAM:
425       - FSB1_FSB_OAM
426       - network.outgoing.bytes
427       disk.device.read.bytes_FSB1:
428       - FSB1
429       - disk.device.read.bytes
430       disk.device.usage_FSB1:
431       - FSB1
432       - disk.device.usage
433       disk.write.bytes.rate_FSB1:
434       - FSB1
435       - disk.write.bytes.rate
436       scalable_FSB1:
437       - FSB1
438       - scalable
439       disk.usage_FSB1:
440       - FSB1
441       - disk.usage
442       host_FSB1:
443       - FSB1
444       - host
445       disk.device.allocation_FSB1:
446       - FSB1
447       - disk.device.allocation
448       os_FSB1:
449       - FSB1
450       - os
451       vcpus_FSB1:
452       - FSB1
453       - vcpus
454       disk.write.requests_FSB1:
455       - FSB1
456       - disk.write.requests
457       network.incoming.packets.rate_FSB1_FSB_OAM:
458       - FSB1_FSB_OAM
459       - network.incoming.packets.rate
460       network.outgoing.bytes_FSB1_FSB2_Internal:
461       - FSB1_FSB2_Internal
462       - network.outgoing.bytes
463       network.incoming.bytes_FSB1_FSB1_Internal:
464       - FSB1_FSB1_Internal
465       - network.incoming.bytes
466       network.outpoing.packets_FSB1_FSB2_Internal:
467       - FSB1_FSB2_Internal
468       - network.outpoing.packets
469       disk.device.write.bytes.rate_FSB1:
470       - FSB1
471       - disk.device.write.bytes.rate
472       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
473       - FSB1_FSB1_Internal
474       - network.outgoing.bytes.rate
475       endpoint_FSB1:
476       - FSB1
477       - endpoint
478       network.outgoing.packets.rate_FSB1_FSB1_Internal:
479       - FSB1_FSB1_Internal
480       - network.outgoing.packets.rate
481       network.incoming.bytes.rate_FSB1_FSB1_Internal:
482       - FSB1_FSB1_Internal
483       - network.incoming.bytes.rate
484       disk.latency_FSB1:
485       - FSB1
486       - disk.latency
487       memory.usage_FSB1:
488       - FSB1
489       - memory.usage
490       disk.read.requests_FSB1:
491       - FSB1
492       - disk.read.requests
493       network.incoming.packets_FSB1_FSB_OAM:
494       - FSB1_FSB_OAM
495       - network.incoming.packets
496       disk.device.write.requests_FSB1:
497       - FSB1
498       - disk.device.write.requests
499       network.incoming.bytes.rate_FSB1_FSB2_Internal:
500       - FSB1_FSB2_Internal
501       - network.incoming.bytes.rate
502       network.incoming.bytes_FSB1_FSB2_Internal:
503       - FSB1_FSB2_Internal
504       - network.incoming.bytes
505       disk.iops_FSB1:
506       - FSB1
507       - disk.iops
508       network.outgoing.packets.rate_FSB1_FSB2_Internal:
509       - FSB1_FSB2_Internal
510       - network.outgoing.packets.rate
511       disk.device.iops_FSB1:
512       - FSB1
513       - disk.device.iops
514     requirements:
515       dependency_FSB1:
516       - FSB1
517       - dependency
518       link_FSB1_FSB2_Internal:
519       - FSB1_FSB2_Internal
520       - link
521       dependency_FSB1_FSB1_Internal:
522       - FSB1_FSB1_Internal
523       - dependency
524       link_FSB1_FSB1_Internal:
525       - FSB1_FSB1_Internal
526       - link
527       local_storage_FSB1:
528       - FSB1
529       - local_storage
530       dependency_FSB1_FSB_OAM:
531       - FSB1_FSB_OAM
532       - dependency
533       link_FSB1_FSB_OAM:
534       - FSB1_FSB_OAM
535       - link
536       dependency_FSB1_FSB2_Internal:
537       - FSB1_FSB2_Internal
538       - dependency