[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / generalVf / out / Nested_VLC2ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_VLC2
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.VLC2:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_VLC_SCTP_A_network:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_VLC_OAM_network_role_tag:
20       type: list
21       required: true
22       entry_schema:
23         type: string
24     port_VLC_GTP_ip_requirements:
25       type: list
26       required: true
27       entry_schema:
28         type: json
29     port_VLC2_Internal2_ip_requirements:
30       type: list
31       required: true
32       entry_schema:
33         type: json
34     port_VLC_SCTP_A_mac_requirements:
35       type: list
36       required: true
37       entry_schema:
38         type: json
39     vm_flavor_name:
40       type: string
41       required: true
42     port_VLC_SCTP_B_ip_requirements:
43       type: list
44       required: true
45       entry_schema:
46         type: json
47     port_VLC_SCTP_A_fixed_ips:
48       type: list
49       required: true
50       entry_schema:
51         type: json
52     port_VLC_OAM_ip_requirements:
53       type: list
54       required: true
55       entry_schema:
56         type: json
57     port_VLC2_Internal2_mac_address:
58       type: list
59       required: true
60       entry_schema:
61         type: string
62     port_VLC_OAM_fixed_ips:
63       type: list
64       required: true
65       entry_schema:
66         type: json
67     vm_image_name:
68       type: string
69       required: true
70     port_VLC2_Internal1_mac_address:
71       type: list
72       required: true
73       entry_schema:
74         type: string
75     port_VLC2_Internal2_mac_requirements:
76       type: list
77       required: true
78       entry_schema:
79         type: json
80     port_VLC2_Internal1_mac_requirements:
81       type: list
82       required: true
83       entry_schema:
84         type: json
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     port_VLC2_Internal1_ip_requirements:
101       type: list
102       required: true
103       entry_schema:
104         type: json
105     compute_VLC2_name:
106       type: list
107       required: true
108       entry_schema:
109         type: string
110     index_value:
111       type: integer
112       description: Index value of this substitution service template runtime instance
113       required: false
114       default: 0
115       constraints:
116       - greater_or_equal: 0
117     port_VLC_SCTP_B_fixed_ips:
118       type: list
119       required: true
120       entry_schema:
121         type: json
122     port_VLC_GTP_mac_requirements:
123       type: list
124       required: true
125       entry_schema:
126         type: json
127     port_VLC2_Internal1_network:
128       type: list
129       required: true
130       entry_schema:
131         type: string
132     compute_VLC2_availability_zone:
133       type: list
134       required: true
135       entry_schema:
136         type: string
137     port_VLC_GTP_fixed_ips:
138       type: list
139       required: true
140       entry_schema:
141         type: json
142     port_VLC_OAM_mac_requirements:
143       type: list
144       required: true
145       entry_schema:
146         type: json
147     port_VLC_OAM_network:
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: json
157     port_VLC2_Internal2_network:
158       type: list
159       required: true
160       entry_schema:
161         type: string
162   node_templates:
163     VLC2_VLC2_Internal2:
164       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
165       properties:
166         ip_requirements:
167           get_input:
168           - port_VLC2_Internal2_ip_requirements
169           - index_value
170         mac_requirements:
171           get_input:
172           - port_VLC2_Internal2_mac_requirements
173           - index_value
174         network:
175           get_input:
176           - port_VLC2_Internal2_network
177           - index_value
178         mac_address:
179           get_input:
180           - port_VLC2_Internal2_mac_address
181           - index_value
182       requirements:
183       - binding:
184           capability: tosca.capabilities.network.Bindable
185           node: VLC2
186           relationship: tosca.relationships.network.BindsTo
187     VLC2_VLC_OAM:
188       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
189       properties:
190         ip_requirements:
191           get_input:
192           - port_VLC_OAM_ip_requirements
193           - index_value
194         network_role_tag:
195           get_input:
196           - port_VLC_OAM_network_role_tag
197           - index_value
198         mac_requirements:
199           get_input:
200           - port_VLC_OAM_mac_requirements
201           - index_value
202         fixed_ips:
203           get_input:
204           - port_VLC_OAM_fixed_ips
205           - index_value
206         network:
207           get_input:
208           - port_VLC_OAM_network
209           - index_value
210       requirements:
211       - binding:
212           capability: tosca.capabilities.network.Bindable
213           node: VLC2
214           relationship: tosca.relationships.network.BindsTo
215     VLC2_VLC2_Internal1:
216       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
217       properties:
218         ip_requirements:
219           get_input:
220           - port_VLC2_Internal1_ip_requirements
221           - index_value
222         mac_requirements:
223           get_input:
224           - port_VLC2_Internal1_mac_requirements
225           - index_value
226         network:
227           get_input:
228           - port_VLC2_Internal1_network
229           - index_value
230         mac_address:
231           get_input:
232           - port_VLC2_Internal1_mac_address
233           - index_value
234       requirements:
235       - binding:
236           capability: tosca.capabilities.network.Bindable
237           node: VLC2
238           relationship: tosca.relationships.network.BindsTo
239     VLC2_VLC_SCTP_A:
240       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
241       properties:
242         ip_requirements:
243           get_input:
244           - port_VLC_SCTP_A_ip_requirements
245           - index_value
246         mac_requirements:
247           get_input:
248           - port_VLC_SCTP_A_mac_requirements
249           - index_value
250         fixed_ips:
251           get_input:
252           - port_VLC_SCTP_A_fixed_ips
253           - index_value
254         network:
255           get_input:
256           - port_VLC_SCTP_A_network
257           - index_value
258       requirements:
259       - binding:
260           capability: tosca.capabilities.network.Bindable
261           node: VLC2
262           relationship: tosca.relationships.network.BindsTo
263     VLC2_VLC_SCTP_B:
264       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
265       properties:
266         ip_requirements:
267           get_input:
268           - port_VLC_SCTP_B_ip_requirements
269           - index_value
270         mac_requirements:
271           get_input:
272           - port_VLC_SCTP_B_mac_requirements
273           - index_value
274         fixed_ips:
275           get_input:
276           - port_VLC_SCTP_B_fixed_ips
277           - index_value
278         network:
279           get_input:
280           - port_VLC_SCTP_B_network
281           - index_value
282       requirements:
283       - binding:
284           capability: tosca.capabilities.network.Bindable
285           node: VLC2
286           relationship: tosca.relationships.network.BindsTo
287     VLC2_VLC_GTP:
288       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
289       properties:
290         ip_requirements:
291           get_input:
292           - port_VLC_GTP_ip_requirements
293           - index_value
294         mac_requirements:
295           get_input:
296           - port_VLC_GTP_mac_requirements
297           - index_value
298         fixed_ips:
299           get_input:
300           - port_VLC_GTP_fixed_ips
301           - index_value
302         network:
303           get_input:
304           - port_VLC_GTP_network
305           - index_value
306       requirements:
307       - binding:
308           capability: tosca.capabilities.network.Bindable
309           node: VLC2
310           relationship: tosca.relationships.network.BindsTo
311     VLC2:
312       type: org.openecomp.resource.vfc.nodes.heat.VLC2
313       properties:
314         availability_zone:
315           get_input:
316           - compute_VLC2_availability_zone
317           - index_value
318         flavor:
319           get_input: vm_flavor_name
320         image:
321           get_input: vm_image_name
322         name:
323           get_input:
324           - compute_VLC2_name
325           - index_value
326   substitution_mappings:
327     node_type: org.openecomp.resource.abstract.nodes.VLC2
328     capabilities:
329       network.incoming.bytes_VLC2_VLC_GTP:
330       - VLC2_VLC_GTP
331       - network.incoming.bytes
332       disk.device.allocation_VLC2:
333       - VLC2
334       - disk.device.allocation
335       network.outgoing.bytes.rate_VLC2_VLC_OAM:
336       - VLC2_VLC_OAM
337       - network.outgoing.bytes.rate
338       network.incoming.packets.rate_VLC2_VLC_GTP:
339       - VLC2_VLC_GTP
340       - network.incoming.packets.rate
341       binding_VLC2_VLC_SCTP_A:
342       - VLC2_VLC_SCTP_A
343       - binding
344       feature_VLC2_VLC_GTP:
345       - VLC2_VLC_GTP
346       - feature
347       binding_VLC2_VLC_SCTP_B:
348       - VLC2_VLC_SCTP_B
349       - binding
350       network.incoming.packets_VLC2_VLC_OAM:
351       - VLC2_VLC_OAM
352       - network.incoming.packets
353       network.outgoing.packets.rate_VLC2_VLC_SCTP_A:
354       - VLC2_VLC_SCTP_A
355       - network.outgoing.packets.rate
356       network.outgoing.packets.rate_VLC2_VLC_SCTP_B:
357       - VLC2_VLC_SCTP_B
358       - network.outgoing.packets.rate
359       network.incoming.bytes.rate_VLC2_VLC_SCTP_A:
360       - VLC2_VLC_SCTP_A
361       - network.incoming.bytes.rate
362       network.incoming.bytes.rate_VLC2_VLC_SCTP_B:
363       - VLC2_VLC_SCTP_B
364       - network.incoming.bytes.rate
365       disk.device.read.bytes_VLC2:
366       - VLC2
367       - disk.device.read.bytes
368       scalable_VLC2:
369       - VLC2
370       - scalable
371       disk.device.usage_VLC2:
372       - VLC2
373       - disk.device.usage
374       network.incoming.bytes.rate_VLC2_VLC2_Internal2:
375       - VLC2_VLC2_Internal2
376       - network.incoming.bytes.rate
377       attachment_VLC2_VLC_SCTP_A:
378       - VLC2_VLC_SCTP_A
379       - attachment
380       network.incoming.bytes.rate_VLC2_VLC2_Internal1:
381       - VLC2_VLC2_Internal1
382       - network.incoming.bytes.rate
383       attachment_VLC2_VLC_SCTP_B:
384       - VLC2_VLC_SCTP_B
385       - attachment
386       network.outgoing.packets.rate_VLC2_VLC_GTP:
387       - VLC2_VLC_GTP
388       - network.outgoing.packets.rate
389       endpoint_VLC2:
390       - VLC2
391       - endpoint
392       disk.device.iops_VLC2:
393       - VLC2
394       - disk.device.iops
395       feature_VLC2:
396       - VLC2
397       - feature
398       network.incoming.bytes.rate_VLC2_VLC_OAM:
399       - VLC2_VLC_OAM
400       - network.incoming.bytes.rate
401       network.outpoing.packets_VLC2_VLC2_Internal1:
402       - VLC2_VLC2_Internal1
403       - network.outpoing.packets
404       network.incoming.packets_VLC2_VLC_SCTP_B:
405       - VLC2_VLC_SCTP_B
406       - network.incoming.packets
407       network.incoming.packets_VLC2_VLC_SCTP_A:
408       - VLC2_VLC_SCTP_A
409       - network.incoming.packets
410       feature_VLC2_VLC2_Internal1:
411       - VLC2_VLC2_Internal1
412       - feature
413       disk.device.capacity_VLC2:
414       - VLC2
415       - disk.device.capacity
416       network.outpoing.packets_VLC2_VLC2_Internal2:
417       - VLC2_VLC2_Internal2
418       - network.outpoing.packets
419       feature_VLC2_VLC2_Internal2:
420       - VLC2_VLC2_Internal2
421       - feature
422       disk.device.write.requests.rate_VLC2:
423       - VLC2
424       - disk.device.write.requests.rate
425       disk.read.bytes.rate_VLC2:
426       - VLC2
427       - disk.read.bytes.rate
428       network.incoming.bytes_VLC2_VLC_SCTP_A:
429       - VLC2_VLC_SCTP_A
430       - network.incoming.bytes
431       network.incoming.bytes_VLC2_VLC_SCTP_B:
432       - VLC2_VLC_SCTP_B
433       - network.incoming.bytes
434       disk.iops_VLC2:
435       - VLC2
436       - disk.iops
437       network.outpoing.packets_VLC2_VLC_OAM:
438       - VLC2_VLC_OAM
439       - network.outpoing.packets
440       disk.latency_VLC2:
441       - VLC2
442       - disk.latency
443       network.outgoing.bytes.rate_VLC2_VLC_GTP:
444       - VLC2_VLC_GTP
445       - network.outgoing.bytes.rate
446       disk.ephemeral.size_VLC2:
447       - VLC2
448       - disk.ephemeral.size
449       disk.device.latency_VLC2:
450       - VLC2
451       - disk.device.latency
452       disk.allocation_VLC2:
453       - VLC2
454       - disk.allocation
455       cpu_util_VLC2:
456       - VLC2
457       - cpu_util
458       disk.write.bytes_VLC2:
459       - VLC2
460       - disk.write.bytes
461       cpu_VLC2:
462       - VLC2
463       - cpu
464       instance_VLC2:
465       - VLC2
466       - instance
467       attachment_VLC2_VLC2_Internal1:
468       - VLC2_VLC2_Internal1
469       - attachment
470       attachment_VLC2_VLC2_Internal2:
471       - VLC2_VLC2_Internal2
472       - attachment
473       vcpus_VLC2:
474       - VLC2
475       - vcpus
476       memory.resident_VLC2:
477       - VLC2
478       - memory.resident
479       disk.device.read.requests.rate_VLC2:
480       - VLC2
481       - disk.device.read.requests.rate
482       network.outgoing.bytes_VLC2_VLC_OAM:
483       - VLC2_VLC_OAM
484       - network.outgoing.bytes
485       os_VLC2:
486       - VLC2
487       - os
488       network.incoming.packets.rate_VLC2_VLC2_Internal2:
489       - VLC2_VLC2_Internal2
490       - network.incoming.packets.rate
491       network.incoming.packets.rate_VLC2_VLC2_Internal1:
492       - VLC2_VLC2_Internal1
493       - network.incoming.packets.rate
494       feature_VLC2_VLC_SCTP_A:
495       - VLC2_VLC_SCTP_A
496       - feature
497       binding_VLC2:
498       - VLC2
499       - binding
500       disk.device.write.bytes_VLC2:
501       - VLC2
502       - disk.device.write.bytes
503       network.outgoing.packets.rate_VLC2_VLC_OAM:
504       - VLC2_VLC_OAM
505       - network.outgoing.packets.rate
506       feature_VLC2_VLC_SCTP_B:
507       - VLC2_VLC_SCTP_B
508       - feature
509       disk.root.size_VLC2:
510       - VLC2
511       - disk.root.size
512       network.outgoing.bytes_VLC2_VLC_SCTP_B:
513       - VLC2_VLC_SCTP_B
514       - network.outgoing.bytes
515       network.outpoing.packets_VLC2_VLC_SCTP_B:
516       - VLC2_VLC_SCTP_B
517       - network.outpoing.packets
518       network.outgoing.bytes_VLC2_VLC_SCTP_A:
519       - VLC2_VLC_SCTP_A
520       - network.outgoing.bytes
521       network.outpoing.packets_VLC2_VLC_SCTP_A:
522       - VLC2_VLC_SCTP_A
523       - network.outpoing.packets
524       network.incoming.packets_VLC2_VLC2_Internal2:
525       - VLC2_VLC2_Internal2
526       - network.incoming.packets
527       memory_VLC2:
528       - VLC2
529       - memory
530       network.incoming.packets_VLC2_VLC2_Internal1:
531       - VLC2_VLC2_Internal1
532       - network.incoming.packets
533       disk.device.write.requests_VLC2:
534       - VLC2
535       - disk.device.write.requests
536       host_VLC2:
537       - VLC2
538       - host
539       network.outgoing.bytes_VLC2_VLC2_Internal2:
540       - VLC2_VLC2_Internal2
541       - network.outgoing.bytes
542       network.outgoing.bytes_VLC2_VLC2_Internal1:
543       - VLC2_VLC2_Internal1
544       - network.outgoing.bytes
545       binding_VLC2_VLC_GTP:
546       - VLC2_VLC_GTP
547       - binding
548       disk.device.write.bytes.rate_VLC2:
549       - VLC2
550       - disk.device.write.bytes.rate
551       network.outgoing.bytes.rate_VLC2_VLC_SCTP_A:
552       - VLC2_VLC_SCTP_A
553       - network.outgoing.bytes.rate
554       network.outgoing.bytes.rate_VLC2_VLC_SCTP_B:
555       - VLC2_VLC_SCTP_B
556       - network.outgoing.bytes.rate
557       feature_VLC2_VLC_OAM:
558       - VLC2_VLC_OAM
559       - feature
560       network.outgoing.packets.rate_VLC2_VLC2_Internal1:
561       - VLC2_VLC2_Internal1
562       - network.outgoing.packets.rate
563       network.outgoing.packets.rate_VLC2_VLC2_Internal2:
564       - VLC2_VLC2_Internal2
565       - network.outgoing.packets.rate
566       memory.usage_VLC2:
567       - VLC2
568       - memory.usage
569       disk.usage_VLC2:
570       - VLC2
571       - disk.usage
572       disk.read.requests_VLC2:
573       - VLC2
574       - disk.read.requests
575       attachment_VLC2_VLC_OAM:
576       - VLC2_VLC_OAM
577       - attachment
578       network.outgoing.bytes_VLC2_VLC_GTP:
579       - VLC2_VLC_GTP
580       - network.outgoing.bytes
581       network.outgoing.bytes.rate_VLC2_VLC2_Internal1:
582       - VLC2_VLC2_Internal1
583       - network.outgoing.bytes.rate
584       disk.write.bytes.rate_VLC2:
585       - VLC2
586       - disk.write.bytes.rate
587       network.outgoing.bytes.rate_VLC2_VLC2_Internal2:
588       - VLC2_VLC2_Internal2
589       - network.outgoing.bytes.rate
590       network.incoming.bytes_VLC2_VLC2_Internal2:
591       - VLC2_VLC2_Internal2
592       - network.incoming.bytes
593       network.incoming.bytes_VLC2_VLC2_Internal1:
594       - VLC2_VLC2_Internal1
595       - network.incoming.bytes
596       disk.read.bytes_VLC2:
597       - VLC2
598       - disk.read.bytes
599       network.incoming.packets.rate_VLC2_VLC_OAM:
600       - VLC2_VLC_OAM
601       - network.incoming.packets.rate
602       disk.capacity_VLC2:
603       - VLC2
604       - disk.capacity
605       network.incoming.packets_VLC2_VLC_GTP:
606       - VLC2_VLC_GTP
607       - network.incoming.packets
608       network.incoming.packets.rate_VLC2_VLC_SCTP_A:
609       - VLC2_VLC_SCTP_A
610       - network.incoming.packets.rate
611       network.incoming.packets.rate_VLC2_VLC_SCTP_B:
612       - VLC2_VLC_SCTP_B
613       - network.incoming.packets.rate
614       network.incoming.bytes_VLC2_VLC_OAM:
615       - VLC2_VLC_OAM
616       - network.incoming.bytes
617       attachment_VLC2_VLC_GTP:
618       - VLC2_VLC_GTP
619       - attachment
620       disk.write.requests.rate_VLC2:
621       - VLC2
622       - disk.write.requests.rate
623       network.incoming.bytes.rate_VLC2_VLC_GTP:
624       - VLC2_VLC_GTP
625       - network.incoming.bytes.rate
626       network.outpoing.packets_VLC2_VLC_GTP:
627       - VLC2_VLC_GTP
628       - network.outpoing.packets
629       binding_VLC2_VLC2_Internal2:
630       - VLC2_VLC2_Internal2
631       - binding
632       binding_VLC2_VLC2_Internal1:
633       - VLC2_VLC2_Internal1
634       - binding
635       disk.write.requests_VLC2:
636       - VLC2
637       - disk.write.requests
638       disk.device.read.requests_VLC2:
639       - VLC2
640       - disk.device.read.requests
641       disk.device.read.bytes.rate_VLC2:
642       - VLC2
643       - disk.device.read.bytes.rate
644       cpu.delta_VLC2:
645       - VLC2
646       - cpu.delta
647       binding_VLC2_VLC_OAM:
648       - VLC2_VLC_OAM
649       - binding
650     requirements:
651       link_VLC2_VLC_OAM:
652       - VLC2_VLC_OAM
653       - link
654       link_VLC2_VLC_SCTP_B:
655       - VLC2_VLC_SCTP_B
656       - link
657       link_VLC2_VLC_SCTP_A:
658       - VLC2_VLC_SCTP_A
659       - link
660       dependency_VLC2:
661       - VLC2
662       - dependency
663       local_storage_VLC2:
664       - VLC2
665       - local_storage
666       link_VLC2_VLC_GTP:
667       - VLC2_VLC_GTP
668       - link
669       dependency_VLC2_VLC_SCTP_A:
670       - VLC2_VLC_SCTP_A
671       - dependency
672       link_VLC2_VLC2_Internal2:
673       - VLC2_VLC2_Internal2
674       - link
675       dependency_VLC2_VLC_SCTP_B:
676       - VLC2_VLC_SCTP_B
677       - dependency
678       dependency_VLC2_VLC2_Internal2:
679       - VLC2_VLC2_Internal2
680       - dependency
681       dependency_VLC2_VLC2_Internal1:
682       - VLC2_VLC2_Internal1
683       - dependency
684       link_VLC2_VLC2_Internal1:
685       - VLC2_VLC2_Internal1
686       - link
687       dependency_VLC2_VLC_OAM:
688       - VLC2_VLC_OAM
689       - dependency
690       dependency_VLC2_VLC_GTP:
691       - VLC2_VLC_GTP
692       - dependency