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