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