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