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