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