[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 / 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_FSB2_Internal_tenant_id:
198       type: string
199       value:
200         get_attribute:
201         - FSB1_FSB2_Internal
202         - tenant_id
203     FSB1_FSB1_Internal_network_id:
204       type: string
205       value:
206         get_attribute:
207         - FSB1_FSB1_Internal
208         - network_id
209     FSB1_user_data_format:
210       type: string
211       value:
212         get_attribute:
213         - FSB1
214         - user_data_format
215     FSB1_accessIPv6:
216       type: string
217       value:
218         get_attribute:
219         - FSB1
220         - accessIPv6
221     FSB1_addresses:
222       type: map
223       value:
224         get_attribute:
225         - FSB1
226         - addresses
227       entry_schema:
228         type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
229     FSB1_FSB2_Internal_network_id:
230       type: string
231       value:
232         get_attribute:
233         - FSB1_FSB2_Internal
234         - network_id
235     FSB1_FSB1_Internal_status:
236       type: string
237       value:
238         get_attribute:
239         - FSB1_FSB1_Internal
240         - status
241     FSB1_FSB1_Internal_device_owner:
242       type: string
243       value:
244         get_attribute:
245         - FSB1_FSB1_Internal
246         - device_owner
247   substitution_mappings:
248     node_type: org.openecomp.resource.abstract.nodes.FSB1
249     capabilities:
250       binding_FSB1_FSB2_Internal:
251       - FSB1_FSB2_Internal
252       - binding
253       disk.capacity_FSB1:
254       - FSB1
255       - disk.capacity
256       disk.read.bytes.rate_FSB1:
257       - FSB1
258       - disk.read.bytes.rate
259       disk.device.latency_FSB1:
260       - FSB1
261       - disk.device.latency
262       disk.allocation_FSB1:
263       - FSB1
264       - disk.allocation
265       disk.read.bytes_FSB1:
266       - FSB1
267       - disk.read.bytes
268       disk.device.capacity_FSB1:
269       - FSB1
270       - disk.device.capacity
271       cpu_util_FSB1:
272       - FSB1
273       - cpu_util
274       disk.device.write.requests.rate_FSB1:
275       - FSB1
276       - disk.device.write.requests.rate
277       disk.root.size_FSB1:
278       - FSB1
279       - disk.root.size
280       feature_FSB1:
281       - FSB1
282       - feature
283       network.incoming.packets.rate_FSB1_FSB1_Internal:
284       - FSB1_FSB1_Internal
285       - network.incoming.packets.rate
286       network.outgoing.bytes_FSB1_FSB1_Internal:
287       - FSB1_FSB1_Internal
288       - network.outgoing.bytes
289       attachment_FSB1_FSB2_Internal:
290       - FSB1_FSB2_Internal
291       - attachment
292       feature_FSB1_FSB2_Internal:
293       - FSB1_FSB2_Internal
294       - feature
295       network.incoming.packets_FSB1_FSB2_Internal:
296       - FSB1_FSB2_Internal
297       - network.incoming.packets
298       memory.resident_FSB1:
299       - FSB1
300       - memory.resident
301       network.incoming.packets.rate_FSB1_FSB2_Internal:
302       - FSB1_FSB2_Internal
303       - network.incoming.packets.rate
304       cpu_FSB1:
305       - FSB1
306       - cpu
307       disk.write.requests.rate_FSB1:
308       - FSB1
309       - disk.write.requests.rate
310       instance_FSB1:
311       - FSB1
312       - instance
313       disk.device.read.bytes.rate_FSB1:
314       - FSB1
315       - disk.device.read.bytes.rate
316       cpu.delta_FSB1:
317       - FSB1
318       - cpu.delta
319       disk.write.bytes_FSB1:
320       - FSB1
321       - disk.write.bytes
322       binding_FSB1_FSB1_Internal:
323       - FSB1_FSB1_Internal
324       - binding
325       disk.device.read.requests.rate_FSB1:
326       - FSB1
327       - disk.device.read.requests.rate
328       feature_FSB1_FSB1_Internal:
329       - FSB1_FSB1_Internal
330       - feature
331       disk.device.read.requests_FSB1:
332       - FSB1
333       - disk.device.read.requests
334       disk.ephemeral.size_FSB1:
335       - FSB1
336       - disk.ephemeral.size
337       binding_FSB1:
338       - FSB1
339       - binding
340       disk.device.write.bytes_FSB1:
341       - FSB1
342       - disk.device.write.bytes
343       network.incoming.packets_FSB1_FSB1_Internal:
344       - FSB1_FSB1_Internal
345       - network.incoming.packets
346       attachment_FSB1_FSB1_Internal:
347       - FSB1_FSB1_Internal
348       - attachment
349       memory_FSB1:
350       - FSB1
351       - memory
352       network.outpoing.packets_FSB1_FSB1_Internal:
353       - FSB1_FSB1_Internal
354       - network.outpoing.packets
355       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
356       - FSB1_FSB2_Internal
357       - network.outgoing.bytes.rate
358       disk.device.read.bytes_FSB1:
359       - FSB1
360       - disk.device.read.bytes
361       disk.device.usage_FSB1:
362       - FSB1
363       - disk.device.usage
364       disk.write.bytes.rate_FSB1:
365       - FSB1
366       - disk.write.bytes.rate
367       scalable_FSB1:
368       - FSB1
369       - scalable
370       disk.usage_FSB1:
371       - FSB1
372       - disk.usage
373       host_FSB1:
374       - FSB1
375       - host
376       disk.device.allocation_FSB1:
377       - FSB1
378       - disk.device.allocation
379       os_FSB1:
380       - FSB1
381       - os
382       vcpus_FSB1:
383       - FSB1
384       - vcpus
385       disk.write.requests_FSB1:
386       - FSB1
387       - disk.write.requests
388       network.outgoing.bytes_FSB1_FSB2_Internal:
389       - FSB1_FSB2_Internal
390       - network.outgoing.bytes
391       network.incoming.bytes_FSB1_FSB1_Internal:
392       - FSB1_FSB1_Internal
393       - network.incoming.bytes
394       network.outpoing.packets_FSB1_FSB2_Internal:
395       - FSB1_FSB2_Internal
396       - network.outpoing.packets
397       disk.device.write.bytes.rate_FSB1:
398       - FSB1
399       - disk.device.write.bytes.rate
400       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
401       - FSB1_FSB1_Internal
402       - network.outgoing.bytes.rate
403       endpoint_FSB1:
404       - FSB1
405       - endpoint
406       network.outgoing.packets.rate_FSB1_FSB1_Internal:
407       - FSB1_FSB1_Internal
408       - network.outgoing.packets.rate
409       network.incoming.bytes.rate_FSB1_FSB1_Internal:
410       - FSB1_FSB1_Internal
411       - network.incoming.bytes.rate
412       disk.latency_FSB1:
413       - FSB1
414       - disk.latency
415       memory.usage_FSB1:
416       - FSB1
417       - memory.usage
418       disk.read.requests_FSB1:
419       - FSB1
420       - disk.read.requests
421       disk.device.write.requests_FSB1:
422       - FSB1
423       - disk.device.write.requests
424       network.incoming.bytes.rate_FSB1_FSB2_Internal:
425       - FSB1_FSB2_Internal
426       - network.incoming.bytes.rate
427       network.incoming.bytes_FSB1_FSB2_Internal:
428       - FSB1_FSB2_Internal
429       - network.incoming.bytes
430       disk.iops_FSB1:
431       - FSB1
432       - disk.iops
433       network.outgoing.packets.rate_FSB1_FSB2_Internal:
434       - FSB1_FSB2_Internal
435       - network.outgoing.packets.rate
436       disk.device.iops_FSB1:
437       - FSB1
438       - disk.device.iops
439     requirements:
440       dependency_FSB1:
441       - FSB1
442       - dependency
443       link_FSB1_FSB2_Internal:
444       - FSB1_FSB2_Internal
445       - link
446       dependency_FSB1_FSB1_Internal:
447       - FSB1_FSB1_Internal
448       - dependency
449       link_FSB1_FSB1_Internal:
450       - FSB1_FSB1_Internal
451       - link
452       local_storage_FSB1:
453       - FSB1
454       - local_storage
455       dependency_FSB1_FSB2_Internal:
456       - FSB1_FSB2_Internal
457       - dependency