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