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