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