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