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