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