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