[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_FSB2ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_FSB2
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.FSB2:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_FSB_OAM_network_role_tag:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_FSB2_Internal2_mac_requirements:
20       type: list
21       required: true
22       entry_schema:
23         type: org.openecomp.datatypes.network.MacRequirements
24     port_FSB_OAM_mac_requirements:
25       type: list
26       required: true
27       entry_schema:
28         type: org.openecomp.datatypes.network.MacRequirements
29     port_FSB2_Internal2_ip_requirements:
30       type: list
31       required: true
32       entry_schema:
33         type: json
34     index_value:
35       type: integer
36       description: Index value of this substitution service template runtime instance
37       required: false
38       default: 0
39       constraints:
40       - greater_or_equal: 0
41     port_FSB2_Internal2_network:
42       type: list
43       required: true
44       entry_schema:
45         type: string
46     vm_flavor_name:
47       type: string
48       required: true
49     compute_FSB2_availability_zone:
50       type: list
51       required: true
52       entry_schema:
53         type: string
54     port_FSB_OAM_ip_requirements:
55       type: list
56       required: true
57       entry_schema:
58         type: json
59     port_FSB2_Internal1_ip_requirements:
60       type: list
61       required: true
62       entry_schema:
63         type: json
64     compute_FSB2_name:
65       type: list
66       required: true
67       entry_schema:
68         type: string
69     port_FSB2_Internal1_mac_address:
70       type: list
71       required: true
72       entry_schema:
73         type: string
74     port_FSB_OAM_fixed_ips:
75       type: list
76       required: true
77       entry_schema:
78         type: json
79     port_FSB2_Internal1_mac_requirements:
80       type: list
81       required: true
82       entry_schema:
83         type: org.openecomp.datatypes.network.MacRequirements
84     port_FSB_OAM_network:
85       type: list
86       required: true
87       entry_schema:
88         type: string
89     port_FSB2_Internal1_network:
90       type: list
91       required: true
92       entry_schema:
93         type: string
94     port_FSB2_Internal2_mac_address:
95       type: list
96       required: true
97       entry_schema:
98         type: string
99   node_templates:
100     FSB2_FSB_OAM:
101       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
102       properties:
103         ip_requirements:
104           get_input:
105           - port_FSB_OAM_ip_requirements
106           - index_value
107         network_role_tag:
108           get_input:
109           - port_FSB_OAM_network_role_tag
110           - index_value
111         mac_requirements:
112           get_input:
113           - port_FSB_OAM_mac_requirements
114           - index_value
115         fixed_ips:
116           get_input:
117           - port_FSB_OAM_fixed_ips
118           - index_value
119         network:
120           get_input:
121           - port_FSB_OAM_network
122           - index_value
123       requirements:
124       - binding:
125           capability: tosca.capabilities.network.Bindable
126           node: FSB2
127           relationship: tosca.relationships.network.BindsTo
128     FSB2:
129       type: org.openecomp.resource.vfc.nodes.heat.FSB2
130       properties:
131         availability_zone:
132           get_input:
133           - compute_FSB2_availability_zone
134           - index_value
135         flavor:
136           get_input: vm_flavor_name
137         name:
138           get_input:
139           - compute_FSB2_name
140           - index_value
141     FSB2_FSB2_Internal2:
142       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
143       properties:
144         ip_requirements:
145           get_input:
146           - port_FSB2_Internal2_ip_requirements
147           - index_value
148         mac_requirements:
149           get_input:
150           - port_FSB2_Internal2_mac_requirements
151           - index_value
152         network:
153           get_input:
154           - port_FSB2_Internal2_network
155           - index_value
156         mac_address:
157           get_input:
158           - port_FSB2_Internal2_mac_address
159           - index_value
160       requirements:
161       - binding:
162           capability: tosca.capabilities.network.Bindable
163           node: FSB2
164           relationship: tosca.relationships.network.BindsTo
165     FSB2_FSB2_Internal1:
166       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
167       properties:
168         ip_requirements:
169           get_input:
170           - port_FSB2_Internal1_ip_requirements
171           - index_value
172         mac_requirements:
173           get_input:
174           - port_FSB2_Internal1_mac_requirements
175           - index_value
176         network:
177           get_input:
178           - port_FSB2_Internal1_network
179           - index_value
180         mac_address:
181           get_input:
182           - port_FSB2_Internal1_mac_address
183           - index_value
184       requirements:
185       - binding:
186           capability: tosca.capabilities.network.Bindable
187           node: FSB2
188           relationship: tosca.relationships.network.BindsTo
189   substitution_mappings:
190     node_type: org.openecomp.resource.abstract.nodes.FSB2
191     capabilities:
192       network.outgoing.bytes.rate_FSB2_FSB2_Internal1:
193       - FSB2_FSB2_Internal1
194       - network.outgoing.bytes.rate
195       network.outgoing.bytes.rate_FSB2_FSB2_Internal2:
196       - FSB2_FSB2_Internal2
197       - network.outgoing.bytes.rate
198       disk.device.write.requests.rate_FSB2:
199       - FSB2
200       - disk.device.write.requests.rate
201       disk.read.bytes.rate_FSB2:
202       - FSB2
203       - disk.read.bytes.rate
204       disk.read.bytes_FSB2:
205       - FSB2
206       - disk.read.bytes
207       disk.capacity_FSB2:
208       - FSB2
209       - disk.capacity
210       disk.device.latency_FSB2:
211       - FSB2
212       - disk.device.latency
213       network.incoming.bytes.rate_FSB2_FSB_OAM:
214       - FSB2_FSB_OAM
215       - network.incoming.bytes.rate
216       disk.allocation_FSB2:
217       - FSB2
218       - disk.allocation
219       disk.device.capacity_FSB2:
220       - FSB2
221       - disk.device.capacity
222       cpu_util_FSB2:
223       - FSB2
224       - cpu_util
225       network.outgoing.bytes_FSB2_FSB_OAM:
226       - FSB2_FSB_OAM
227       - network.outgoing.bytes
228       network.incoming.bytes_FSB2_FSB2_Internal2:
229       - FSB2_FSB2_Internal2
230       - network.incoming.bytes
231       network.incoming.bytes_FSB2_FSB2_Internal1:
232       - FSB2_FSB2_Internal1
233       - network.incoming.bytes
234       feature_FSB2:
235       - FSB2
236       - feature
237       memory.resident_FSB2:
238       - FSB2
239       - memory.resident
240       disk.write.requests.rate_FSB2:
241       - FSB2
242       - disk.write.requests.rate
243       network.incoming.packets.rate_FSB2_FSB_OAM:
244       - FSB2_FSB_OAM
245       - network.incoming.packets.rate
246       instance_FSB2:
247       - FSB2
248       - instance
249       cpu_FSB2:
250       - FSB2
251       - cpu
252       network.outgoing.bytes_FSB2_FSB2_Internal2:
253       - FSB2_FSB2_Internal2
254       - network.outgoing.bytes
255       network.outgoing.bytes_FSB2_FSB2_Internal1:
256       - FSB2_FSB2_Internal1
257       - network.outgoing.bytes
258       disk.device.read.bytes.rate_FSB2:
259       - FSB2
260       - disk.device.read.bytes.rate
261       network.incoming.packets.rate_FSB2_FSB2_Internal2:
262       - FSB2_FSB2_Internal2
263       - network.incoming.packets.rate
264       network.incoming.packets.rate_FSB2_FSB2_Internal1:
265       - FSB2_FSB2_Internal1
266       - network.incoming.packets.rate
267       disk.root.size_FSB2:
268       - FSB2
269       - disk.root.size
270       cpu.delta_FSB2:
271       - FSB2
272       - cpu.delta
273       disk.write.bytes_FSB2:
274       - FSB2
275       - disk.write.bytes
276       disk.device.read.requests.rate_FSB2:
277       - FSB2
278       - disk.device.read.requests.rate
279       binding_FSB2_FSB2_Internal2:
280       - FSB2_FSB2_Internal2
281       - binding
282       binding_FSB2_FSB2_Internal1:
283       - FSB2_FSB2_Internal1
284       - binding
285       disk.ephemeral.size_FSB2:
286       - FSB2
287       - disk.ephemeral.size
288       disk.device.read.requests_FSB2:
289       - FSB2
290       - disk.device.read.requests
291       binding_FSB2:
292       - FSB2
293       - binding
294       disk.device.write.bytes_FSB2:
295       - FSB2
296       - disk.device.write.bytes
297       attachment_FSB2_FSB2_Internal1:
298       - FSB2_FSB2_Internal1
299       - attachment
300       network.incoming.packets_FSB2_FSB_OAM:
301       - FSB2_FSB_OAM
302       - network.incoming.packets
303       attachment_FSB2_FSB2_Internal2:
304       - FSB2_FSB2_Internal2
305       - attachment
306       network.outgoing.packets.rate_FSB2_FSB_OAM:
307       - FSB2_FSB_OAM
308       - network.outgoing.packets.rate
309       attachment_FSB2_FSB_OAM:
310       - FSB2_FSB_OAM
311       - attachment
312       memory_FSB2:
313       - FSB2
314       - memory
315       disk.device.read.bytes_FSB2:
316       - FSB2
317       - disk.device.read.bytes
318       scalable_FSB2:
319       - FSB2
320       - scalable
321       disk.write.bytes.rate_FSB2:
322       - FSB2
323       - disk.write.bytes.rate
324       disk.device.usage_FSB2:
325       - FSB2
326       - disk.device.usage
327       disk.write.requests_FSB2:
328       - FSB2
329       - disk.write.requests
330       os_FSB2:
331       - FSB2
332       - os
333       network.incoming.bytes.rate_FSB2_FSB2_Internal2:
334       - FSB2_FSB2_Internal2
335       - network.incoming.bytes.rate
336       network.incoming.packets_FSB2_FSB2_Internal2:
337       - FSB2_FSB2_Internal2
338       - network.incoming.packets
339       feature_FSB2_FSB_OAM:
340       - FSB2_FSB_OAM
341       - feature
342       disk.usage_FSB2:
343       - FSB2
344       - disk.usage
345       network.incoming.bytes.rate_FSB2_FSB2_Internal1:
346       - FSB2_FSB2_Internal1
347       - network.incoming.bytes.rate
348       network.incoming.packets_FSB2_FSB2_Internal1:
349       - FSB2_FSB2_Internal1
350       - network.incoming.packets
351       binding_FSB2_FSB_OAM:
352       - FSB2_FSB_OAM
353       - binding
354       disk.device.allocation_FSB2:
355       - FSB2
356       - disk.device.allocation
357       vcpus_FSB2:
358       - FSB2
359       - vcpus
360       host_FSB2:
361       - FSB2
362       - host
363       network.outpoing.packets_FSB2_FSB2_Internal2:
364       - FSB2_FSB2_Internal2
365       - network.outpoing.packets
366       disk.device.write.bytes.rate_FSB2:
367       - FSB2
368       - disk.device.write.bytes.rate
369       endpoint_FSB2:
370       - FSB2
371       - endpoint
372       network.outgoing.bytes.rate_FSB2_FSB_OAM:
373       - FSB2_FSB_OAM
374       - network.outgoing.bytes.rate
375       feature_FSB2_FSB2_Internal2:
376       - FSB2_FSB2_Internal2
377       - feature
378       feature_FSB2_FSB2_Internal1:
379       - FSB2_FSB2_Internal1
380       - feature
381       network.outpoing.packets_FSB2_FSB2_Internal1:
382       - FSB2_FSB2_Internal1
383       - network.outpoing.packets
384       disk.latency_FSB2:
385       - FSB2
386       - disk.latency
387       network.outpoing.packets_FSB2_FSB_OAM:
388       - FSB2_FSB_OAM
389       - network.outpoing.packets
390       disk.read.requests_FSB2:
391       - FSB2
392       - disk.read.requests
393       disk.device.iops_FSB2:
394       - FSB2
395       - disk.device.iops
396       network.incoming.bytes_FSB2_FSB_OAM:
397       - FSB2_FSB_OAM
398       - network.incoming.bytes
399       disk.device.write.requests_FSB2:
400       - FSB2
401       - disk.device.write.requests
402       network.outgoing.packets.rate_FSB2_FSB2_Internal2:
403       - FSB2_FSB2_Internal2
404       - network.outgoing.packets.rate
405       network.outgoing.packets.rate_FSB2_FSB2_Internal1:
406       - FSB2_FSB2_Internal1
407       - network.outgoing.packets.rate
408       memory.usage_FSB2:
409       - FSB2
410       - memory.usage
411       disk.iops_FSB2:
412       - FSB2
413       - disk.iops
414     requirements:
415       dependency_FSB2_FSB2_Internal2:
416       - FSB2_FSB2_Internal2
417       - dependency
418       link_FSB2_FSB2_Internal1:
419       - FSB2_FSB2_Internal1
420       - link
421       dependency_FSB2_FSB2_Internal1:
422       - FSB2_FSB2_Internal1
423       - dependency
424       dependency_FSB2:
425       - FSB2
426       - dependency
427       link_FSB2_FSB_OAM:
428       - FSB2_FSB_OAM
429       - link
430       dependency_FSB2_FSB_OAM:
431       - FSB2_FSB_OAM
432       - dependency
433       local_storage_FSB2:
434       - FSB2
435       - local_storage
436       link_FSB2_FSB2_Internal2:
437       - FSB2_FSB2_Internal2
438       - link