[SDC] Onboarding 1710 rebase.
[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_FSB_OAM_status:
266       type: string
267       value:
268         get_attribute:
269         - FSB1_FSB_OAM
270         - status
271     FSB1_FSB2_Internal_tenant_id:
272       type: string
273       value:
274         get_attribute:
275         - FSB1_FSB2_Internal
276         - tenant_id
277     FSB1_FSB1_Internal_network_id:
278       type: string
279       value:
280         get_attribute:
281         - FSB1_FSB1_Internal
282         - network_id
283     FSB1_accessIPv6:
284       type: string
285       value:
286         get_attribute:
287         - FSB1
288         - accessIPv6
289     FSB1_addresses:
290       type: map
291       value:
292         get_attribute:
293         - FSB1
294         - addresses
295       entry_schema:
296         type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
297     FSB1_FSB2_Internal_network_id:
298       type: string
299       value:
300         get_attribute:
301         - FSB1_FSB2_Internal
302         - network_id
303     FSB1_FSB1_Internal_device_owner:
304       type: string
305       value:
306         get_attribute:
307         - FSB1_FSB1_Internal
308         - device_owner
309   substitution_mappings:
310     node_type: org.openecomp.resource.abstract.nodes.FSB1
311     capabilities:
312       network.outgoing.packets.rate_FSB1_FSB_OAM:
313       - FSB1_FSB_OAM
314       - network.outgoing.packets.rate
315       attachment_FSB1_FSB_OAM:
316       - FSB1_FSB_OAM
317       - attachment
318       binding_FSB1_FSB_OAM:
319       - FSB1_FSB_OAM
320       - binding
321       binding_FSB1_FSB2_Internal:
322       - FSB1_FSB2_Internal
323       - binding
324       disk.capacity_FSB1:
325       - FSB1
326       - disk.capacity
327       disk.read.bytes.rate_FSB1:
328       - FSB1
329       - disk.read.bytes.rate
330       disk.device.latency_FSB1:
331       - FSB1
332       - disk.device.latency
333       disk.allocation_FSB1:
334       - FSB1
335       - disk.allocation
336       disk.read.bytes_FSB1:
337       - FSB1
338       - disk.read.bytes
339       disk.device.capacity_FSB1:
340       - FSB1
341       - disk.device.capacity
342       cpu_util_FSB1:
343       - FSB1
344       - cpu_util
345       disk.device.write.requests.rate_FSB1:
346       - FSB1
347       - disk.device.write.requests.rate
348       disk.root.size_FSB1:
349       - FSB1
350       - disk.root.size
351       network.outgoing.bytes.rate_FSB1_FSB_OAM:
352       - FSB1_FSB_OAM
353       - network.outgoing.bytes.rate
354       feature_FSB1:
355       - FSB1
356       - feature
357       network.incoming.packets.rate_FSB1_FSB1_Internal:
358       - FSB1_FSB1_Internal
359       - network.incoming.packets.rate
360       network.outgoing.bytes_FSB1_FSB1_Internal:
361       - FSB1_FSB1_Internal
362       - network.outgoing.bytes
363       attachment_FSB1_FSB2_Internal:
364       - FSB1_FSB2_Internal
365       - attachment
366       feature_FSB1_FSB2_Internal:
367       - FSB1_FSB2_Internal
368       - feature
369       network.incoming.packets_FSB1_FSB2_Internal:
370       - FSB1_FSB2_Internal
371       - network.incoming.packets
372       feature_FSB1_FSB_OAM:
373       - FSB1_FSB_OAM
374       - feature
375       memory.resident_FSB1:
376       - FSB1
377       - memory.resident
378       network.incoming.packets.rate_FSB1_FSB2_Internal:
379       - FSB1_FSB2_Internal
380       - network.incoming.packets.rate
381       cpu_FSB1:
382       - FSB1
383       - cpu
384       disk.write.requests.rate_FSB1:
385       - FSB1
386       - disk.write.requests.rate
387       instance_FSB1:
388       - FSB1
389       - instance
390       network.incoming.bytes_FSB1_FSB_OAM:
391       - FSB1_FSB_OAM
392       - network.incoming.bytes
393       disk.device.read.bytes.rate_FSB1:
394       - FSB1
395       - disk.device.read.bytes.rate
396       cpu.delta_FSB1:
397       - FSB1
398       - cpu.delta
399       disk.write.bytes_FSB1:
400       - FSB1
401       - disk.write.bytes
402       binding_FSB1_FSB1_Internal:
403       - FSB1_FSB1_Internal
404       - binding
405       disk.device.read.requests.rate_FSB1:
406       - FSB1
407       - disk.device.read.requests.rate
408       feature_FSB1_FSB1_Internal:
409       - FSB1_FSB1_Internal
410       - feature
411       disk.device.read.requests_FSB1:
412       - FSB1
413       - disk.device.read.requests
414       disk.ephemeral.size_FSB1:
415       - FSB1
416       - disk.ephemeral.size
417       binding_FSB1:
418       - FSB1
419       - binding
420       disk.device.write.bytes_FSB1:
421       - FSB1
422       - disk.device.write.bytes
423       network.outpoing.packets_FSB1_FSB_OAM:
424       - FSB1_FSB_OAM
425       - network.outpoing.packets
426       network.incoming.packets_FSB1_FSB1_Internal:
427       - FSB1_FSB1_Internal
428       - network.incoming.packets
429       attachment_FSB1_FSB1_Internal:
430       - FSB1_FSB1_Internal
431       - attachment
432       memory_FSB1:
433       - FSB1
434       - memory
435       network.incoming.bytes.rate_FSB1_FSB_OAM:
436       - FSB1_FSB_OAM
437       - network.incoming.bytes.rate
438       network.outpoing.packets_FSB1_FSB1_Internal:
439       - FSB1_FSB1_Internal
440       - network.outpoing.packets
441       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
442       - FSB1_FSB2_Internal
443       - network.outgoing.bytes.rate
444       network.outgoing.bytes_FSB1_FSB_OAM:
445       - FSB1_FSB_OAM
446       - network.outgoing.bytes
447       disk.device.read.bytes_FSB1:
448       - FSB1
449       - disk.device.read.bytes
450       disk.device.usage_FSB1:
451       - FSB1
452       - disk.device.usage
453       disk.write.bytes.rate_FSB1:
454       - FSB1
455       - disk.write.bytes.rate
456       scalable_FSB1:
457       - FSB1
458       - scalable
459       disk.usage_FSB1:
460       - FSB1
461       - disk.usage
462       host_FSB1:
463       - FSB1
464       - host
465       disk.device.allocation_FSB1:
466       - FSB1
467       - disk.device.allocation
468       os_FSB1:
469       - FSB1
470       - os
471       vcpus_FSB1:
472       - FSB1
473       - vcpus
474       disk.write.requests_FSB1:
475       - FSB1
476       - disk.write.requests
477       network.incoming.packets.rate_FSB1_FSB_OAM:
478       - FSB1_FSB_OAM
479       - network.incoming.packets.rate
480       network.outgoing.bytes_FSB1_FSB2_Internal:
481       - FSB1_FSB2_Internal
482       - network.outgoing.bytes
483       network.incoming.bytes_FSB1_FSB1_Internal:
484       - FSB1_FSB1_Internal
485       - network.incoming.bytes
486       network.outpoing.packets_FSB1_FSB2_Internal:
487       - FSB1_FSB2_Internal
488       - network.outpoing.packets
489       disk.device.write.bytes.rate_FSB1:
490       - FSB1
491       - disk.device.write.bytes.rate
492       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
493       - FSB1_FSB1_Internal
494       - network.outgoing.bytes.rate
495       endpoint_FSB1:
496       - FSB1
497       - endpoint
498       network.outgoing.packets.rate_FSB1_FSB1_Internal:
499       - FSB1_FSB1_Internal
500       - network.outgoing.packets.rate
501       network.incoming.bytes.rate_FSB1_FSB1_Internal:
502       - FSB1_FSB1_Internal
503       - network.incoming.bytes.rate
504       disk.latency_FSB1:
505       - FSB1
506       - disk.latency
507       memory.usage_FSB1:
508       - FSB1
509       - memory.usage
510       disk.read.requests_FSB1:
511       - FSB1
512       - disk.read.requests
513       network.incoming.packets_FSB1_FSB_OAM:
514       - FSB1_FSB_OAM
515       - network.incoming.packets
516       disk.device.write.requests_FSB1:
517       - FSB1
518       - disk.device.write.requests
519       network.incoming.bytes.rate_FSB1_FSB2_Internal:
520       - FSB1_FSB2_Internal
521       - network.incoming.bytes.rate
522       network.incoming.bytes_FSB1_FSB2_Internal:
523       - FSB1_FSB2_Internal
524       - network.incoming.bytes
525       disk.iops_FSB1:
526       - FSB1
527       - disk.iops
528       network.outgoing.packets.rate_FSB1_FSB2_Internal:
529       - FSB1_FSB2_Internal
530       - network.outgoing.packets.rate
531       disk.device.iops_FSB1:
532       - FSB1
533       - disk.device.iops
534     requirements:
535       dependency_FSB1:
536       - FSB1
537       - dependency
538       link_FSB1_FSB2_Internal:
539       - FSB1_FSB2_Internal
540       - link
541       dependency_FSB1_FSB1_Internal:
542       - FSB1_FSB1_Internal
543       - dependency
544       link_FSB1_FSB1_Internal:
545       - FSB1_FSB1_Internal
546       - link
547       local_storage_FSB1:
548       - FSB1
549       - local_storage
550       dependency_FSB1_FSB_OAM:
551       - FSB1_FSB_OAM
552       - dependency
553       link_FSB1_FSB_OAM:
554       - FSB1_FSB_OAM
555       - link
556       dependency_FSB1_FSB2_Internal:
557       - FSB1_FSB2_Internal
558       - dependency