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