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