[sdc] update code of sdc
[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: string
16       required: true
17     port_FSB2_Internal2_network_role_tag:
18       type: list
19       required: true
20       entry_schema:
21         type: string
22     port_FSB2_Internal1_exCP_naming:
23       type: list
24       required: true
25       entry_schema:
26         type: json
27     vm_flavor_name:
28       type: string
29       required: true
30     port_FSB_OAM_vlan_requirements:
31       type: list
32       required: true
33       entry_schema:
34         type: json
35     compute_FSB2_availability_zone:
36       type: list
37       required: true
38       entry_schema:
39         type: string
40     port_FSB2_Internal2_exCP_naming:
41       type: list
42       required: true
43       entry_schema:
44         type: json
45     port_FSB_OAM_ip_requirements:
46       type: list
47       required: true
48       entry_schema:
49         type: org.openecomp.datatypes.network.IpRequirements
50     port_FSB2_Internal1_ip_requirements:
51       type: list
52       required: true
53       entry_schema:
54         type: org.openecomp.datatypes.network.IpRequirements
55     port_FSB2_Internal1_network_role:
56       type: list
57       required: true
58       entry_schema:
59         type: string
60     port_FSB2_Internal2_network_role:
61       type: list
62       required: true
63       entry_schema:
64         type: string
65     compute_FSB2_name:
66       type: list
67       required: true
68       entry_schema:
69         type: string
70     port_FSB2_Internal1_mac_address:
71       type: string
72       required: true
73     port_FSB2_Internal1_vlan_requirements:
74       type: list
75       required: true
76       entry_schema:
77         type: json
78     port_FSB_OAM_network_role:
79       type: list
80       required: true
81       entry_schema:
82         type: string
83     port_FSB_OAM_network:
84       type: list
85       required: true
86       entry_schema:
87         type: string
88     port_FSB2_Internal1_network:
89       type: list
90       required: true
91       entry_schema:
92         type: string
93     port_FSB2_Internal2_mac_address:
94       type: string
95       required: true
96     port_FSB_OAM_subnetpoolid:
97       type: list
98       required: true
99       entry_schema:
100         type: string
101     port_FSB2_Internal2_mac_requirements:
102       type: org.openecomp.datatypes.network.MacRequirements
103       required: true
104     port_FSB_OAM_mac_requirements:
105       type: org.openecomp.datatypes.network.MacRequirements
106       required: true
107     port_FSB2_Internal2_ip_requirements:
108       type: list
109       required: true
110       entry_schema:
111         type: org.openecomp.datatypes.network.IpRequirements
112     index_value:
113       type: integer
114       description: Index value of this substitution service template runtime instance
115       required: false
116       default: 0
117       constraints:
118       - greater_or_equal: 0
119     port_FSB_OAM_order:
120       type: list
121       required: true
122       entry_schema:
123         type: integer
124     port_FSB2_Internal2_network:
125       type: list
126       required: true
127       entry_schema:
128         type: string
129     port_FSB2_Internal2_vlan_requirements:
130       type: list
131       required: true
132       entry_schema:
133         type: json
134     port_FSB2_Internal1_order:
135       type: list
136       required: true
137       entry_schema:
138         type: integer
139     port_FSB2_Internal2_subnetpoolid:
140       type: list
141       required: true
142       entry_schema:
143         type: string
144     port_FSB2_Internal1_network_role_tag:
145       type: list
146       required: true
147       entry_schema:
148         type: string
149     port_FSB_OAM_fixed_ips:
150       type: list
151       required: true
152       entry_schema:
153         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
154     port_FSB2_Internal1_mac_requirements:
155       type: org.openecomp.datatypes.network.MacRequirements
156       required: true
157     port_FSB2_Internal2_order:
158       type: list
159       required: true
160       entry_schema:
161         type: integer
162     port_FSB2_Internal1_subnetpoolid:
163       type: list
164       required: true
165       entry_schema:
166         type: string
167     port_FSB_OAM_exCP_naming:
168       type: list
169       required: true
170       entry_schema:
171         type: json
172   node_templates:
173     FSB2_FSB_OAM:
174       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
175       properties:
176         exCP_naming:
177           get_input:
178           - port_FSB_OAM_exCP_naming
179           - index_value
180         vlan_requirements:
181           get_input:
182           - port_FSB_OAM_vlan_requirements
183           - index_value
184         ip_requirements:
185           get_input: port_FSB_OAM_ip_requirements
186         network_role_tag:
187           get_input: port_FSB_OAM_network_role_tag
188         mac_requirements:
189           get_input: port_FSB_OAM_mac_requirements
190         order:
191           get_input:
192           - port_FSB_OAM_order
193           - index_value
194         network_role:
195           get_input:
196           - port_FSB_OAM_network_role
197           - index_value
198         subnetpoolid:
199           get_input:
200           - port_FSB_OAM_subnetpoolid
201           - index_value
202         fixed_ips:
203           get_input: port_FSB_OAM_fixed_ips
204         network:
205           get_input:
206           - port_FSB_OAM_network
207           - index_value
208       requirements:
209       - binding:
210           capability: tosca.capabilities.network.Bindable
211           node: FSB2
212           relationship: tosca.relationships.network.BindsTo
213     FSB2:
214       type: org.openecomp.resource.vfc.nodes.heat.FSB2
215       properties:
216         availability_zone:
217           get_input:
218           - compute_FSB2_availability_zone
219           - index_value
220         flavor:
221           get_input: vm_flavor_name
222         name:
223           get_input:
224           - compute_FSB2_name
225           - index_value
226     FSB2_FSB2_Internal2:
227       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
228       properties:
229         exCP_naming:
230           get_input:
231           - port_FSB2_Internal2_exCP_naming
232           - index_value
233         vlan_requirements:
234           get_input:
235           - port_FSB2_Internal2_vlan_requirements
236           - index_value
237         ip_requirements:
238           get_input: port_FSB2_Internal2_ip_requirements
239         network_role_tag:
240           get_input:
241           - port_FSB2_Internal2_network_role_tag
242           - index_value
243         mac_requirements:
244           get_input: port_FSB2_Internal2_mac_requirements
245         order:
246           get_input:
247           - port_FSB2_Internal2_order
248           - index_value
249         network_role:
250           get_input:
251           - port_FSB2_Internal2_network_role
252           - index_value
253         subnetpoolid:
254           get_input:
255           - port_FSB2_Internal2_subnetpoolid
256           - index_value
257         network:
258           get_input:
259           - port_FSB2_Internal2_network
260           - index_value
261         mac_address:
262           get_input: port_FSB2_Internal2_mac_address
263       requirements:
264       - binding:
265           capability: tosca.capabilities.network.Bindable
266           node: FSB2
267           relationship: tosca.relationships.network.BindsTo
268     FSB2_FSB2_Internal1:
269       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
270       properties:
271         exCP_naming:
272           get_input:
273           - port_FSB2_Internal1_exCP_naming
274           - index_value
275         vlan_requirements:
276           get_input:
277           - port_FSB2_Internal1_vlan_requirements
278           - index_value
279         ip_requirements:
280           get_input: port_FSB2_Internal1_ip_requirements
281         network_role_tag:
282           get_input:
283           - port_FSB2_Internal1_network_role_tag
284           - index_value
285         mac_requirements:
286           get_input: port_FSB2_Internal1_mac_requirements
287         order:
288           get_input:
289           - port_FSB2_Internal1_order
290           - index_value
291         network_role:
292           get_input:
293           - port_FSB2_Internal1_network_role
294           - index_value
295         subnetpoolid:
296           get_input:
297           - port_FSB2_Internal1_subnetpoolid
298           - index_value
299         network:
300           get_input:
301           - port_FSB2_Internal1_network
302           - index_value
303         mac_address:
304           get_input: port_FSB2_Internal1_mac_address
305       requirements:
306       - binding:
307           capability: tosca.capabilities.network.Bindable
308           node: FSB2
309           relationship: tosca.relationships.network.BindsTo
310   substitution_mappings:
311     node_type: org.openecomp.resource.abstract.nodes.FSB2
312     capabilities:
313       network.outgoing.bytes.rate_FSB2_FSB2_Internal1:
314       - FSB2_FSB2_Internal1
315       - network.outgoing.bytes.rate
316       network.outgoing.bytes.rate_FSB2_FSB2_Internal2:
317       - FSB2_FSB2_Internal2
318       - network.outgoing.bytes.rate
319       disk.device.write.requests.rate_FSB2:
320       - FSB2
321       - disk.device.write.requests.rate
322       disk.read.bytes.rate_FSB2:
323       - FSB2
324       - disk.read.bytes.rate
325       disk.read.bytes_FSB2:
326       - FSB2
327       - disk.read.bytes
328       disk.capacity_FSB2:
329       - FSB2
330       - disk.capacity
331       disk.device.latency_FSB2:
332       - FSB2
333       - disk.device.latency
334       network.incoming.bytes.rate_FSB2_FSB_OAM:
335       - FSB2_FSB_OAM
336       - network.incoming.bytes.rate
337       disk.allocation_FSB2:
338       - FSB2
339       - disk.allocation
340       disk.device.capacity_FSB2:
341       - FSB2
342       - disk.device.capacity
343       cpu_util_FSB2:
344       - FSB2
345       - cpu_util
346       network.outgoing.bytes_FSB2_FSB_OAM:
347       - FSB2_FSB_OAM
348       - network.outgoing.bytes
349       network.incoming.bytes_FSB2_FSB2_Internal2:
350       - FSB2_FSB2_Internal2
351       - network.incoming.bytes
352       network.incoming.bytes_FSB2_FSB2_Internal1:
353       - FSB2_FSB2_Internal1
354       - network.incoming.bytes
355       feature_FSB2:
356       - FSB2
357       - feature
358       memory.resident_FSB2:
359       - FSB2
360       - memory.resident
361       disk.write.requests.rate_FSB2:
362       - FSB2
363       - disk.write.requests.rate
364       network.incoming.packets.rate_FSB2_FSB_OAM:
365       - FSB2_FSB_OAM
366       - network.incoming.packets.rate
367       instance_FSB2:
368       - FSB2
369       - instance
370       cpu_FSB2:
371       - FSB2
372       - cpu
373       network.outgoing.bytes_FSB2_FSB2_Internal2:
374       - FSB2_FSB2_Internal2
375       - network.outgoing.bytes
376       network.outgoing.bytes_FSB2_FSB2_Internal1:
377       - FSB2_FSB2_Internal1
378       - network.outgoing.bytes
379       disk.device.read.bytes.rate_FSB2:
380       - FSB2
381       - disk.device.read.bytes.rate
382       network.incoming.packets.rate_FSB2_FSB2_Internal2:
383       - FSB2_FSB2_Internal2
384       - network.incoming.packets.rate
385       network.incoming.packets.rate_FSB2_FSB2_Internal1:
386       - FSB2_FSB2_Internal1
387       - network.incoming.packets.rate
388       disk.root.size_FSB2:
389       - FSB2
390       - disk.root.size
391       cpu.delta_FSB2:
392       - FSB2
393       - cpu.delta
394       disk.write.bytes_FSB2:
395       - FSB2
396       - disk.write.bytes
397       disk.device.read.requests.rate_FSB2:
398       - FSB2
399       - disk.device.read.requests.rate
400       binding_FSB2_FSB2_Internal2:
401       - FSB2_FSB2_Internal2
402       - binding
403       binding_FSB2_FSB2_Internal1:
404       - FSB2_FSB2_Internal1
405       - binding
406       disk.ephemeral.size_FSB2:
407       - FSB2
408       - disk.ephemeral.size
409       disk.device.read.requests_FSB2:
410       - FSB2
411       - disk.device.read.requests
412       binding_FSB2:
413       - FSB2
414       - binding
415       disk.device.write.bytes_FSB2:
416       - FSB2
417       - disk.device.write.bytes
418       attachment_FSB2_FSB2_Internal1:
419       - FSB2_FSB2_Internal1
420       - attachment
421       network.incoming.packets_FSB2_FSB_OAM:
422       - FSB2_FSB_OAM
423       - network.incoming.packets
424       attachment_FSB2_FSB2_Internal2:
425       - FSB2_FSB2_Internal2
426       - attachment
427       network.outgoing.packets.rate_FSB2_FSB_OAM:
428       - FSB2_FSB_OAM
429       - network.outgoing.packets.rate
430       attachment_FSB2_FSB_OAM:
431       - FSB2_FSB_OAM
432       - attachment
433       memory_FSB2:
434       - FSB2
435       - memory
436       disk.device.read.bytes_FSB2:
437       - FSB2
438       - disk.device.read.bytes
439       scalable_FSB2:
440       - FSB2
441       - scalable
442       disk.write.bytes.rate_FSB2:
443       - FSB2
444       - disk.write.bytes.rate
445       disk.device.usage_FSB2:
446       - FSB2
447       - disk.device.usage
448       disk.write.requests_FSB2:
449       - FSB2
450       - disk.write.requests
451       os_FSB2:
452       - FSB2
453       - os
454       network.incoming.bytes.rate_FSB2_FSB2_Internal2:
455       - FSB2_FSB2_Internal2
456       - network.incoming.bytes.rate
457       network.incoming.packets_FSB2_FSB2_Internal2:
458       - FSB2_FSB2_Internal2
459       - network.incoming.packets
460       feature_FSB2_FSB_OAM:
461       - FSB2_FSB_OAM
462       - feature
463       disk.usage_FSB2:
464       - FSB2
465       - disk.usage
466       network.incoming.bytes.rate_FSB2_FSB2_Internal1:
467       - FSB2_FSB2_Internal1
468       - network.incoming.bytes.rate
469       network.incoming.packets_FSB2_FSB2_Internal1:
470       - FSB2_FSB2_Internal1
471       - network.incoming.packets
472       binding_FSB2_FSB_OAM:
473       - FSB2_FSB_OAM
474       - binding
475       disk.device.allocation_FSB2:
476       - FSB2
477       - disk.device.allocation
478       vcpus_FSB2:
479       - FSB2
480       - vcpus
481       host_FSB2:
482       - FSB2
483       - host
484       network.outpoing.packets_FSB2_FSB2_Internal2:
485       - FSB2_FSB2_Internal2
486       - network.outpoing.packets
487       disk.device.write.bytes.rate_FSB2:
488       - FSB2
489       - disk.device.write.bytes.rate
490       endpoint_FSB2:
491       - FSB2
492       - endpoint
493       network.outgoing.bytes.rate_FSB2_FSB_OAM:
494       - FSB2_FSB_OAM
495       - network.outgoing.bytes.rate
496       feature_FSB2_FSB2_Internal2:
497       - FSB2_FSB2_Internal2
498       - feature
499       feature_FSB2_FSB2_Internal1:
500       - FSB2_FSB2_Internal1
501       - feature
502       network.outpoing.packets_FSB2_FSB2_Internal1:
503       - FSB2_FSB2_Internal1
504       - network.outpoing.packets
505       disk.latency_FSB2:
506       - FSB2
507       - disk.latency
508       network.outpoing.packets_FSB2_FSB_OAM:
509       - FSB2_FSB_OAM
510       - network.outpoing.packets
511       disk.read.requests_FSB2:
512       - FSB2
513       - disk.read.requests
514       disk.device.iops_FSB2:
515       - FSB2
516       - disk.device.iops
517       network.incoming.bytes_FSB2_FSB_OAM:
518       - FSB2_FSB_OAM
519       - network.incoming.bytes
520       disk.device.write.requests_FSB2:
521       - FSB2
522       - disk.device.write.requests
523       network.outgoing.packets.rate_FSB2_FSB2_Internal2:
524       - FSB2_FSB2_Internal2
525       - network.outgoing.packets.rate
526       network.outgoing.packets.rate_FSB2_FSB2_Internal1:
527       - FSB2_FSB2_Internal1
528       - network.outgoing.packets.rate
529       memory.usage_FSB2:
530       - FSB2
531       - memory.usage
532       disk.iops_FSB2:
533       - FSB2
534       - disk.iops
535     requirements:
536       dependency_FSB2_FSB2_Internal2:
537       - FSB2_FSB2_Internal2
538       - dependency
539       link_FSB2_FSB2_Internal1:
540       - FSB2_FSB2_Internal1
541       - link
542       dependency_FSB2_FSB2_Internal1:
543       - FSB2_FSB2_Internal1
544       - dependency
545       dependency_FSB2:
546       - FSB2
547       - dependency
548       link_FSB2_FSB_OAM:
549       - FSB2_FSB_OAM
550       - link
551       dependency_FSB2_FSB_OAM:
552       - FSB2_FSB_OAM
553       - dependency
554       local_storage_FSB2:
555       - FSB2
556       - local_storage
557       link_FSB2_FSB2_Internal2:
558       - FSB2_FSB2_Internal2
559       - link