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