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