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