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