[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / generalVf / out / Nested_FSB1ServiceTemplate.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_Internal1_mac_address:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_FSB_OAM_network_role_tag:
20       type: list
21       required: true
22       entry_schema:
23         type: string
24     port_FSB1_Internal2_network:
25       type: list
26       required: true
27       entry_schema:
28         type: string
29     port_FSB_OAM_mac_requirements:
30       type: list
31       required: true
32       entry_schema:
33         type: org.openecomp.datatypes.network.MacRequirements
34     compute_FSB1_availability_zone:
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_FSB1_Internal1_network:
47       type: list
48       required: true
49       entry_schema:
50         type: string
51     vm_flavor_name:
52       type: string
53       required: true
54     port_FSB1_Internal2_mac_address:
55       type: list
56       required: true
57       entry_schema:
58         type: string
59     port_FSB_OAM_ip_requirements:
60       type: list
61       required: true
62       entry_schema:
63         type: json
64     port_FSB1_Internal2_mac_requirements:
65       type: list
66       required: true
67       entry_schema:
68         type: org.openecomp.datatypes.network.MacRequirements
69     port_FSB1_Internal2_ip_requirements:
70       type: list
71       required: true
72       entry_schema:
73         type: json
74     port_FSB_OAM_fixed_ips:
75       type: list
76       required: true
77       entry_schema:
78         type: json
79     compute_FSB1_name:
80       type: list
81       required: true
82       entry_schema:
83         type: string
84     port_FSB1_Internal1_mac_requirements:
85       type: list
86       required: true
87       entry_schema:
88         type: org.openecomp.datatypes.network.MacRequirements
89     port_FSB1_Internal1_ip_requirements:
90       type: list
91       required: true
92       entry_schema:
93         type: json
94     port_FSB_OAM_network:
95       type: list
96       required: true
97       entry_schema:
98         type: string
99   node_templates:
100     FSB1_FSB1_Internal2:
101       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
102       properties:
103         ip_requirements:
104           get_input:
105           - port_FSB1_Internal2_ip_requirements
106           - index_value
107         mac_requirements:
108           get_input:
109           - port_FSB1_Internal2_mac_requirements
110           - index_value
111         network:
112           get_input:
113           - port_FSB1_Internal2_network
114           - index_value
115         mac_address:
116           get_input:
117           - port_FSB1_Internal2_mac_address
118           - index_value
119       requirements:
120       - binding:
121           capability: tosca.capabilities.network.Bindable
122           node: FSB1
123           relationship: tosca.relationships.network.BindsTo
124     FSB1_FSB1_Internal1:
125       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
126       properties:
127         ip_requirements:
128           get_input:
129           - port_FSB1_Internal1_ip_requirements
130           - index_value
131         mac_requirements:
132           get_input:
133           - port_FSB1_Internal1_mac_requirements
134           - index_value
135         network:
136           get_input:
137           - port_FSB1_Internal1_network
138           - index_value
139         mac_address:
140           get_input:
141           - port_FSB1_Internal1_mac_address
142           - index_value
143       requirements:
144       - binding:
145           capability: tosca.capabilities.network.Bindable
146           node: FSB1
147           relationship: tosca.relationships.network.BindsTo
148     FSB1_FSB_OAM:
149       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
150       properties:
151         ip_requirements:
152           get_input:
153           - port_FSB_OAM_ip_requirements
154           - index_value
155         network_role_tag:
156           get_input:
157           - port_FSB_OAM_network_role_tag
158           - index_value
159         mac_requirements:
160           get_input:
161           - port_FSB_OAM_mac_requirements
162           - index_value
163         fixed_ips:
164           get_input:
165           - port_FSB_OAM_fixed_ips
166           - index_value
167         network:
168           get_input:
169           - port_FSB_OAM_network
170           - index_value
171       requirements:
172       - binding:
173           capability: tosca.capabilities.network.Bindable
174           node: FSB1
175           relationship: tosca.relationships.network.BindsTo
176     FSB1:
177       type: org.openecomp.resource.vfc.nodes.heat.FSB1
178       properties:
179         availability_zone:
180           get_input:
181           - compute_FSB1_availability_zone
182           - index_value
183         flavor:
184           get_input: vm_flavor_name
185         name:
186           get_input:
187           - compute_FSB1_name
188           - index_value
189   substitution_mappings:
190     node_type: org.openecomp.resource.abstract.nodes.FSB1
191     capabilities:
192       network.outgoing.packets.rate_FSB1_FSB_OAM:
193       - FSB1_FSB_OAM
194       - network.outgoing.packets.rate
195       attachment_FSB1_FSB_OAM:
196       - FSB1_FSB_OAM
197       - attachment
198       binding_FSB1_FSB_OAM:
199       - FSB1_FSB_OAM
200       - binding
201       disk.capacity_FSB1:
202       - FSB1
203       - disk.capacity
204       disk.read.bytes.rate_FSB1:
205       - FSB1
206       - disk.read.bytes.rate
207       disk.device.latency_FSB1:
208       - FSB1
209       - disk.device.latency
210       disk.allocation_FSB1:
211       - FSB1
212       - disk.allocation
213       disk.read.bytes_FSB1:
214       - FSB1
215       - disk.read.bytes
216       disk.device.capacity_FSB1:
217       - FSB1
218       - disk.device.capacity
219       cpu_util_FSB1:
220       - FSB1
221       - cpu_util
222       disk.device.write.requests.rate_FSB1:
223       - FSB1
224       - disk.device.write.requests.rate
225       binding_FSB1_FSB1_Internal2:
226       - FSB1_FSB1_Internal2
227       - binding
228       binding_FSB1_FSB1_Internal1:
229       - FSB1_FSB1_Internal1
230       - binding
231       disk.root.size_FSB1:
232       - FSB1
233       - disk.root.size
234       network.outgoing.bytes.rate_FSB1_FSB_OAM:
235       - FSB1_FSB_OAM
236       - network.outgoing.bytes.rate
237       feature_FSB1:
238       - FSB1
239       - feature
240       feature_FSB1_FSB_OAM:
241       - FSB1_FSB_OAM
242       - feature
243       memory.resident_FSB1:
244       - FSB1
245       - memory.resident
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       network.incoming.packets_FSB1_FSB1_Internal1:
265       - FSB1_FSB1_Internal1
266       - network.incoming.packets
267       network.incoming.packets_FSB1_FSB1_Internal2:
268       - FSB1_FSB1_Internal2
269       - network.incoming.packets
270       disk.write.bytes_FSB1:
271       - FSB1
272       - disk.write.bytes
273       disk.device.read.requests.rate_FSB1:
274       - FSB1
275       - disk.device.read.requests.rate
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.outgoing.bytes_FSB1_FSB1_Internal1:
289       - FSB1_FSB1_Internal1
290       - network.outgoing.bytes
291       network.outgoing.bytes_FSB1_FSB1_Internal2:
292       - FSB1_FSB1_Internal2
293       - network.outgoing.bytes
294       network.incoming.bytes.rate_FSB1_FSB1_Internal1:
295       - FSB1_FSB1_Internal1
296       - network.incoming.bytes.rate
297       network.incoming.bytes.rate_FSB1_FSB1_Internal2:
298       - FSB1_FSB1_Internal2
299       - network.incoming.bytes.rate
300       network.outpoing.packets_FSB1_FSB_OAM:
301       - FSB1_FSB_OAM
302       - network.outpoing.packets
303       memory_FSB1:
304       - FSB1
305       - memory
306       network.incoming.bytes.rate_FSB1_FSB_OAM:
307       - FSB1_FSB_OAM
308       - network.incoming.bytes.rate
309       network.outgoing.packets.rate_FSB1_FSB1_Internal1:
310       - FSB1_FSB1_Internal1
311       - network.outgoing.packets.rate
312       network.outgoing.packets.rate_FSB1_FSB1_Internal2:
313       - FSB1_FSB1_Internal2
314       - network.outgoing.packets.rate
315       network.outgoing.bytes_FSB1_FSB_OAM:
316       - FSB1_FSB_OAM
317       - network.outgoing.bytes
318       disk.device.read.bytes_FSB1:
319       - FSB1
320       - disk.device.read.bytes
321       disk.device.usage_FSB1:
322       - FSB1
323       - disk.device.usage
324       disk.write.bytes.rate_FSB1:
325       - FSB1
326       - disk.write.bytes.rate
327       scalable_FSB1:
328       - FSB1
329       - scalable
330       network.incoming.packets.rate_FSB1_FSB1_Internal1:
331       - FSB1_FSB1_Internal1
332       - network.incoming.packets.rate
333       disk.usage_FSB1:
334       - FSB1
335       - disk.usage
336       network.incoming.packets.rate_FSB1_FSB1_Internal2:
337       - FSB1_FSB1_Internal2
338       - network.incoming.packets.rate
339       network.outpoing.packets_FSB1_FSB1_Internal1:
340       - FSB1_FSB1_Internal1
341       - network.outpoing.packets
342       attachment_FSB1_FSB1_Internal1:
343       - FSB1_FSB1_Internal1
344       - attachment
345       attachment_FSB1_FSB1_Internal2:
346       - FSB1_FSB1_Internal2
347       - attachment
348       network.outgoing.bytes.rate_FSB1_FSB1_Internal2:
349       - FSB1_FSB1_Internal2
350       - network.outgoing.bytes.rate
351       network.outgoing.bytes.rate_FSB1_FSB1_Internal1:
352       - FSB1_FSB1_Internal1
353       - network.outgoing.bytes.rate
354       host_FSB1:
355       - FSB1
356       - host
357       feature_FSB1_FSB1_Internal1:
358       - FSB1_FSB1_Internal1
359       - feature
360       network.outpoing.packets_FSB1_FSB1_Internal2:
361       - FSB1_FSB1_Internal2
362       - network.outpoing.packets
363       disk.device.allocation_FSB1:
364       - FSB1
365       - disk.device.allocation
366       os_FSB1:
367       - FSB1
368       - os
369       vcpus_FSB1:
370       - FSB1
371       - vcpus
372       feature_FSB1_FSB1_Internal2:
373       - FSB1_FSB1_Internal2
374       - feature
375       disk.write.requests_FSB1:
376       - FSB1
377       - disk.write.requests
378       network.incoming.packets.rate_FSB1_FSB_OAM:
379       - FSB1_FSB_OAM
380       - network.incoming.packets.rate
381       disk.device.write.bytes.rate_FSB1:
382       - FSB1
383       - disk.device.write.bytes.rate
384       endpoint_FSB1:
385       - FSB1
386       - endpoint
387       network.incoming.bytes_FSB1_FSB1_Internal1:
388       - FSB1_FSB1_Internal1
389       - network.incoming.bytes
390       network.incoming.bytes_FSB1_FSB1_Internal2:
391       - FSB1_FSB1_Internal2
392       - network.incoming.bytes
393       disk.latency_FSB1:
394       - FSB1
395       - disk.latency
396       memory.usage_FSB1:
397       - FSB1
398       - memory.usage
399       disk.read.requests_FSB1:
400       - FSB1
401       - disk.read.requests
402       network.incoming.packets_FSB1_FSB_OAM:
403       - FSB1_FSB_OAM
404       - network.incoming.packets
405       disk.device.write.requests_FSB1:
406       - FSB1
407       - disk.device.write.requests
408       disk.iops_FSB1:
409       - FSB1
410       - disk.iops
411       disk.device.iops_FSB1:
412       - FSB1
413       - disk.device.iops
414     requirements:
415       dependency_FSB1:
416       - FSB1
417       - dependency
418       link_FSB1_FSB1_Internal1:
419       - FSB1_FSB1_Internal1
420       - link
421       link_FSB1_FSB1_Internal2:
422       - FSB1_FSB1_Internal2
423       - link
424       dependency_FSB1_FSB1_Internal2:
425       - FSB1_FSB1_Internal2
426       - dependency
427       dependency_FSB1_FSB1_Internal1:
428       - FSB1_FSB1_Internal1
429       - dependency
430       local_storage_FSB1:
431       - FSB1
432       - local_storage
433       dependency_FSB1_FSB_OAM:
434       - FSB1_FSB_OAM
435       - dependency
436       link_FSB1_FSB_OAM:
437       - FSB1_FSB_OAM
438       - link