[SDC-29] Amdocs OnBoard 1707 initial commit.
[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     compute_FSB1_metadata:
20       type: list
21       required: true
22       entry_schema:
23         type: json
24     compute_FSB1_availability_zone:
25       type: list
26       required: true
27       entry_schema:
28         type: string
29     port_FSB1_Internal_network:
30       type: list
31       required: true
32       entry_schema:
33         type: string
34     index_value:
35       type: integer
36       description: Index value of this substitution service template runtime instance
37       required: false
38       default: 0
39       constraints:
40       - greater_or_equal: 0
41     port_FSB2_Internal2_network:
42       type: list
43       required: true
44       entry_schema:
45         type: string
46     vm_flavor_name:
47       type: string
48       required: true
49     port_FSB2_Internal1_mac_address:
50       type: list
51       required: true
52       entry_schema:
53         type: string
54     port_FSB_OAM_fixed_ips:
55       type: list
56       required: true
57       entry_schema:
58         type: json
59     compute_FSB1_name:
60       type: list
61       required: true
62       entry_schema:
63         type: string
64     port_FSB_OAM_network:
65       type: list
66       required: true
67       entry_schema:
68         type: string
69     port_FSB2_Internal1_network:
70       type: list
71       required: true
72       entry_schema:
73         type: string
74     port_FSB2_Internal2_mac_address:
75       type: list
76       required: true
77       entry_schema:
78         type: string
79   node_templates:
80     FSB1_FSB1_Internal:
81       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
82       properties:
83         network:
84           get_input:
85           - port_FSB1_Internal_network
86           - index_value
87         mac_address:
88           get_input:
89           - port_FSB1_Internal_mac_address
90           - index_value
91       requirements:
92       - binding:
93           capability: tosca.capabilities.network.Bindable
94           node: FSB1
95           relationship: tosca.relationships.network.BindsTo
96     FSB1_FSB_OAM:
97       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
98       properties:
99         fixed_ips:
100           get_input:
101           - port_FSB_OAM_fixed_ips
102           - index_value
103         network:
104           get_input:
105           - port_FSB_OAM_network
106           - index_value
107       requirements:
108       - binding:
109           capability: tosca.capabilities.network.Bindable
110           node: FSB1
111           relationship: tosca.relationships.network.BindsTo
112     FSB1_FSB2_Internal2:
113       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
114       properties:
115         network:
116           get_input:
117           - port_FSB2_Internal2_network
118           - index_value
119         mac_address:
120           get_input:
121           - port_FSB2_Internal2_mac_address
122           - index_value
123       requirements:
124       - binding:
125           capability: tosca.capabilities.network.Bindable
126           node: FSB1
127           relationship: tosca.relationships.network.BindsTo
128     FSB1:
129       type: org.openecomp.resource.vfc.nodes.heat.FSB1
130       properties:
131         availability_zone:
132           get_input:
133           - compute_FSB1_availability_zone
134           - index_value
135         flavor:
136           get_input: vm_flavor_name
137         metadata:
138           get_input:
139           - compute_FSB1_metadata
140           - index_value
141         name:
142           get_input:
143           - compute_FSB1_name
144           - index_value
145       artifacts:
146         nimbus-ethernet-gw:
147           type: tosca.artifacts.Deployment
148           file: ../Artifacts/nimbus-ethernet-gw
149         nimbus-ethernet:
150           type: tosca.artifacts.Deployment
151           file: ../Artifacts/nimbus-ethernet
152     FSB1_FSB2_Internal1:
153       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
154       properties:
155         network:
156           get_input:
157           - port_FSB2_Internal1_network
158           - index_value
159         mac_address:
160           get_input:
161           - port_FSB2_Internal1_mac_address
162           - index_value
163       requirements:
164       - binding:
165           capability: tosca.capabilities.network.Bindable
166           node: FSB1
167           relationship: tosca.relationships.network.BindsTo
168   substitution_mappings:
169     node_type: org.openecomp.resource.abstract.nodes.FSB1
170     capabilities:
171       network.outgoing.packets.rate_FSB1_FSB_OAM:
172       - FSB1_FSB_OAM
173       - network.outgoing.packets.rate
174       network.incoming.packets_FSB1_FSB2_Internal2:
175       - FSB1_FSB2_Internal2
176       - network.incoming.packets
177       network.incoming.packets_FSB1_FSB2_Internal1:
178       - FSB1_FSB2_Internal1
179       - network.incoming.packets
180       attachment_FSB1_FSB_OAM:
181       - FSB1_FSB_OAM
182       - attachment
183       binding_FSB1_FSB_OAM:
184       - FSB1_FSB_OAM
185       - binding
186       disk.capacity_FSB1:
187       - FSB1
188       - disk.capacity
189       disk.read.bytes.rate_FSB1:
190       - FSB1
191       - disk.read.bytes.rate
192       disk.device.latency_FSB1:
193       - FSB1
194       - disk.device.latency
195       disk.allocation_FSB1:
196       - FSB1
197       - disk.allocation
198       disk.read.bytes_FSB1:
199       - FSB1
200       - disk.read.bytes
201       disk.device.capacity_FSB1:
202       - FSB1
203       - disk.device.capacity
204       cpu_util_FSB1:
205       - FSB1
206       - cpu_util
207       disk.device.write.requests.rate_FSB1:
208       - FSB1
209       - disk.device.write.requests.rate
210       disk.root.size_FSB1:
211       - FSB1
212       - disk.root.size
213       network.outgoing.bytes.rate_FSB1_FSB_OAM:
214       - FSB1_FSB_OAM
215       - network.outgoing.bytes.rate
216       feature_FSB1:
217       - FSB1
218       - feature
219       network.outgoing.bytes_FSB1_FSB2_Internal1:
220       - FSB1_FSB2_Internal1
221       - network.outgoing.bytes
222       network.incoming.packets.rate_FSB1_FSB1_Internal:
223       - FSB1_FSB1_Internal
224       - network.incoming.packets.rate
225       network.outgoing.bytes_FSB1_FSB1_Internal:
226       - FSB1_FSB1_Internal
227       - network.outgoing.bytes
228       feature_FSB1_FSB_OAM:
229       - FSB1_FSB_OAM
230       - feature
231       memory.resident_FSB1:
232       - FSB1
233       - memory.resident
234       cpu_FSB1:
235       - FSB1
236       - cpu
237       binding_FSB1_FSB2_Internal1:
238       - FSB1_FSB2_Internal1
239       - binding
240       disk.write.requests.rate_FSB1:
241       - FSB1
242       - disk.write.requests.rate
243       binding_FSB1_FSB2_Internal2:
244       - FSB1_FSB2_Internal2
245       - binding
246       instance_FSB1:
247       - FSB1
248       - instance
249       network.incoming.bytes_FSB1_FSB_OAM:
250       - FSB1_FSB_OAM
251       - network.incoming.bytes
252       disk.device.read.bytes.rate_FSB1:
253       - FSB1
254       - disk.device.read.bytes.rate
255       attachment_FSB1_FSB2_Internal2:
256       - FSB1_FSB2_Internal2
257       - attachment
258       attachment_FSB1_FSB2_Internal1:
259       - FSB1_FSB2_Internal1
260       - attachment
261       cpu.delta_FSB1:
262       - FSB1
263       - cpu.delta
264       disk.write.bytes_FSB1:
265       - FSB1
266       - disk.write.bytes
267       binding_FSB1_FSB1_Internal:
268       - FSB1_FSB1_Internal
269       - binding
270       disk.device.read.requests.rate_FSB1:
271       - FSB1
272       - disk.device.read.requests.rate
273       feature_FSB1_FSB1_Internal:
274       - FSB1_FSB1_Internal
275       - feature
276       disk.device.read.requests_FSB1:
277       - FSB1
278       - disk.device.read.requests
279       network.incoming.packets.rate_FSB1_FSB2_Internal2:
280       - FSB1_FSB2_Internal2
281       - network.incoming.packets.rate
282       disk.ephemeral.size_FSB1:
283       - FSB1
284       - disk.ephemeral.size
285       binding_FSB1:
286       - FSB1
287       - binding
288       disk.device.write.bytes_FSB1:
289       - FSB1
290       - disk.device.write.bytes
291       network.incoming.packets.rate_FSB1_FSB2_Internal1:
292       - FSB1_FSB2_Internal1
293       - network.incoming.packets.rate
294       network.outpoing.packets_FSB1_FSB_OAM:
295       - FSB1_FSB_OAM
296       - network.outpoing.packets
297       network.incoming.bytes_FSB1_FSB2_Internal2:
298       - FSB1_FSB2_Internal2
299       - network.incoming.bytes
300       network.incoming.packets_FSB1_FSB1_Internal:
301       - FSB1_FSB1_Internal
302       - network.incoming.packets
303       network.incoming.bytes_FSB1_FSB2_Internal1:
304       - FSB1_FSB2_Internal1
305       - network.incoming.bytes
306       attachment_FSB1_FSB1_Internal:
307       - FSB1_FSB1_Internal
308       - attachment
309       memory_FSB1:
310       - FSB1
311       - memory
312       network.incoming.bytes.rate_FSB1_FSB_OAM:
313       - FSB1_FSB_OAM
314       - network.incoming.bytes.rate
315       network.outpoing.packets_FSB1_FSB1_Internal:
316       - FSB1_FSB1_Internal
317       - network.outpoing.packets
318       network.outgoing.bytes_FSB1_FSB_OAM:
319       - FSB1_FSB_OAM
320       - network.outgoing.bytes
321       disk.device.read.bytes_FSB1:
322       - FSB1
323       - disk.device.read.bytes
324       disk.device.usage_FSB1:
325       - FSB1
326       - disk.device.usage
327       disk.write.bytes.rate_FSB1:
328       - FSB1
329       - disk.write.bytes.rate
330       scalable_FSB1:
331       - FSB1
332       - scalable
333       disk.usage_FSB1:
334       - FSB1
335       - disk.usage
336       host_FSB1:
337       - FSB1
338       - host
339       disk.device.allocation_FSB1:
340       - FSB1
341       - disk.device.allocation
342       os_FSB1:
343       - FSB1
344       - os
345       vcpus_FSB1:
346       - FSB1
347       - vcpus
348       disk.write.requests_FSB1:
349       - FSB1
350       - disk.write.requests
351       network.incoming.packets.rate_FSB1_FSB_OAM:
352       - FSB1_FSB_OAM
353       - network.incoming.packets.rate
354       network.incoming.bytes.rate_FSB1_FSB2_Internal2:
355       - FSB1_FSB2_Internal2
356       - network.incoming.bytes.rate
357       network.incoming.bytes.rate_FSB1_FSB2_Internal1:
358       - FSB1_FSB2_Internal1
359       - network.incoming.bytes.rate
360       network.incoming.bytes_FSB1_FSB1_Internal:
361       - FSB1_FSB1_Internal
362       - network.incoming.bytes
363       disk.device.write.bytes.rate_FSB1:
364       - FSB1
365       - disk.device.write.bytes.rate
366       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
367       - FSB1_FSB1_Internal
368       - network.outgoing.bytes.rate
369       endpoint_FSB1:
370       - FSB1
371       - endpoint
372       network.outgoing.bytes_FSB1_FSB2_Internal2:
373       - FSB1_FSB2_Internal2
374       - network.outgoing.bytes
375       network.outgoing.packets.rate_FSB1_FSB1_Internal:
376       - FSB1_FSB1_Internal
377       - network.outgoing.packets.rate
378       network.outgoing.packets.rate_FSB1_FSB2_Internal2:
379       - FSB1_FSB2_Internal2
380       - network.outgoing.packets.rate
381       network.incoming.bytes.rate_FSB1_FSB1_Internal:
382       - FSB1_FSB1_Internal
383       - network.incoming.bytes.rate
384       network.outgoing.packets.rate_FSB1_FSB2_Internal1:
385       - FSB1_FSB2_Internal1
386       - network.outgoing.packets.rate
387       disk.latency_FSB1:
388       - FSB1
389       - disk.latency
390       network.outpoing.packets_FSB1_FSB2_Internal1:
391       - FSB1_FSB2_Internal1
392       - network.outpoing.packets
393       network.outpoing.packets_FSB1_FSB2_Internal2:
394       - FSB1_FSB2_Internal2
395       - network.outpoing.packets
396       memory.usage_FSB1:
397       - FSB1
398       - memory.usage
399       network.outgoing.bytes.rate_FSB1_FSB2_Internal1:
400       - FSB1_FSB2_Internal1
401       - network.outgoing.bytes.rate
402       network.outgoing.bytes.rate_FSB1_FSB2_Internal2:
403       - FSB1_FSB2_Internal2
404       - network.outgoing.bytes.rate
405       disk.read.requests_FSB1:
406       - FSB1
407       - disk.read.requests
408       network.incoming.packets_FSB1_FSB_OAM:
409       - FSB1_FSB_OAM
410       - network.incoming.packets
411       disk.device.write.requests_FSB1:
412       - FSB1
413       - disk.device.write.requests
414       feature_FSB1_FSB2_Internal1:
415       - FSB1_FSB2_Internal1
416       - feature
417       feature_FSB1_FSB2_Internal2:
418       - FSB1_FSB2_Internal2
419       - feature
420       disk.iops_FSB1:
421       - FSB1
422       - disk.iops
423       disk.device.iops_FSB1:
424       - FSB1
425       - disk.device.iops
426     requirements:
427       dependency_FSB1:
428       - FSB1
429       - dependency
430       dependency_FSB1_FSB1_Internal:
431       - FSB1_FSB1_Internal
432       - dependency
433       link_FSB1_FSB1_Internal:
434       - FSB1_FSB1_Internal
435       - link
436       link_FSB1_FSB2_Internal2:
437       - FSB1_FSB2_Internal2
438       - link
439       local_storage_FSB1:
440       - FSB1
441       - local_storage
442       dependency_FSB1_FSB_OAM:
443       - FSB1_FSB_OAM
444       - dependency
445       link_FSB1_FSB_OAM:
446       - FSB1_FSB_OAM
447       - link
448       dependency_FSB1_FSB2_Internal2:
449       - FSB1_FSB2_Internal2
450       - dependency
451       link_FSB1_FSB2_Internal1:
452       - FSB1_FSB2_Internal1
453       - link
454       dependency_FSB1_FSB2_Internal1:
455       - FSB1_FSB2_Internal1
456       - dependency