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