[sdc] update code of sdc
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / generalVf / out / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     Internal2_name:
12       hidden: false
13       immutable: false
14       type: string
15       default: Internal2-subnet
16     vlc2-Internal2-mac:
17       hidden: false
18       immutable: false
19       type: string
20       description: static mac address assigned to vlc2-Internal2
21       default: 00:81:37:0E:02:12
22     epc-sctp-a-net-rt:
23       hidden: false
24       immutable: false
25       type: string
26       description: epc-sctp-a route target
27       default: 13979:105717
28     epc-sctp-b-net-rt:
29       hidden: false
30       immutable: false
31       type: string
32       description: epc-sctp-b route target
33       default: 13979:105719
34     gpb-flavor:
35       hidden: false
36       immutable: false
37       type: string
38       description: Flavor to use for servers gpb
39       default: m4.xlarge4
40     Internal1_cidr:
41       hidden: false
42       immutable: false
43       type: string
44       default: 169.253.0.0/17
45     epc-sctp-a-pool-start:
46       hidden: false
47       immutable: false
48       type: string
49       description: epc-sctp-a-net network ip pool start IP address
50       default: 107.243.37.3
51     Internal2_subnet_name:
52       hidden: false
53       immutable: false
54       type: string
55       default: vmme_int_int_sub_2
56     Internal1_subnet_name:
57       hidden: false
58       immutable: false
59       type: string
60       default: vmme_int_int_sub_1
61     gpb1-Internal1-mac:
62       hidden: false
63       immutable: false
64       type: string
65       description: static mac address assigned to gpb1-Internal1
66       default: 00:80:37:0E:01:22
67     gpb1-Internal1-ip:
68       hidden: false
69       immutable: false
70       type: string
71       default: 169.254.0.101
72     FSB_1_image:
73       label: MME_FSB1
74       hidden: false
75       immutable: false
76       type: string
77       description: MME_FSB1_15B-CP04-r5a01
78       default: MME_FSB1_15B-CP04-r5a01
79     fsb1-Internal2-mac:
80       hidden: false
81       immutable: false
82       type: string
83       description: static mac address assigned to fsb1-Internal2
84       default: 00:81:37:0E:0B:12
85     ncb_zone:
86       hidden: false
87       immutable: false
88       type: string
89       description: cluster for spawnning ncb instances
90       default: nova
91     Internal2_net_name:
92       hidden: false
93       immutable: false
94       type: string
95       default: vmme_int_int_2
96     epc-sctp-a-pool-end:
97       hidden: false
98       immutable: false
99       type: string
100       description: epc-sctp-a-net network ip pool end IP address
101       default: 107.243.37.30
102     Internal1_name:
103       hidden: false
104       immutable: false
105       type: string
106       default: Internal1-subnet
107     gpb2-name:
108       hidden: false
109       immutable: false
110       type: string
111       description: Name of gpb2
112       default: ZRDM1MMEX33GPB002
113     fsb2-Internal1-mac:
114       hidden: false
115       immutable: false
116       type: string
117       description: static mac address assigned to fsb2-Internal1
118       default: 00:80:37:0E:0D:12
119     fsb2-name:
120       hidden: false
121       immutable: false
122       type: string
123       description: Name of fsb1
124       default: ZRDM1MMEX33FSB002
125     static_prefix_sctp_b_1:
126       hidden: false
127       immutable: false
128       type: string
129       description: Static Prefix
130       default: 107.239.40.64/30
131     fsb2-oam-ip:
132       hidden: false
133       immutable: false
134       type: string
135       default: 107.250.172.222
136     fsb2-flavor:
137       hidden: false
138       immutable: false
139       type: string
140       description: Flavor to use for servers  fsb2
141       default: m4.xlarge4
142     fsb2-Internal2-mac:
143       hidden: false
144       immutable: false
145       type: string
146       description: static mac address assigned to fsb2-Internal2
147       default: 00:81:37:0E:0D:12
148     ncb2-Internal1-mac:
149       hidden: false
150       immutable: false
151       type: string
152       description: static mac address assigned to ncb2-Internal1
153       default: 00:80:37:0E:0F:12
154     ncb2-name:
155       hidden: false
156       immutable: false
157       type: string
158       description: Name of ncb2
159       default: ZRDM1MMEX33NCB002
160     epc-sctp-b-pool-end:
161       hidden: false
162       immutable: false
163       type: string
164       description: epc-sctp-b-net network ip pool end IP address
165       default: 107.243.37.62
166     vlc1-gtp-ip:
167       hidden: false
168       immutable: false
169       type: string
170       default: 107.243.37.67
171     epc-sctp-b-pool-start:
172       hidden: false
173       immutable: false
174       type: string
175       description: epc-sctp-b-net network ip pool start IP address
176       default: 107.243.37.35
177     Internal2_shared:
178       hidden: false
179       immutable: false
180       type: string
181       default: 'False'
182     Internal1_net_name:
183       hidden: false
184       immutable: false
185       type: string
186       default: vmme_int_int_1
187     vlc2-name:
188       hidden: false
189       immutable: false
190       type: string
191       description: Name of vlc2
192       default: ZRDM1MMEX33VLC002
193     Internal2_ipam_name:
194       hidden: false
195       immutable: false
196       type: string
197       default: vmme_ipam_int2
198     vlc1-sctp-b-ip:
199       hidden: false
200       immutable: false
201       type: string
202       default: 107.243.37.35
203     Internal1_net_pool_end:
204       hidden: false
205       immutable: false
206       type: string
207       default: 169.253.0.254
208     Internal1_default_gateway:
209       hidden: false
210       immutable: false
211       type: string
212       default: 169.253.0.3
213     ncb1-Internal1-mac:
214       hidden: false
215       immutable: false
216       type: string
217       description: static mac address assigned to ncb1-Internal1
218       default: 00:80:37:0E:09:12
219     epc-gtp-net-name:
220       hidden: false
221       immutable: false
222       type: string
223       description: gtp net name
224       default: EPC-GTP
225     vlc1-Internal1-mac:
226       hidden: false
227       immutable: false
228       type: string
229       description: static mac address assigned to vlc1-Internal1
230       default: 00:80:37:0E:01:12
231     gpb2-Internal1-mac:
232       hidden: false
233       immutable: false
234       type: string
235       description: static mac address assigned to gpb2-Internal1
236       default: 00:80:37:0E:02:22
237     epc-gtp-net-cidr:
238       hidden: false
239       immutable: false
240       type: string
241       description: gtp stubnet
242       default: 107.243.37.64/27
243     oam_net_id:
244       hidden: false
245       immutable: false
246       type: string
247       description: uuid of oam network
248       default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351
249     vlc_zone:
250       hidden: false
251       immutable: false
252       type: string
253       description: cluster for spawnning vlc instances
254       default: nova
255     vlc2-Internal1-mac:
256       hidden: false
257       immutable: false
258       type: string
259       description: static mac address assigned to vlc2-Internal1
260       default: 00:80:37:0E:02:12
261     epc-sctp-a-net-cidr:
262       hidden: false
263       immutable: false
264       type: string
265       description: epc-sctp-a subnet
266       default: 107.243.37.0/27
267     Internal1_forwarding_mode:
268       hidden: false
269       immutable: false
270       type: string
271       default: l2
272     Internal2_dhcp:
273       hidden: false
274       immutable: false
275       type: boolean
276       default: false
277     fsb1-oam-ip:
278       hidden: false
279       immutable: false
280       type: string
281       default: 107.250.172.221
282     FSB_2_image:
283       label: MME_FSB2
284       hidden: false
285       immutable: false
286       type: string
287       description: MME_FSB2_15B-CP04-r5a01
288       default: MME_FSB2_15B-CP04-r5a01
289     vlc1-oam-ip:
290       hidden: false
291       immutable: false
292       type: string
293       default: 107.250.172.227
294     epc-sctp-a-net-name:
295       hidden: false
296       immutable: false
297       type: string
298       description: epc-sctp-a net name
299       default: EPC-SCTP-A
300     vlc2-oam-ip:
301       hidden: false
302       immutable: false
303       type: string
304       default: 107.250.172.228
305     Internal2_net_pool_start:
306       hidden: false
307       immutable: false
308       type: string
309       default: 169.255.0.100
310     FSB1_volume_name:
311       label: FSB1_volume
312       hidden: false
313       immutable: false
314       type: string
315       description: FSB1_volume_1
316       default: vFSB1_1_Vol_1
317     vlc1-sctp-a-ip:
318       hidden: false
319       immutable: false
320       type: string
321       default: 107.243.37.3
322     Internal1_ipam_name:
323       hidden: false
324       immutable: false
325       type: string
326       default: vmme_ipam_int1
327     Internal1_dhcp:
328       hidden: false
329       immutable: false
330       type: boolean
331       default: false
332     Internal2_external:
333       hidden: false
334       immutable: false
335       type: string
336       default: 'False'
337     Internal2_forwarding_mode:
338       hidden: false
339       immutable: false
340       type: string
341       default: l2
342     vlc1-name:
343       hidden: false
344       immutable: false
345       type: string
346       description: Name of vlc1
347       default: ZRDM1MMEX33VLC002
348     vlc-flavor:
349       hidden: false
350       immutable: false
351       type: string
352       description: Flavor to use for servers vlc
353       default: m4.xlarge4
354     epc-gtp-net-rt:
355       hidden: false
356       immutable: false
357       type: string
358       description: gtp route target
359       default: 13979:105715
360     gpb_zone:
361       hidden: false
362       immutable: false
363       type: string
364       description: cluster for spawnning gpb instances
365       default: nova
366     gpb1-Internal2-mac:
367       hidden: false
368       immutable: false
369       type: string
370       description: static mac address assigned to gpb1-Internal2
371       default: 00:81:37:0E:01:22
372     fsb1-Internal1-mac:
373       hidden: false
374       immutable: false
375       type: string
376       description: static mac address assigned to fsb1-Internal1
377       default: 00:80:37:0E:0B:12
378     FSB2_volume_name:
379       label: FSB2_volume
380       hidden: false
381       immutable: false
382       type: string
383       description: FSB2_volume_1
384       default: vFSB2_1_Vol_1
385     VMME_FSB2_boot_volume:
386       hidden: false
387       immutable: false
388       type: string
389       default: 089a0d11-4b15-4370-8343-3f90907b1221
390     fsb_zone:
391       hidden: false
392       immutable: false
393       type: string
394       description: cluster for spawnning fsb instances
395       default: nova
396     VMME_FSB1_boot_volume:
397       hidden: false
398       immutable: false
399       type: string
400       default: 8248e794-6173-4b49-b9c3-8219b0b56f4e
401     Internal2_default_gateway:
402       hidden: false
403       immutable: false
404       type: string
405       default: 169.255.0.3
406     Internal1_external:
407       hidden: false
408       immutable: false
409       type: string
410       default: 'False'
411     vlc2-sctp-a-ip:
412       hidden: false
413       immutable: false
414       type: string
415       default: 107.243.37.4
416     ncb-flavor:
417       hidden: false
418       immutable: false
419       type: string
420       description: Flavor to use for servers ncb
421       default: m4.xlarge4
422     Internal1_shared:
423       hidden: false
424       immutable: false
425       type: string
426       default: 'False'
427     fsb1-name:
428       hidden: false
429       immutable: false
430       type: string
431       description: Name of fsb1
432       default: ZRDM1MMEX33FSB001
433     static_prefix_gtp_1:
434       hidden: false
435       immutable: false
436       type: string
437       description: Static Prefix
438       default: 107.239.40.96/30
439     epc-sctp-b-net-gateway:
440       hidden: false
441       immutable: false
442       type: string
443       description: epc-sctp-b-net network gateway
444       default: 107.243.37.33
445     epc-sctp-b-net-cidr:
446       hidden: false
447       immutable: false
448       type: string
449       description: epc-sctp-b subnet
450       default: 107.243.37.32/24
451     epc-gtp-pool-end:
452       hidden: false
453       immutable: false
454       type: string
455       description: gtp network ip pool end IP address
456       default: 107.243.37.94
457     epc-sctp-a-net-gateway:
458       hidden: false
459       immutable: false
460       type: string
461       description: epc-sctp-a-net network gateway
462       default: 107.243.37.1
463     vlc2-gtp-ip:
464       hidden: false
465       immutable: false
466       type: string
467       default: 107.243.37.68
468     vlc2-sctp-b-ip:
469       hidden: false
470       immutable: false
471       type: string
472       default: 107.243.37.36
473     Internal1_net_pool_start:
474       hidden: false
475       immutable: false
476       type: string
477       default: 169.253.0.100
478     volume_size:
479       label: volume size
480       hidden: false
481       immutable: false
482       type: float
483       description: my volume size 320GB
484       default: 320
485     fsb2-image:
486       hidden: false
487       immutable: false
488       type: string
489       description: Name of image to use for server fsb2
490       default: MME_FSB2_15B-CP04-r5a01
491     ncb2-Internal2-mac:
492       hidden: false
493       immutable: false
494       type: string
495       description: static mac address assigned to ncb2-Internal2
496       default: 00:81:37:0E:0F:12
497     ncb1-name:
498       hidden: false
499       immutable: false
500       type: string
501       description: Name of ncb1
502       default: ZRDM1MMEX33NCB001
503     fsb1-image:
504       hidden: false
505       immutable: false
506       type: string
507       description: Name of image to use for server fsb1
508       default: MME_FSB1_15B-CP04-r5a01
509     fsb1-flavor:
510       hidden: false
511       immutable: false
512       type: string
513       description: Flavor to use for servers  fsb1
514       default: m4.xlarge4
515     volume_type:
516       label: volume type
517       hidden: false
518       immutable: false
519       type: string
520       description: volume type Gold
521       default: Gold
522     Internal2_net_pool_end:
523       hidden: false
524       immutable: false
525       type: string
526       default: 169.255.0.254
527     epc-sctp-b-net-name:
528       hidden: false
529       immutable: false
530       type: string
531       description: epc-sctp-b net name
532       default: EPC-SCTP-B
533     Internal2_cidr:
534       hidden: false
535       immutable: false
536       type: string
537       default: 169.255.0.0/17
538     epc-gtp-net-gateway:
539       hidden: false
540       immutable: false
541       type: string
542       description: gtp network gateway
543       default: 107.243.37.65
544     gpb2-Internal2-mac:
545       hidden: false
546       immutable: false
547       type: string
548       description: static mac address assigned to gpb2-Internal2
549       default: 00:81:37:0E:02:22
550     ncb1-Internal2-mac:
551       hidden: false
552       immutable: false
553       type: string
554       description: static mac address assigned to ncb1-Internal2
555       default: 00:81:37:0E:09:12
556     epc-gtp-pool-start:
557       hidden: false
558       immutable: false
559       type: string
560       description: gtp network ip pool start IP address
561       default: 107.243.37.67
562     static_prefix_sctp_a_1:
563       hidden: false
564       immutable: false
565       type: string
566       description: Static Prefix
567       default: 107.239.40.32/30
568     gpb1-name:
569       hidden: false
570       immutable: false
571       type: string
572       description: Name of gpb1
573       default: ZRDM1MMEX33GPB001
574     pxe-image:
575       hidden: false
576       immutable: false
577       type: string
578       description: Name of image to use for server ncb
579       default: MME_PXE-BOOT_cxp9025898_2r5a01.qcow2
580     vlc1-Internal2-mac:
581       hidden: false
582       immutable: false
583       type: string
584       description: static mac address assigned to vlc1-Internal2
585       default: 00:81:37:0E:01:12
586   node_templates:
587     epc-gtp-net:
588       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
589       properties:
590         route_targets:
591         - get_input: epc-gtp-net-rt
592         network_name:
593           get_input: epc-gtp-net-name
594         subnets:
595           epc-gtp-subnet:
596             cidr:
597               get_input: epc-gtp-net-cidr
598             gateway_ip:
599               get_input: epc-gtp-net-gateway
600             allocation_pools:
601             - start:
602                 get_input: epc-gtp-pool-start
603               end:
604                 get_input: epc-gtp-pool-end
605     FSB1_volume:
606       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
607       properties:
608         image:
609           get_input: FSB_1_image
610         volume_type:
611           get_input: volume_type
612         size: '(get_input : volume_size) * 1024'
613         name:
614           get_input: FSB1_volume_name
615     FSB2_volume:
616       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
617       properties:
618         image:
619           get_input: FSB_2_image
620         volume_type:
621           get_input: volume_type
622         size: '(get_input : volume_size) * 1024'
623         name:
624           get_input: FSB2_volume_name
625     abstract_VLC2:
626       type: org.openecomp.resource.abstract.nodes.VLC2
627       directives:
628       - substitutable
629       properties:
630         port_VLC_OAM_network_role_tag: oam
631         port_VLC_GTP_ip_requirements:
632         - - ip_version: 4
633             ip_count_required:
634               is_required: true
635             floating_ip_count_required:
636               is_required: false
637         port_VLC2_Internal2_ip_requirements:
638         - - ip_version: 4
639             ip_count_required:
640               is_required: false
641             floating_ip_count_required:
642               is_required: false
643         port_VLC_SCTP_A_mac_requirements:
644           mac_count_required:
645             is_required: false
646         vm_flavor_name:
647           get_input: vlc-flavor
648         port_VLC_SCTP_B_ip_requirements:
649         - - ip_version: 4
650             ip_count_required:
651               is_required: true
652             floating_ip_count_required:
653               is_required: false
654         port_VLC_SCTP_A_fixed_ips:
655         - - ip_address:
656               get_input: vlc2-sctp-a-ip
657         port_VLC2_Internal2_mac_address:
658           get_input: vlc2-Internal1-mac
659         vm_image_name:
660           get_input: pxe-image
661         port_VLC2_Internal1_mac_address:
662           get_input: vlc2-Internal1-mac
663         port_VLC2_Internal2_mac_requirements:
664           mac_count_required:
665             is_required: true
666         port_VLC2_Internal1_mac_requirements:
667           mac_count_required:
668             is_required: true
669         port_VLC_SCTP_B_network:
670         - epc-sctp-b-net
671         port_VLC_GTP_network:
672         - epc-gtp-net
673         port_VLC2_Internal1_ip_requirements:
674         - - ip_version: 4
675             ip_count_required:
676               is_required: false
677             floating_ip_count_required:
678               is_required: false
679         port_VLC_GTP_fixed_ips:
680         - - ip_address:
681               get_input: vlc2-gtp-ip
682         port_VLC_OAM_network:
683         - get_input: oam_net_id
684         port_VLC2_Internal2_network:
685         - Internal2-net
686         port_VLC_SCTP_A_network:
687         - epc-sctp-a-net
688         port_VLC_OAM_ip_requirements:
689         - - ip_version: 4
690             ip_count_required:
691               is_required: true
692             floating_ip_count_required:
693               is_required: false
694         port_VLC_OAM_fixed_ips:
695         - - ip_address:
696               get_input: vlc2-oam-ip
697         port_VLC_SCTP_A_ip_requirements:
698         - - ip_version: 4
699             ip_count_required:
700               is_required: true
701             floating_ip_count_required:
702               is_required: false
703         compute_VLC2_name:
704         - get_input: vlc2-name
705         port_VLC_SCTP_B_fixed_ips:
706         - - ip_address:
707               get_input: vlc2-sctp-b-ip
708         port_VLC_GTP_mac_requirements:
709           mac_count_required:
710             is_required: false
711         port_VLC2_Internal1_network:
712         - Internal1-net
713         compute_VLC2_availability_zone:
714         - get_input: vlc_zone
715         port_VLC_OAM_mac_requirements:
716           mac_count_required:
717             is_required: false
718         port_VLC_SCTP_B_mac_requirements:
719           mac_count_required:
720             is_required: false
721         service_template_filter:
722           substitute_service_template: Nested_VLC2ServiceTemplate.yaml
723           count: 1
724         index_value:
725           get_property:
726           - SELF
727           - service_template_filter
728           - index_value
729       requirements:
730       - link_VLC2_VLC2_Internal1:
731           capability: tosca.capabilities.network.Linkable
732           node: Internal1-net
733           relationship: tosca.relationships.network.LinksTo
734       - link_VLC2_VLC2_Internal2:
735           capability: tosca.capabilities.network.Linkable
736           node: Internal2-net
737           relationship: tosca.relationships.network.LinksTo
738       - link_VLC2_VLC_SCTP_B:
739           capability: tosca.capabilities.network.Linkable
740           node: epc-sctp-b-net
741           relationship: tosca.relationships.network.LinksTo
742       - link_VLC2_VLC_SCTP_A:
743           capability: tosca.capabilities.network.Linkable
744           node: epc-sctp-a-net
745           relationship: tosca.relationships.network.LinksTo
746       - link_VLC2_VLC_GTP:
747           capability: tosca.capabilities.network.Linkable
748           node: epc-gtp-net
749           relationship: tosca.relationships.network.LinksTo
750     abstract_VLC1:
751       type: org.openecomp.resource.abstract.nodes.VLC1
752       directives:
753       - substitutable
754       properties:
755         port_VLC1_Internal2_mac_address:
756           get_input: vlc1-Internal1-mac
757         port_VLC_OAM_network_role_tag: oam
758         port_VLC1_Internal1_mac_address:
759           get_input: vlc1-Internal1-mac
760         port_VLC_GTP_ip_requirements:
761         - - ip_version: 4
762             ip_count_required:
763               is_required: true
764             floating_ip_count_required:
765               is_required: false
766         port_VLC_SCTP_A_mac_requirements:
767           mac_count_required:
768             is_required: false
769         vm_flavor_name:
770           get_input: vlc-flavor
771         port_VLC1_Internal2_network:
772         - Internal2-net
773         port_VLC_SCTP_B_ip_requirements:
774         - - ip_version: 4
775             ip_count_required:
776               is_required: true
777             floating_ip_count_required:
778               is_required: false
779         port_VLC_SCTP_A_fixed_ips:
780         - - ip_address:
781               get_input: vlc1-sctp-a-ip
782         vm_image_name:
783           get_input: pxe-image
784         port_VLC_SCTP_B_network:
785         - epc-sctp-b-net
786         port_VLC_GTP_network:
787         - epc-gtp-net
788         port_VLC1_Internal1_mac_requirements:
789           mac_count_required:
790             is_required: true
791         port_VLC_GTP_fixed_ips:
792         - - ip_address:
793               get_input: vlc1-gtp-ip
794         port_VLC_OAM_network:
795         - get_input: oam_net_id
796         compute_VLC1_name:
797         - get_input: vlc1-name
798         port_VLC1_Internal2_ip_requirements:
799         - - ip_version: 4
800             ip_count_required:
801               is_required: false
802             floating_ip_count_required:
803               is_required: false
804         port_VLC1_Internal1_network:
805         - Internal1-net
806         port_VLC_SCTP_A_network:
807         - epc-sctp-a-net
808         port_VLC_OAM_ip_requirements:
809         - - ip_version: 4
810             ip_count_required:
811               is_required: true
812             floating_ip_count_required:
813               is_required: false
814         port_VLC1_Internal1_ip_requirements:
815         - - ip_version: 4
816             ip_count_required:
817               is_required: false
818             floating_ip_count_required:
819               is_required: false
820         port_VLC_OAM_fixed_ips:
821         - - ip_address:
822               get_input: vlc1-oam-ip
823         port_VLC_SCTP_A_ip_requirements:
824         - - ip_version: 4
825             ip_count_required:
826               is_required: true
827             floating_ip_count_required:
828               is_required: false
829         compute_VLC1_availability_zone:
830         - get_input: vlc_zone
831         port_VLC1_Internal2_mac_requirements:
832           mac_count_required:
833             is_required: true
834         port_VLC_SCTP_B_fixed_ips:
835         - - ip_address:
836               get_input: vlc1-sctp-b-ip
837         port_VLC_GTP_mac_requirements:
838           mac_count_required:
839             is_required: false
840         port_VLC_OAM_mac_requirements:
841           mac_count_required:
842             is_required: false
843         port_VLC_SCTP_B_mac_requirements:
844           mac_count_required:
845             is_required: false
846         service_template_filter:
847           substitute_service_template: Nested_VLC1ServiceTemplate.yaml
848           count: 1
849         index_value:
850           get_property:
851           - SELF
852           - service_template_filter
853           - index_value
854       requirements:
855       - link_VLC1_VLC1_Internal1:
856           capability: tosca.capabilities.network.Linkable
857           node: Internal1-net
858           relationship: tosca.relationships.network.LinksTo
859       - link_VLC1_VLC1_Internal2:
860           capability: tosca.capabilities.network.Linkable
861           node: Internal2-net
862           relationship: tosca.relationships.network.LinksTo
863       - link_VLC1_VLC_SCTP_B:
864           capability: tosca.capabilities.network.Linkable
865           node: epc-sctp-b-net
866           relationship: tosca.relationships.network.LinksTo
867       - link_VLC1_VLC_SCTP_A:
868           capability: tosca.capabilities.network.Linkable
869           node: epc-sctp-a-net
870           relationship: tosca.relationships.network.LinksTo
871       - link_VLC1_VLC_GTP:
872           capability: tosca.capabilities.network.Linkable
873           node: epc-gtp-net
874           relationship: tosca.relationships.network.LinksTo
875     Internal1-net:
876       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
877       properties:
878         dhcp_enabled:
879           get_input: Internal1_dhcp
880         shared:
881           get_input: Internal1_shared
882         forwarding_mode:
883           get_input: Internal1_forwarding_mode
884         external:
885           get_input: Internal1_external
886         network_name:
887           get_input: Internal1_net_name
888         subnets:
889           Internal1-subnet:
890             enable_dhcp:
891               get_input: Internal1_dhcp
892             cidr:
893               get_input: Internal1_cidr
894             gateway_ip:
895               get_input: Internal1_default_gateway
896     abstract_GPB1:
897       type: org.openecomp.resource.abstract.nodes.GPB1
898       directives:
899       - substitutable
900       properties:
901         compute_GPB1_name:
902         - get_input: gpb1-name
903         vm_flavor_name:
904           get_input: gpb-flavor
905         port_GPB1_Internal2_mac_address:
906           get_input: gpb1-Internal1-mac
907         vm_image_name:
908           get_input: pxe-image
909         port_GPB1_Internal1_mac_requirements:
910           mac_count_required:
911             is_required: true
912         compute_GPB1_availability_zone:
913         - get_input: gpb_zone
914         port_GPB1_Internal2_ip_requirements:
915         - - ip_version: 4
916             ip_count_required:
917               is_required: false
918             floating_ip_count_required:
919               is_required: false
920         port_GPB1_Internal2_network:
921         - Internal2-net
922         port_GPB1_Internal1_network:
923         - Internal1-net
924         port_GPB1_Internal2_mac_requirements:
925           mac_count_required:
926             is_required: true
927         port_GPB1_Internal1_mac_address:
928           get_input: gpb1-Internal1-mac
929         port_GPB1_Internal1_ip_requirements:
930         - - ip_version: 4
931             ip_count_required:
932               is_required: false
933             floating_ip_count_required:
934               is_required: false
935         service_template_filter:
936           substitute_service_template: Nested_GPB1ServiceTemplate.yaml
937           count: 1
938         index_value:
939           get_property:
940           - SELF
941           - service_template_filter
942           - index_value
943       requirements:
944       - link_GPB1_GPB1_Internal1:
945           capability: tosca.capabilities.network.Linkable
946           node: Internal1-net
947           relationship: tosca.relationships.network.LinksTo
948       - link_GPB1_GPB1_Internal2:
949           capability: tosca.capabilities.network.Linkable
950           node: Internal2-net
951           relationship: tosca.relationships.network.LinksTo
952     abstract_GPB2:
953       type: org.openecomp.resource.abstract.nodes.GPB2
954       directives:
955       - substitutable
956       properties:
957         port_GPB2_Internal1_network:
958         - Internal1-net
959         vm_flavor_name:
960           get_input: gpb-flavor
961         port_GPB2_Internal2_ip_requirements:
962         - - ip_version: 4
963             ip_count_required:
964               is_required: false
965             floating_ip_count_required:
966               is_required: false
967         vm_image_name:
968           get_input: pxe-image
969         compute_GPB2_name:
970         - get_input: gpb2-name
971         port_GPB2_Internal2_mac_address:
972           get_input: gpb2-Internal1-mac
973         port_GPB2_Internal2_mac_requirements:
974           mac_count_required:
975             is_required: true
976         port_GPB2_Internal1_ip_requirements:
977         - - ip_version: 4
978             ip_count_required:
979               is_required: false
980             floating_ip_count_required:
981               is_required: false
982         compute_GPB2_availability_zone:
983         - get_input: gpb_zone
984         port_GPB2_Internal1_mac_requirements:
985           mac_count_required:
986             is_required: true
987         port_GPB2_Internal1_mac_address:
988           get_input: gpb2-Internal1-mac
989         port_GPB2_Internal2_network:
990         - Internal2-net
991         service_template_filter:
992           substitute_service_template: Nested_GPB2ServiceTemplate.yaml
993           count: 1
994         index_value:
995           get_property:
996           - SELF
997           - service_template_filter
998           - index_value
999       requirements:
1000       - link_GPB2_GPB2_Internal1:
1001           capability: tosca.capabilities.network.Linkable
1002           node: Internal1-net
1003           relationship: tosca.relationships.network.LinksTo
1004       - link_GPB2_GPB2_Internal2:
1005           capability: tosca.capabilities.network.Linkable
1006           node: Internal2-net
1007           relationship: tosca.relationships.network.LinksTo
1008     Internal2-net:
1009       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1010       properties:
1011         dhcp_enabled:
1012           get_input: Internal2_dhcp
1013         shared:
1014           get_input: Internal2_shared
1015         forwarding_mode:
1016           get_input: Internal2_forwarding_mode
1017         external:
1018           get_input: Internal2_external
1019         network_name:
1020           get_input: Internal2_name
1021         subnets:
1022           Internal2-subnet:
1023             enable_dhcp:
1024               get_input: Internal2_dhcp
1025             cidr:
1026               get_input: Internal2_cidr
1027             gateway_ip:
1028               get_input: Internal2_default_gateway
1029     epc-sctp-a-net:
1030       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1031       properties:
1032         route_targets:
1033         - get_input: epc-sctp-a-net-rt
1034         network_name:
1035           get_input: epc-sctp-a-net-name
1036         subnets:
1037           epc-sctp-a-subnet:
1038             cidr:
1039               get_input: epc-sctp-a-net-cidr
1040             gateway_ip:
1041               get_input: epc-sctp-a-net-gateway
1042             allocation_pools:
1043             - start:
1044                 get_input: epc-sctp-a-pool-start
1045               end:
1046                 get_input: epc-sctp-a-pool-end
1047     abstract_NCB1:
1048       type: org.openecomp.resource.abstract.nodes.NCB1
1049       directives:
1050       - substitutable
1051       properties:
1052         vm_flavor_name:
1053           get_input: ncb-flavor
1054         compute_NCB1_name:
1055         - get_input: ncb1-name
1056         port_NCB1_Internal2_mac_requirements:
1057           mac_count_required:
1058             is_required: true
1059         vm_image_name:
1060           get_input: pxe-image
1061         port_NCB1_Internal2_ip_requirements:
1062         - - ip_version: 4
1063             ip_count_required:
1064               is_required: false
1065             floating_ip_count_required:
1066               is_required: false
1067         port_NCB1_Internal2_mac_address:
1068           get_input: ncb1-Internal1-mac
1069         port_NCB1_Internal1_mac_address:
1070           get_input: ncb1-Internal1-mac
1071         port_NCB1_Internal1_ip_requirements:
1072         - - ip_version: 4
1073             ip_count_required:
1074               is_required: false
1075             floating_ip_count_required:
1076               is_required: false
1077         port_NCB1_Internal1_mac_requirements:
1078           mac_count_required:
1079             is_required: true
1080         port_NCB1_Internal1_network:
1081         - Internal1-net
1082         compute_NCB1_availability_zone:
1083         - get_input: ncb_zone
1084         port_NCB1_Internal2_network:
1085         - Internal2-net
1086         service_template_filter:
1087           substitute_service_template: Nested_NCB1ServiceTemplate.yaml
1088           count: 1
1089         index_value:
1090           get_property:
1091           - SELF
1092           - service_template_filter
1093           - index_value
1094       requirements:
1095       - link_NCB1_NCB1_Internal1:
1096           capability: tosca.capabilities.network.Linkable
1097           node: Internal1-net
1098           relationship: tosca.relationships.network.LinksTo
1099       - link_NCB1_NCB1_Internal2:
1100           capability: tosca.capabilities.network.Linkable
1101           node: Internal2-net
1102           relationship: tosca.relationships.network.LinksTo
1103     abstract_NCB2:
1104       type: org.openecomp.resource.abstract.nodes.NCB2
1105       directives:
1106       - substitutable
1107       properties:
1108         compute_NCB2_availability_zone:
1109         - get_input: ncb_zone
1110         vm_flavor_name:
1111           get_input: ncb-flavor
1112         port_NCB2_Internal2_mac_requirements:
1113           mac_count_required:
1114             is_required: true
1115         port_NCB2_Internal1_mac_requirements:
1116           mac_count_required:
1117             is_required: true
1118         vm_image_name:
1119           get_input: pxe-image
1120         port_NCB2_Internal1_network:
1121         - Internal1-net
1122         port_NCB2_Internal2_ip_requirements:
1123         - - ip_version: 4
1124             ip_count_required:
1125               is_required: false
1126             floating_ip_count_required:
1127               is_required: false
1128         port_NCB2_Internal2_network:
1129         - Internal2-net
1130         port_NCB2_Internal1_mac_address:
1131           get_input: ncb2-Internal1-mac
1132         port_NCB2_Internal2_mac_address:
1133           get_input: ncb2-Internal1-mac
1134         compute_NCB2_name:
1135         - get_input: ncb2-name
1136         port_NCB2_Internal1_ip_requirements:
1137         - - ip_version: 4
1138             ip_count_required:
1139               is_required: false
1140             floating_ip_count_required:
1141               is_required: false
1142         service_template_filter:
1143           substitute_service_template: Nested_NCB2ServiceTemplate.yaml
1144           count: 1
1145         index_value:
1146           get_property:
1147           - SELF
1148           - service_template_filter
1149           - index_value
1150       requirements:
1151       - link_NCB2_NCB2_Internal1:
1152           capability: tosca.capabilities.network.Linkable
1153           node: Internal1-net
1154           relationship: tosca.relationships.network.LinksTo
1155       - link_NCB2_NCB2_Internal2:
1156           capability: tosca.capabilities.network.Linkable
1157           node: Internal2-net
1158           relationship: tosca.relationships.network.LinksTo
1159     epc-sctp-b-net:
1160       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1161       properties:
1162         route_targets:
1163         - get_input: epc-sctp-b-net-rt
1164         network_name:
1165           get_input: epc-sctp-b-net-name
1166         subnets:
1167           epc-sctp-b-subnet:
1168             cidr:
1169               get_input: epc-sctp-b-net-cidr
1170             gateway_ip:
1171               get_input: epc-sctp-b-net-gateway
1172             allocation_pools:
1173             - start:
1174                 get_input: epc-sctp-b-pool-start
1175               end:
1176                 get_input: epc-sctp-b-pool-end
1177     abstract_FSB1:
1178       type: org.openecomp.resource.abstract.nodes.FSB1
1179       directives:
1180       - substitutable
1181       properties:
1182         port_FSB1_Internal1_mac_address:
1183           get_input: fsb1-Internal1-mac
1184         port_FSB_OAM_network_role_tag: oam
1185         port_FSB1_Internal2_network:
1186         - Internal2-net
1187         port_FSB1_Internal1_network:
1188         - Internal1-net
1189         vm_flavor_name:
1190           get_input: fsb1-flavor
1191         port_FSB1_Internal2_mac_address:
1192           get_input: fsb1-Internal1-mac
1193         port_FSB_OAM_ip_requirements:
1194         - - ip_version: 4
1195             ip_count_required:
1196               is_required: true
1197             floating_ip_count_required:
1198               is_required: false
1199         port_FSB1_Internal1_mac_requirements:
1200           mac_count_required:
1201             is_required: true
1202         port_FSB1_Internal1_ip_requirements:
1203         - - ip_version: 4
1204             ip_count_required:
1205               is_required: false
1206             floating_ip_count_required:
1207               is_required: false
1208         port_FSB_OAM_network:
1209         - get_input: oam_net_id
1210         port_FSB_OAM_mac_requirements:
1211           mac_count_required:
1212             is_required: false
1213         compute_FSB1_availability_zone:
1214         - get_input: fsb_zone
1215         port_FSB1_Internal2_mac_requirements:
1216           mac_count_required:
1217             is_required: true
1218         port_FSB1_Internal2_ip_requirements:
1219         - - ip_version: 4
1220             ip_count_required:
1221               is_required: false
1222             floating_ip_count_required:
1223               is_required: false
1224         port_FSB_OAM_fixed_ips:
1225         - - ip_address:
1226               get_input: fsb1-oam-ip
1227         compute_FSB1_name:
1228         - get_input: fsb1-name
1229         service_template_filter:
1230           substitute_service_template: Nested_FSB1ServiceTemplate.yaml
1231           count: 1
1232         index_value:
1233           get_property:
1234           - SELF
1235           - service_template_filter
1236           - index_value
1237       requirements:
1238       - link_FSB1_FSB1_Internal1:
1239           capability: tosca.capabilities.network.Linkable
1240           node: Internal1-net
1241           relationship: tosca.relationships.network.LinksTo
1242       - link_FSB1_FSB1_Internal2:
1243           capability: tosca.capabilities.network.Linkable
1244           node: Internal2-net
1245           relationship: tosca.relationships.network.LinksTo
1246     abstract_FSB2:
1247       type: org.openecomp.resource.abstract.nodes.FSB2
1248       directives:
1249       - substitutable
1250       properties:
1251         port_FSB_OAM_network_role_tag: oam
1252         vm_flavor_name:
1253           get_input: fsb2-flavor
1254         compute_FSB2_availability_zone:
1255         - get_input: fsb_zone
1256         port_FSB_OAM_ip_requirements:
1257         - - ip_version: 4
1258             ip_count_required:
1259               is_required: true
1260             floating_ip_count_required:
1261               is_required: false
1262         port_FSB2_Internal1_ip_requirements:
1263         - - ip_version: 4
1264             ip_count_required:
1265               is_required: false
1266             floating_ip_count_required:
1267               is_required: false
1268         compute_FSB2_name:
1269         - get_input: fsb2-name
1270         port_FSB2_Internal1_mac_address:
1271           get_input: fsb2-Internal1-mac
1272         port_FSB_OAM_network:
1273         - get_input: oam_net_id
1274         port_FSB2_Internal1_network:
1275         - Internal1-net
1276         port_FSB2_Internal2_mac_address:
1277           get_input: fsb2-Internal1-mac
1278         port_FSB2_Internal2_mac_requirements:
1279           mac_count_required:
1280             is_required: true
1281         port_FSB_OAM_mac_requirements:
1282           mac_count_required:
1283             is_required: false
1284         port_FSB2_Internal2_ip_requirements:
1285         - - ip_version: 4
1286             ip_count_required:
1287               is_required: false
1288             floating_ip_count_required:
1289               is_required: false
1290         port_FSB2_Internal2_network:
1291         - Internal2-net
1292         port_FSB_OAM_fixed_ips:
1293         - - ip_address:
1294               get_input: fsb2-oam-ip
1295         port_FSB2_Internal1_mac_requirements:
1296           mac_count_required:
1297             is_required: true
1298         service_template_filter:
1299           substitute_service_template: Nested_FSB2ServiceTemplate.yaml
1300           count: 1
1301         index_value:
1302           get_property:
1303           - SELF
1304           - service_template_filter
1305           - index_value
1306       requirements:
1307       - link_FSB2_FSB2_Internal1:
1308           capability: tosca.capabilities.network.Linkable
1309           node: Internal1-net
1310           relationship: tosca.relationships.network.LinksTo
1311       - link_FSB2_FSB2_Internal2:
1312           capability: tosca.capabilities.network.Linkable
1313           node: Internal2-net
1314           relationship: tosca.relationships.network.LinksTo
1315   groups:
1316     vmme_small_group:
1317       type: org.openecomp.groups.heat.HeatStack
1318       properties:
1319         heat_file: ../Artifacts/vmme_small.yml
1320         description: HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc
1321       members:
1322       - epc-gtp-net
1323       - Internal1-net
1324       - Internal2-net
1325       - epc-sctp-a-net
1326       - epc-sctp-b-net
1327       - abstract_NCB1
1328       - abstract_GPB2
1329       - abstract_NCB2
1330       - abstract_GPB1
1331       - abstract_FSB2
1332       - abstract_VLC1
1333       - abstract_FSB1
1334       - abstract_VLC2
1335     vmme_small_create_fsb_group:
1336       type: org.openecomp.groups.heat.HeatStack
1337       properties:
1338         heat_file: ../Artifacts/vmme_small_create_fsb.yml
1339         description: server template for vMME
1340       members:
1341       - FSB1_volume
1342       - FSB2_volume