[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 / NoOutParamDuplicatePortType / 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: list
16       required: true
17       entry_schema:
18         type: string
19     port_FSB_OAM_network_role_tag:
20       type: list
21       required: true
22       entry_schema:
23         type: string
24     port_FSB1_Internal_ip_requirements:
25       type: list
26       required: true
27       entry_schema:
28         type: json
29     port_FSB1_Internal_subnetpoolid:
30       type: list
31       required: true
32       entry_schema:
33         type: string
34     compute_FSB1_metadata:
35       type: list
36       required: true
37       entry_schema:
38         type: json
39     port_FSB2_Internal2_network_role_tag:
40       type: list
41       required: true
42       entry_schema:
43         type: string
44     port_FSB2_Internal1_exCP_naming:
45       type: list
46       required: true
47       entry_schema:
48         type: json
49     vm_flavor_name:
50       type: string
51       required: true
52     port_FSB_OAM_vlan_requirements:
53       type: list
54       required: true
55       entry_schema:
56         type: json
57     port_FSB2_Internal2_exCP_naming:
58       type: list
59       required: true
60       entry_schema:
61         type: json
62     port_FSB2_Internal2_network_role:
63       type: list
64       required: true
65       entry_schema:
66         type: string
67     port_FSB2_Internal1_ip_requirements:
68       type: list
69       required: true
70       entry_schema:
71         type: json
72     port_FSB2_Internal1_network_role:
73       type: list
74       required: true
75       entry_schema:
76         type: string
77     port_FSB_OAM_ip_requirements:
78       type: list
79       required: true
80       entry_schema:
81         type: json
82     port_FSB1_Internal_network_role_tag:
83       type: list
84       required: true
85       entry_schema:
86         type: string
87     port_FSB2_Internal1_mac_address:
88       type: list
89       required: true
90       entry_schema:
91         type: string
92     port_FSB2_Internal1_vlan_requirements:
93       type: list
94       required: true
95       entry_schema:
96         type: json
97     port_FSB1_Internal_vlan_requirements:
98       type: list
99       required: true
100       entry_schema:
101         type: json
102     port_FSB1_Internal_exCP_naming:
103       type: list
104       required: true
105       entry_schema:
106         type: json
107     port_FSB_OAM_network_role:
108       type: list
109       required: true
110       entry_schema:
111         type: string
112     port_FSB_OAM_network:
113       type: list
114       required: true
115       entry_schema:
116         type: string
117     port_FSB1_Internal_network_role:
118       type: list
119       required: true
120       entry_schema:
121         type: string
122     port_FSB2_Internal1_network:
123       type: list
124       required: true
125       entry_schema:
126         type: string
127     port_FSB2_Internal2_mac_address:
128       type: list
129       required: true
130       entry_schema:
131         type: string
132     port_FSB2_Internal2_mac_requirements:
133       type: list
134       required: true
135       entry_schema:
136         type: json
137     port_FSB_OAM_subnetpoolid:
138       type: list
139       required: true
140       entry_schema:
141         type: string
142     port_FSB2_Internal2_ip_requirements:
143       type: list
144       required: true
145       entry_schema:
146         type: json
147     port_FSB_OAM_mac_requirements:
148       type: list
149       required: true
150       entry_schema:
151         type: json
152     compute_FSB1_availability_zone:
153       type: list
154       required: true
155       entry_schema:
156         type: string
157     port_FSB1_Internal_network:
158       type: list
159       required: true
160       entry_schema:
161         type: string
162     index_value:
163       type: integer
164       description: Index value of this substitution service template runtime instance
165       required: false
166       default: 0
167       constraints:
168       - greater_or_equal: 0
169     port_FSB_OAM_order:
170       type: list
171       required: true
172       entry_schema:
173         type: integer
174     port_FSB2_Internal2_network:
175       type: list
176       required: true
177       entry_schema:
178         type: string
179     port_FSB2_Internal2_vlan_requirements:
180       type: list
181       required: true
182       entry_schema:
183         type: json
184     port_FSB2_Internal1_order:
185       type: list
186       required: true
187       entry_schema:
188         type: integer
189     port_FSB2_Internal2_subnetpoolid:
190       type: list
191       required: true
192       entry_schema:
193         type: string
194     port_FSB1_Internal_order:
195       type: list
196       required: true
197       entry_schema:
198         type: integer
199     port_FSB2_Internal1_network_role_tag:
200       type: list
201       required: true
202       entry_schema:
203         type: string
204     port_FSB2_Internal1_mac_requirements:
205       type: list
206       required: true
207       entry_schema:
208         type: json
209     port_FSB_OAM_fixed_ips:
210       type: list
211       required: true
212       entry_schema:
213         type: json
214     port_FSB2_Internal2_order:
215       type: list
216       required: true
217       entry_schema:
218         type: integer
219     port_FSB2_Internal1_subnetpoolid:
220       type: list
221       required: true
222       entry_schema:
223         type: string
224     port_FSB1_Internal_mac_requirements:
225       type: list
226       required: true
227       entry_schema:
228         type: json
229     port_FSB_OAM_exCP_naming:
230       type: list
231       required: true
232       entry_schema:
233         type: json
234     compute_FSB1_name:
235       type: list
236       required: true
237       entry_schema:
238         type: string
239   node_templates:
240     FSB1_FSB1_Internal:
241       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
242       properties:
243         exCP_naming:
244           get_input:
245           - port_FSB1_Internal_exCP_naming
246           - index_value
247         vlan_requirements:
248           get_input:
249           - port_FSB1_Internal_vlan_requirements
250           - index_value
251         ip_requirements:
252           get_input:
253           - port_FSB1_Internal_ip_requirements
254           - index_value
255         network_role_tag:
256           get_input:
257           - port_FSB1_Internal_network_role_tag
258           - index_value
259         mac_requirements:
260           get_input:
261           - port_FSB1_Internal_mac_requirements
262           - index_value
263         order:
264           get_input:
265           - port_FSB1_Internal_order
266           - index_value
267         network_role:
268           get_input:
269           - port_FSB1_Internal_network_role
270           - index_value
271         subnetpoolid:
272           get_input:
273           - port_FSB1_Internal_subnetpoolid
274           - index_value
275         network:
276           get_input:
277           - port_FSB1_Internal_network
278           - index_value
279         mac_address:
280           get_input:
281           - port_FSB1_Internal_mac_address
282           - index_value
283       requirements:
284       - binding:
285           capability: tosca.capabilities.network.Bindable
286           node: FSB1
287           relationship: tosca.relationships.network.BindsTo
288     FSB1_FSB_OAM:
289       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
290       properties:
291         exCP_naming:
292           get_input:
293           - port_FSB_OAM_exCP_naming
294           - index_value
295         vlan_requirements:
296           get_input:
297           - port_FSB_OAM_vlan_requirements
298           - index_value
299         ip_requirements:
300           get_input:
301           - port_FSB_OAM_ip_requirements
302           - index_value
303         network_role_tag:
304           get_input:
305           - port_FSB_OAM_network_role_tag
306           - index_value
307         mac_requirements:
308           get_input:
309           - port_FSB_OAM_mac_requirements
310           - index_value
311         order:
312           get_input:
313           - port_FSB_OAM_order
314           - index_value
315         network_role:
316           get_input:
317           - port_FSB_OAM_network_role
318           - index_value
319         subnetpoolid:
320           get_input:
321           - port_FSB_OAM_subnetpoolid
322           - index_value
323         fixed_ips:
324           get_input:
325           - port_FSB_OAM_fixed_ips
326           - index_value
327         network:
328           get_input:
329           - port_FSB_OAM_network
330           - index_value
331       requirements:
332       - binding:
333           capability: tosca.capabilities.network.Bindable
334           node: FSB1
335           relationship: tosca.relationships.network.BindsTo
336     FSB1_FSB2_Internal2:
337       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
338       properties:
339         exCP_naming:
340           get_input:
341           - port_FSB2_Internal2_exCP_naming
342           - index_value
343         vlan_requirements:
344           get_input:
345           - port_FSB2_Internal2_vlan_requirements
346           - index_value
347         ip_requirements:
348           get_input:
349           - port_FSB2_Internal2_ip_requirements
350           - index_value
351         network_role_tag:
352           get_input:
353           - port_FSB2_Internal2_network_role_tag
354           - index_value
355         mac_requirements:
356           get_input:
357           - port_FSB2_Internal2_mac_requirements
358           - index_value
359         order:
360           get_input:
361           - port_FSB2_Internal2_order
362           - index_value
363         network_role:
364           get_input:
365           - port_FSB2_Internal2_network_role
366           - index_value
367         subnetpoolid:
368           get_input:
369           - port_FSB2_Internal2_subnetpoolid
370           - index_value
371         network:
372           get_input:
373           - port_FSB2_Internal2_network
374           - index_value
375         mac_address:
376           get_input:
377           - port_FSB2_Internal2_mac_address
378           - index_value
379       requirements:
380       - binding:
381           capability: tosca.capabilities.network.Bindable
382           node: FSB1
383           relationship: tosca.relationships.network.BindsTo
384     FSB1:
385       type: org.openecomp.resource.vfc.nodes.heat.FSB1
386       properties:
387         availability_zone:
388           get_input:
389           - compute_FSB1_availability_zone
390           - index_value
391         flavor:
392           get_input: vm_flavor_name
393         metadata:
394           get_input:
395           - compute_FSB1_metadata
396           - index_value
397         name:
398           get_input:
399           - compute_FSB1_name
400           - index_value
401       artifacts:
402         nimbus-ethernet-gw:
403           type: tosca.artifacts.Deployment
404           file: ../Artifacts/nimbus-ethernet-gw
405         nimbus-ethernet:
406           type: tosca.artifacts.Deployment
407           file: ../Artifacts/nimbus-ethernet
408     FSB1_FSB2_Internal1:
409       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
410       properties:
411         exCP_naming:
412           get_input:
413           - port_FSB2_Internal1_exCP_naming
414           - index_value
415         vlan_requirements:
416           get_input:
417           - port_FSB2_Internal1_vlan_requirements
418           - index_value
419         ip_requirements:
420           get_input:
421           - port_FSB2_Internal1_ip_requirements
422           - index_value
423         network_role_tag:
424           get_input:
425           - port_FSB2_Internal1_network_role_tag
426           - index_value
427         mac_requirements:
428           get_input:
429           - port_FSB2_Internal1_mac_requirements
430           - index_value
431         order:
432           get_input:
433           - port_FSB2_Internal1_order
434           - index_value
435         network_role:
436           get_input:
437           - port_FSB2_Internal1_network_role
438           - index_value
439         subnetpoolid:
440           get_input:
441           - port_FSB2_Internal1_subnetpoolid
442           - index_value
443         network:
444           get_input:
445           - port_FSB2_Internal1_network
446           - index_value
447         mac_address:
448           get_input:
449           - port_FSB2_Internal1_mac_address
450           - index_value
451       requirements:
452       - binding:
453           capability: tosca.capabilities.network.Bindable
454           node: FSB1
455           relationship: tosca.relationships.network.BindsTo
456   substitution_mappings:
457     node_type: org.openecomp.resource.abstract.nodes.FSB1
458     capabilities:
459       network.outgoing.packets.rate_FSB1_FSB_OAM:
460       - FSB1_FSB_OAM
461       - network.outgoing.packets.rate
462       network.incoming.packets_FSB1_FSB2_Internal2:
463       - FSB1_FSB2_Internal2
464       - network.incoming.packets
465       network.incoming.packets_FSB1_FSB2_Internal1:
466       - FSB1_FSB2_Internal1
467       - network.incoming.packets
468       attachment_FSB1_FSB_OAM:
469       - FSB1_FSB_OAM
470       - attachment
471       binding_FSB1_FSB_OAM:
472       - FSB1_FSB_OAM
473       - binding
474       disk.capacity_FSB1:
475       - FSB1
476       - disk.capacity
477       disk.read.bytes.rate_FSB1:
478       - FSB1
479       - disk.read.bytes.rate
480       disk.device.latency_FSB1:
481       - FSB1
482       - disk.device.latency
483       disk.allocation_FSB1:
484       - FSB1
485       - disk.allocation
486       disk.read.bytes_FSB1:
487       - FSB1
488       - disk.read.bytes
489       disk.device.capacity_FSB1:
490       - FSB1
491       - disk.device.capacity
492       cpu_util_FSB1:
493       - FSB1
494       - cpu_util
495       disk.device.write.requests.rate_FSB1:
496       - FSB1
497       - disk.device.write.requests.rate
498       disk.root.size_FSB1:
499       - FSB1
500       - disk.root.size
501       network.outgoing.bytes.rate_FSB1_FSB_OAM:
502       - FSB1_FSB_OAM
503       - network.outgoing.bytes.rate
504       feature_FSB1:
505       - FSB1
506       - feature
507       network.outgoing.bytes_FSB1_FSB2_Internal1:
508       - FSB1_FSB2_Internal1
509       - network.outgoing.bytes
510       network.incoming.packets.rate_FSB1_FSB1_Internal:
511       - FSB1_FSB1_Internal
512       - network.incoming.packets.rate
513       network.outgoing.bytes_FSB1_FSB1_Internal:
514       - FSB1_FSB1_Internal
515       - network.outgoing.bytes
516       feature_FSB1_FSB_OAM:
517       - FSB1_FSB_OAM
518       - feature
519       memory.resident_FSB1:
520       - FSB1
521       - memory.resident
522       cpu_FSB1:
523       - FSB1
524       - cpu
525       binding_FSB1_FSB2_Internal1:
526       - FSB1_FSB2_Internal1
527       - binding
528       disk.write.requests.rate_FSB1:
529       - FSB1
530       - disk.write.requests.rate
531       binding_FSB1_FSB2_Internal2:
532       - FSB1_FSB2_Internal2
533       - binding
534       instance_FSB1:
535       - FSB1
536       - instance
537       network.incoming.bytes_FSB1_FSB_OAM:
538       - FSB1_FSB_OAM
539       - network.incoming.bytes
540       disk.device.read.bytes.rate_FSB1:
541       - FSB1
542       - disk.device.read.bytes.rate
543       attachment_FSB1_FSB2_Internal2:
544       - FSB1_FSB2_Internal2
545       - attachment
546       attachment_FSB1_FSB2_Internal1:
547       - FSB1_FSB2_Internal1
548       - attachment
549       cpu.delta_FSB1:
550       - FSB1
551       - cpu.delta
552       disk.write.bytes_FSB1:
553       - FSB1
554       - disk.write.bytes
555       binding_FSB1_FSB1_Internal:
556       - FSB1_FSB1_Internal
557       - binding
558       disk.device.read.requests.rate_FSB1:
559       - FSB1
560       - disk.device.read.requests.rate
561       feature_FSB1_FSB1_Internal:
562       - FSB1_FSB1_Internal
563       - feature
564       disk.device.read.requests_FSB1:
565       - FSB1
566       - disk.device.read.requests
567       network.incoming.packets.rate_FSB1_FSB2_Internal2:
568       - FSB1_FSB2_Internal2
569       - network.incoming.packets.rate
570       disk.ephemeral.size_FSB1:
571       - FSB1
572       - disk.ephemeral.size
573       binding_FSB1:
574       - FSB1
575       - binding
576       disk.device.write.bytes_FSB1:
577       - FSB1
578       - disk.device.write.bytes
579       network.incoming.packets.rate_FSB1_FSB2_Internal1:
580       - FSB1_FSB2_Internal1
581       - network.incoming.packets.rate
582       network.outpoing.packets_FSB1_FSB_OAM:
583       - FSB1_FSB_OAM
584       - network.outpoing.packets
585       network.incoming.bytes_FSB1_FSB2_Internal2:
586       - FSB1_FSB2_Internal2
587       - network.incoming.bytes
588       network.incoming.packets_FSB1_FSB1_Internal:
589       - FSB1_FSB1_Internal
590       - network.incoming.packets
591       network.incoming.bytes_FSB1_FSB2_Internal1:
592       - FSB1_FSB2_Internal1
593       - network.incoming.bytes
594       attachment_FSB1_FSB1_Internal:
595       - FSB1_FSB1_Internal
596       - attachment
597       memory_FSB1:
598       - FSB1
599       - memory
600       network.incoming.bytes.rate_FSB1_FSB_OAM:
601       - FSB1_FSB_OAM
602       - network.incoming.bytes.rate
603       network.outpoing.packets_FSB1_FSB1_Internal:
604       - FSB1_FSB1_Internal
605       - network.outpoing.packets
606       network.outgoing.bytes_FSB1_FSB_OAM:
607       - FSB1_FSB_OAM
608       - network.outgoing.bytes
609       disk.device.read.bytes_FSB1:
610       - FSB1
611       - disk.device.read.bytes
612       disk.device.usage_FSB1:
613       - FSB1
614       - disk.device.usage
615       disk.write.bytes.rate_FSB1:
616       - FSB1
617       - disk.write.bytes.rate
618       scalable_FSB1:
619       - FSB1
620       - scalable
621       disk.usage_FSB1:
622       - FSB1
623       - disk.usage
624       host_FSB1:
625       - FSB1
626       - host
627       disk.device.allocation_FSB1:
628       - FSB1
629       - disk.device.allocation
630       os_FSB1:
631       - FSB1
632       - os
633       vcpus_FSB1:
634       - FSB1
635       - vcpus
636       disk.write.requests_FSB1:
637       - FSB1
638       - disk.write.requests
639       network.incoming.packets.rate_FSB1_FSB_OAM:
640       - FSB1_FSB_OAM
641       - network.incoming.packets.rate
642       network.incoming.bytes.rate_FSB1_FSB2_Internal2:
643       - FSB1_FSB2_Internal2
644       - network.incoming.bytes.rate
645       network.incoming.bytes.rate_FSB1_FSB2_Internal1:
646       - FSB1_FSB2_Internal1
647       - network.incoming.bytes.rate
648       network.incoming.bytes_FSB1_FSB1_Internal:
649       - FSB1_FSB1_Internal
650       - network.incoming.bytes
651       disk.device.write.bytes.rate_FSB1:
652       - FSB1
653       - disk.device.write.bytes.rate
654       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
655       - FSB1_FSB1_Internal
656       - network.outgoing.bytes.rate
657       endpoint_FSB1:
658       - FSB1
659       - endpoint
660       network.outgoing.bytes_FSB1_FSB2_Internal2:
661       - FSB1_FSB2_Internal2
662       - network.outgoing.bytes
663       network.outgoing.packets.rate_FSB1_FSB1_Internal:
664       - FSB1_FSB1_Internal
665       - network.outgoing.packets.rate
666       network.outgoing.packets.rate_FSB1_FSB2_Internal2:
667       - FSB1_FSB2_Internal2
668       - network.outgoing.packets.rate
669       network.incoming.bytes.rate_FSB1_FSB1_Internal:
670       - FSB1_FSB1_Internal
671       - network.incoming.bytes.rate
672       network.outgoing.packets.rate_FSB1_FSB2_Internal1:
673       - FSB1_FSB2_Internal1
674       - network.outgoing.packets.rate
675       disk.latency_FSB1:
676       - FSB1
677       - disk.latency
678       network.outpoing.packets_FSB1_FSB2_Internal1:
679       - FSB1_FSB2_Internal1
680       - network.outpoing.packets
681       network.outpoing.packets_FSB1_FSB2_Internal2:
682       - FSB1_FSB2_Internal2
683       - network.outpoing.packets
684       memory.usage_FSB1:
685       - FSB1
686       - memory.usage
687       network.outgoing.bytes.rate_FSB1_FSB2_Internal1:
688       - FSB1_FSB2_Internal1
689       - network.outgoing.bytes.rate
690       network.outgoing.bytes.rate_FSB1_FSB2_Internal2:
691       - FSB1_FSB2_Internal2
692       - network.outgoing.bytes.rate
693       disk.read.requests_FSB1:
694       - FSB1
695       - disk.read.requests
696       network.incoming.packets_FSB1_FSB_OAM:
697       - FSB1_FSB_OAM
698       - network.incoming.packets
699       disk.device.write.requests_FSB1:
700       - FSB1
701       - disk.device.write.requests
702       feature_FSB1_FSB2_Internal1:
703       - FSB1_FSB2_Internal1
704       - feature
705       feature_FSB1_FSB2_Internal2:
706       - FSB1_FSB2_Internal2
707       - feature
708       disk.iops_FSB1:
709       - FSB1
710       - disk.iops
711       disk.device.iops_FSB1:
712       - FSB1
713       - disk.device.iops
714     requirements:
715       dependency_FSB1:
716       - FSB1
717       - dependency
718       dependency_FSB1_FSB1_Internal:
719       - FSB1_FSB1_Internal
720       - dependency
721       link_FSB1_FSB1_Internal:
722       - FSB1_FSB1_Internal
723       - link
724       link_FSB1_FSB2_Internal2:
725       - FSB1_FSB2_Internal2
726       - link
727       local_storage_FSB1:
728       - FSB1
729       - local_storage
730       dependency_FSB1_FSB_OAM:
731       - FSB1_FSB_OAM
732       - dependency
733       link_FSB1_FSB_OAM:
734       - FSB1_FSB_OAM
735       - link
736       dependency_FSB1_FSB2_Internal2:
737       - FSB1_FSB2_Internal2
738       - dependency
739       link_FSB1_FSB2_Internal1:
740       - FSB1_FSB2_Internal1
741       - link
742       dependency_FSB1_FSB2_Internal1:
743       - FSB1_FSB2_Internal1
744       - dependency