[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / generalVf / out / Nested_VLC1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_VLC1
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.VLC1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_VLC1_Internal2_mac_address:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_VLC1_Internal1_network:
20       type: list
21       required: true
22       entry_schema:
23         type: string
24     port_VLC_SCTP_A_network:
25       type: list
26       required: true
27       entry_schema:
28         type: string
29     port_VLC_OAM_network_role_tag:
30       type: list
31       required: true
32       entry_schema:
33         type: string
34     port_VLC1_Internal1_mac_address:
35       type: list
36       required: true
37       entry_schema:
38         type: string
39     port_VLC_GTP_ip_requirements:
40       type: list
41       required: true
42       entry_schema:
43         type: json
44     port_VLC_SCTP_A_mac_requirements:
45       type: list
46       required: true
47       entry_schema:
48         type: org.openecomp.datatypes.network.MacRequirements
49     vm_flavor_name:
50       type: string
51       required: true
52     port_VLC1_Internal2_network:
53       type: list
54       required: true
55       entry_schema:
56         type: string
57     port_VLC_SCTP_B_ip_requirements:
58       type: list
59       required: true
60       entry_schema:
61         type: json
62     port_VLC_SCTP_A_fixed_ips:
63       type: list
64       required: true
65       entry_schema:
66         type: json
67     port_VLC_OAM_ip_requirements:
68       type: list
69       required: true
70       entry_schema:
71         type: json
72     port_VLC1_Internal1_ip_requirements:
73       type: list
74       required: true
75       entry_schema:
76         type: json
77     port_VLC_OAM_fixed_ips:
78       type: list
79       required: true
80       entry_schema:
81         type: json
82     vm_image_name:
83       type: string
84       required: true
85     port_VLC_SCTP_A_ip_requirements:
86       type: list
87       required: true
88       entry_schema:
89         type: json
90     port_VLC_SCTP_B_network:
91       type: list
92       required: true
93       entry_schema:
94         type: string
95     port_VLC_GTP_network:
96       type: list
97       required: true
98       entry_schema:
99         type: string
100     compute_VLC1_availability_zone:
101       type: list
102       required: true
103       entry_schema:
104         type: string
105     index_value:
106       type: integer
107       description: Index value of this substitution service template runtime instance
108       required: false
109       default: 0
110       constraints:
111       - greater_or_equal: 0
112     port_VLC1_Internal1_mac_requirements:
113       type: list
114       required: true
115       entry_schema:
116         type: org.openecomp.datatypes.network.MacRequirements
117     port_VLC1_Internal2_mac_requirements:
118       type: list
119       required: true
120       entry_schema:
121         type: org.openecomp.datatypes.network.MacRequirements
122     port_VLC_SCTP_B_fixed_ips:
123       type: list
124       required: true
125       entry_schema:
126         type: json
127     port_VLC_GTP_mac_requirements:
128       type: list
129       required: true
130       entry_schema:
131         type: org.openecomp.datatypes.network.MacRequirements
132     port_VLC_GTP_fixed_ips:
133       type: list
134       required: true
135       entry_schema:
136         type: json
137     port_VLC_OAM_mac_requirements:
138       type: list
139       required: true
140       entry_schema:
141         type: org.openecomp.datatypes.network.MacRequirements
142     port_VLC_OAM_network:
143       type: list
144       required: true
145       entry_schema:
146         type: string
147     compute_VLC1_name:
148       type: list
149       required: true
150       entry_schema:
151         type: string
152     port_VLC_SCTP_B_mac_requirements:
153       type: list
154       required: true
155       entry_schema:
156         type: org.openecomp.datatypes.network.MacRequirements
157     port_VLC1_Internal2_ip_requirements:
158       type: list
159       required: true
160       entry_schema:
161         type: json
162   node_templates:
163     VLC1_VLC_SCTP_B:
164       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
165       properties:
166         ip_requirements:
167           get_input:
168           - port_VLC_SCTP_B_ip_requirements
169           - index_value
170         mac_requirements:
171           get_input:
172           - port_VLC_SCTP_B_mac_requirements
173           - index_value
174         fixed_ips:
175           get_input:
176           - port_VLC_SCTP_B_fixed_ips
177           - index_value
178         network:
179           get_input:
180           - port_VLC_SCTP_B_network
181           - index_value
182       requirements:
183       - binding:
184           capability: tosca.capabilities.network.Bindable
185           node: VLC1
186           relationship: tosca.relationships.network.BindsTo
187     VLC1_VLC1_Internal2:
188       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
189       properties:
190         ip_requirements:
191           get_input:
192           - port_VLC1_Internal2_ip_requirements
193           - index_value
194         mac_requirements:
195           get_input:
196           - port_VLC1_Internal2_mac_requirements
197           - index_value
198         network:
199           get_input:
200           - port_VLC1_Internal2_network
201           - index_value
202         mac_address:
203           get_input:
204           - port_VLC1_Internal2_mac_address
205           - index_value
206       requirements:
207       - binding:
208           capability: tosca.capabilities.network.Bindable
209           node: VLC1
210           relationship: tosca.relationships.network.BindsTo
211     VLC1_VLC1_Internal1:
212       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
213       properties:
214         ip_requirements:
215           get_input:
216           - port_VLC1_Internal1_ip_requirements
217           - index_value
218         mac_requirements:
219           get_input:
220           - port_VLC1_Internal1_mac_requirements
221           - index_value
222         network:
223           get_input:
224           - port_VLC1_Internal1_network
225           - index_value
226         mac_address:
227           get_input:
228           - port_VLC1_Internal1_mac_address
229           - index_value
230       requirements:
231       - binding:
232           capability: tosca.capabilities.network.Bindable
233           node: VLC1
234           relationship: tosca.relationships.network.BindsTo
235     VLC1_VLC_OAM:
236       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
237       properties:
238         ip_requirements:
239           get_input:
240           - port_VLC_OAM_ip_requirements
241           - index_value
242         network_role_tag:
243           get_input:
244           - port_VLC_OAM_network_role_tag
245           - index_value
246         mac_requirements:
247           get_input:
248           - port_VLC_OAM_mac_requirements
249           - index_value
250         fixed_ips:
251           get_input:
252           - port_VLC_OAM_fixed_ips
253           - index_value
254         network:
255           get_input:
256           - port_VLC_OAM_network
257           - index_value
258       requirements:
259       - binding:
260           capability: tosca.capabilities.network.Bindable
261           node: VLC1
262           relationship: tosca.relationships.network.BindsTo
263     VLC1_VLC_SCTP_A:
264       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
265       properties:
266         ip_requirements:
267           get_input:
268           - port_VLC_SCTP_A_ip_requirements
269           - index_value
270         mac_requirements:
271           get_input:
272           - port_VLC_SCTP_A_mac_requirements
273           - index_value
274         fixed_ips:
275           get_input:
276           - port_VLC_SCTP_A_fixed_ips
277           - index_value
278         network:
279           get_input:
280           - port_VLC_SCTP_A_network
281           - index_value
282       requirements:
283       - binding:
284           capability: tosca.capabilities.network.Bindable
285           node: VLC1
286           relationship: tosca.relationships.network.BindsTo
287     VLC1:
288       type: org.openecomp.resource.vfc.nodes.heat.VLC1
289       properties:
290         availability_zone:
291           get_input:
292           - compute_VLC1_availability_zone
293           - index_value
294         flavor:
295           get_input: vm_flavor_name
296         image:
297           get_input: vm_image_name
298         name:
299           get_input:
300           - compute_VLC1_name
301           - index_value
302     VLC1_VLC_GTP:
303       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
304       properties:
305         ip_requirements:
306           get_input:
307           - port_VLC_GTP_ip_requirements
308           - index_value
309         mac_requirements:
310           get_input:
311           - port_VLC_GTP_mac_requirements
312           - index_value
313         fixed_ips:
314           get_input:
315           - port_VLC_GTP_fixed_ips
316           - index_value
317         network:
318           get_input:
319           - port_VLC_GTP_network
320           - index_value
321       requirements:
322       - binding:
323           capability: tosca.capabilities.network.Bindable
324           node: VLC1
325           relationship: tosca.relationships.network.BindsTo
326   substitution_mappings:
327     node_type: org.openecomp.resource.abstract.nodes.VLC1
328     capabilities:
329       network.incoming.bytes_VLC1_VLC_OAM:
330       - VLC1_VLC_OAM
331       - network.incoming.bytes
332       disk.device.allocation_VLC1:
333       - VLC1
334       - disk.device.allocation
335       disk.write.requests_VLC1:
336       - VLC1
337       - disk.write.requests
338       feature_VLC1_VLC1_Internal2:
339       - VLC1_VLC1_Internal2
340       - feature
341       feature_VLC1_VLC1_Internal1:
342       - VLC1_VLC1_Internal1
343       - feature
344       network.outpoing.packets_VLC1_VLC1_Internal2:
345       - VLC1_VLC1_Internal2
346       - network.outpoing.packets
347       network.outpoing.packets_VLC1_VLC1_Internal1:
348       - VLC1_VLC1_Internal1
349       - network.outpoing.packets
350       disk.device.read.bytes_VLC1:
351       - VLC1
352       - disk.device.read.bytes
353       disk.device.usage_VLC1:
354       - VLC1
355       - disk.device.usage
356       scalable_VLC1:
357       - VLC1
358       - scalable
359       network.outgoing.packets.rate_VLC1_VLC_OAM:
360       - VLC1_VLC_OAM
361       - network.outgoing.packets.rate
362       network.outpoing.packets_VLC1_VLC_GTP:
363       - VLC1_VLC_GTP
364       - network.outpoing.packets
365       endpoint_VLC1:
366       - VLC1
367       - endpoint
368       feature_VLC1:
369       - VLC1
370       - feature
371       disk.device.iops_VLC1:
372       - VLC1
373       - disk.device.iops
374       attachment_VLC1_VLC_SCTP_A:
375       - VLC1_VLC_SCTP_A
376       - attachment
377       feature_VLC1_VLC_GTP:
378       - VLC1_VLC_GTP
379       - feature
380       disk.device.capacity_VLC1:
381       - VLC1
382       - disk.device.capacity
383       attachment_VLC1_VLC_GTP:
384       - VLC1_VLC_GTP
385       - attachment
386       feature_VLC1_VLC_SCTP_B:
387       - VLC1_VLC_SCTP_B
388       - feature
389       disk.read.bytes.rate_VLC1:
390       - VLC1
391       - disk.read.bytes.rate
392       feature_VLC1_VLC_SCTP_A:
393       - VLC1_VLC_SCTP_A
394       - feature
395       network.incoming.packets_VLC1_VLC_SCTP_A:
396       - VLC1_VLC_SCTP_A
397       - network.incoming.packets
398       attachment_VLC1_VLC_SCTP_B:
399       - VLC1_VLC_SCTP_B
400       - attachment
401       disk.iops_VLC1:
402       - VLC1
403       - disk.iops
404       disk.latency_VLC1:
405       - VLC1
406       - disk.latency
407       disk.ephemeral.size_VLC1:
408       - VLC1
409       - disk.ephemeral.size
410       network.outgoing.bytes.rate_VLC1_VLC_SCTP_A:
411       - VLC1_VLC_SCTP_A
412       - network.outgoing.bytes.rate
413       network.outgoing.bytes.rate_VLC1_VLC_SCTP_B:
414       - VLC1_VLC_SCTP_B
415       - network.outgoing.bytes.rate
416       disk.device.latency_VLC1:
417       - VLC1
418       - disk.device.latency
419       disk.allocation_VLC1:
420       - VLC1
421       - disk.allocation
422       cpu_util_VLC1:
423       - VLC1
424       - cpu_util
425       disk.write.bytes_VLC1:
426       - VLC1
427       - disk.write.bytes
428       disk.device.write.requests.rate_VLC1:
429       - VLC1
430       - disk.device.write.requests.rate
431       network.incoming.packets_VLC1_VLC_OAM:
432       - VLC1_VLC_OAM
433       - network.incoming.packets
434       network.incoming.bytes_VLC1_VLC_SCTP_B:
435       - VLC1_VLC_SCTP_B
436       - network.incoming.bytes
437       network.outgoing.bytes_VLC1_VLC_SCTP_B:
438       - VLC1_VLC_SCTP_B
439       - network.outgoing.bytes
440       network.outgoing.bytes_VLC1_VLC_SCTP_A:
441       - VLC1_VLC_SCTP_A
442       - network.outgoing.bytes
443       cpu_VLC1:
444       - VLC1
445       - cpu
446       instance_VLC1:
447       - VLC1
448       - instance
449       attachment_VLC1_VLC_OAM:
450       - VLC1_VLC_OAM
451       - attachment
452       network.incoming.bytes.rate_VLC1_VLC_OAM:
453       - VLC1_VLC_OAM
454       - network.incoming.bytes.rate
455       vcpus_VLC1:
456       - VLC1
457       - vcpus
458       network.outpoing.packets_VLC1_VLC_SCTP_A:
459       - VLC1_VLC_SCTP_A
460       - network.outpoing.packets
461       network.outpoing.packets_VLC1_VLC_SCTP_B:
462       - VLC1_VLC_SCTP_B
463       - network.outpoing.packets
464       memory.resident_VLC1:
465       - VLC1
466       - memory.resident
467       network.outgoing.bytes_VLC1_VLC1_Internal1:
468       - VLC1_VLC1_Internal1
469       - network.outgoing.bytes
470       disk.device.read.requests.rate_VLC1:
471       - VLC1
472       - disk.device.read.requests.rate
473       network.outgoing.bytes_VLC1_VLC1_Internal2:
474       - VLC1_VLC1_Internal2
475       - network.outgoing.bytes
476       disk.root.size_VLC1:
477       - VLC1
478       - disk.root.size
479       binding_VLC1:
480       - VLC1
481       - binding
482       disk.device.write.bytes_VLC1:
483       - VLC1
484       - disk.device.write.bytes
485       network.outgoing.packets.rate_VLC1_VLC_GTP:
486       - VLC1_VLC_GTP
487       - network.outgoing.packets.rate
488       feature_VLC1_VLC_OAM:
489       - VLC1_VLC_OAM
490       - feature
491       network.incoming.packets.rate_VLC1_VLC_OAM:
492       - VLC1_VLC_OAM
493       - network.incoming.packets.rate
494       network.outgoing.bytes_VLC1_VLC_GTP:
495       - VLC1_VLC_GTP
496       - network.outgoing.bytes
497       memory_VLC1:
498       - VLC1
499       - memory
500       attachment_VLC1_VLC1_Internal1:
501       - VLC1_VLC1_Internal1
502       - attachment
503       attachment_VLC1_VLC1_Internal2:
504       - VLC1_VLC1_Internal2
505       - attachment
506       network.incoming.packets.rate_VLC1_VLC_SCTP_A:
507       - VLC1_VLC_SCTP_A
508       - network.incoming.packets.rate
509       network.outgoing.packets.rate_VLC1_VLC1_Internal1:
510       - VLC1_VLC1_Internal1
511       - network.outgoing.packets.rate
512       network.outgoing.packets.rate_VLC1_VLC1_Internal2:
513       - VLC1_VLC1_Internal2
514       - network.outgoing.packets.rate
515       network.incoming.packets_VLC1_VLC_GTP:
516       - VLC1_VLC_GTP
517       - network.incoming.packets
518       disk.device.write.requests_VLC1:
519       - VLC1
520       - disk.device.write.requests
521       host_VLC1:
522       - VLC1
523       - host
524       network.incoming.packets.rate_VLC1_VLC_SCTP_B:
525       - VLC1_VLC_SCTP_B
526       - network.incoming.packets.rate
527       os_VLC1:
528       - VLC1
529       - os
530       network.outgoing.bytes.rate_VLC1_VLC_GTP:
531       - VLC1_VLC_GTP
532       - network.outgoing.bytes.rate
533       network.outgoing.bytes.rate_VLC1_VLC1_Internal2:
534       - VLC1_VLC1_Internal2
535       - network.outgoing.bytes.rate
536       network.outgoing.bytes.rate_VLC1_VLC1_Internal1:
537       - VLC1_VLC1_Internal1
538       - network.outgoing.bytes.rate
539       network.incoming.bytes_VLC1_VLC1_Internal1:
540       - VLC1_VLC1_Internal1
541       - network.incoming.bytes
542       network.incoming.bytes_VLC1_VLC1_Internal2:
543       - VLC1_VLC1_Internal2
544       - network.incoming.bytes
545       network.outpoing.packets_VLC1_VLC_OAM:
546       - VLC1_VLC_OAM
547       - network.outpoing.packets
548       network.incoming.packets.rate_VLC1_VLC1_Internal1:
549       - VLC1_VLC1_Internal1
550       - network.incoming.packets.rate
551       network.incoming.packets.rate_VLC1_VLC1_Internal2:
552       - VLC1_VLC1_Internal2
553       - network.incoming.packets.rate
554       network.incoming.bytes_VLC1_VLC_SCTP_A:
555       - VLC1_VLC_SCTP_A
556       - network.incoming.bytes
557       network.incoming.bytes.rate_VLC1_VLC_GTP:
558       - VLC1_VLC_GTP
559       - network.incoming.bytes.rate
560       disk.device.write.bytes.rate_VLC1:
561       - VLC1
562       - disk.device.write.bytes.rate
563       memory.usage_VLC1:
564       - VLC1
565       - memory.usage
566       disk.usage_VLC1:
567       - VLC1
568       - disk.usage
569       network.incoming.packets.rate_VLC1_VLC_GTP:
570       - VLC1_VLC_GTP
571       - network.incoming.packets.rate
572       network.outgoing.bytes_VLC1_VLC_OAM:
573       - VLC1_VLC_OAM
574       - network.outgoing.bytes
575       disk.read.requests_VLC1:
576       - VLC1
577       - disk.read.requests
578       network.incoming.packets_VLC1_VLC_SCTP_B:
579       - VLC1_VLC_SCTP_B
580       - network.incoming.packets
581       binding_VLC1_VLC_OAM:
582       - VLC1_VLC_OAM
583       - binding
584       disk.write.bytes.rate_VLC1:
585       - VLC1
586       - disk.write.bytes.rate
587       network.outgoing.packets.rate_VLC1_VLC_SCTP_B:
588       - VLC1_VLC_SCTP_B
589       - network.outgoing.packets.rate
590       network.outgoing.packets.rate_VLC1_VLC_SCTP_A:
591       - VLC1_VLC_SCTP_A
592       - network.outgoing.packets.rate
593       disk.capacity_VLC1:
594       - VLC1
595       - disk.capacity
596       network.outgoing.bytes.rate_VLC1_VLC_OAM:
597       - VLC1_VLC_OAM
598       - network.outgoing.bytes.rate
599       network.incoming.bytes.rate_VLC1_VLC1_Internal1:
600       - VLC1_VLC1_Internal1
601       - network.incoming.bytes.rate
602       network.incoming.bytes.rate_VLC1_VLC1_Internal2:
603       - VLC1_VLC1_Internal2
604       - network.incoming.bytes.rate
605       network.incoming.packets_VLC1_VLC1_Internal1:
606       - VLC1_VLC1_Internal1
607       - network.incoming.packets
608       network.incoming.packets_VLC1_VLC1_Internal2:
609       - VLC1_VLC1_Internal2
610       - network.incoming.packets
611       network.incoming.bytes_VLC1_VLC_GTP:
612       - VLC1_VLC_GTP
613       - network.incoming.bytes
614       disk.write.requests.rate_VLC1:
615       - VLC1
616       - disk.write.requests.rate
617       disk.device.read.bytes.rate_VLC1:
618       - VLC1
619       - disk.device.read.bytes.rate
620       network.incoming.bytes.rate_VLC1_VLC_SCTP_B:
621       - VLC1_VLC_SCTP_B
622       - network.incoming.bytes.rate
623       disk.device.read.requests_VLC1:
624       - VLC1
625       - disk.device.read.requests
626       network.incoming.bytes.rate_VLC1_VLC_SCTP_A:
627       - VLC1_VLC_SCTP_A
628       - network.incoming.bytes.rate
629       binding_VLC1_VLC1_Internal2:
630       - VLC1_VLC1_Internal2
631       - binding
632       cpu.delta_VLC1:
633       - VLC1
634       - cpu.delta
635       binding_VLC1_VLC1_Internal1:
636       - VLC1_VLC1_Internal1
637       - binding
638       disk.read.bytes_VLC1:
639       - VLC1
640       - disk.read.bytes
641       binding_VLC1_VLC_SCTP_B:
642       - VLC1_VLC_SCTP_B
643       - binding
644       binding_VLC1_VLC_SCTP_A:
645       - VLC1_VLC_SCTP_A
646       - binding
647       binding_VLC1_VLC_GTP:
648       - VLC1_VLC_GTP
649       - binding
650     requirements:
651       link_VLC1_VLC_OAM:
652       - VLC1_VLC_OAM
653       - link
654       dependency_VLC1:
655       - VLC1
656       - dependency
657       local_storage_VLC1:
658       - VLC1
659       - local_storage
660       link_VLC1_VLC1_Internal1:
661       - VLC1_VLC1_Internal1
662       - link
663       link_VLC1_VLC_GTP:
664       - VLC1_VLC_GTP
665       - link
666       dependency_VLC1_VLC_OAM:
667       - VLC1_VLC_OAM
668       - dependency
669       dependency_VLC1_VLC_SCTP_B:
670       - VLC1_VLC_SCTP_B
671       - dependency
672       link_VLC1_VLC_SCTP_B:
673       - VLC1_VLC_SCTP_B
674       - link
675       link_VLC1_VLC_SCTP_A:
676       - VLC1_VLC_SCTP_A
677       - link
678       link_VLC1_VLC1_Internal2:
679       - VLC1_VLC1_Internal2
680       - link
681       dependency_VLC1_VLC1_Internal2:
682       - VLC1_VLC1_Internal2
683       - dependency
684       dependency_VLC1_VLC1_Internal1:
685       - VLC1_VLC1_Internal1
686       - dependency
687       dependency_VLC1_VLC_GTP:
688       - VLC1_VLC_GTP
689       - dependency
690       dependency_VLC1_VLC_SCTP_A:
691       - VLC1_VLC_SCTP_A
692       - dependency