[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 / 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_SCTP_A_network:
631         - epc-sctp-a-net
632         port_VLC_OAM_network_role_tag:
633         - oam
634         port_VLC_GTP_ip_requirements:
635         - - ip_version: 4
636             ip_count_required:
637               is_required: true
638             floating_ip_count_required:
639               is_required: false
640         port_VLC2_Internal2_ip_requirements:
641         - - ip_version: 4
642             ip_count_required:
643               is_required: false
644             floating_ip_count_required:
645               is_required: false
646         port_VLC_SCTP_A_mac_requirements:
647         - mac_count_required:
648             is_required: false
649         vm_flavor_name:
650           get_input: vlc-flavor
651         port_VLC_SCTP_B_ip_requirements:
652         - - ip_version: 4
653             ip_count_required:
654               is_required: true
655             floating_ip_count_required:
656               is_required: false
657         port_VLC_SCTP_A_fixed_ips:
658         - - ip_address:
659               get_input: vlc2-sctp-a-ip
660         port_VLC_OAM_ip_requirements:
661         - - ip_version: 4
662             ip_count_required:
663               is_required: true
664             floating_ip_count_required:
665               is_required: false
666         port_VLC2_Internal2_mac_address:
667         - get_input: vlc2-Internal2-mac
668         port_VLC_OAM_fixed_ips:
669         - - ip_address:
670               get_input: vlc2-oam-ip
671         vm_image_name:
672           get_input: pxe-image
673         port_VLC2_Internal1_mac_address:
674         - get_input: vlc2-Internal1-mac
675         port_VLC2_Internal2_mac_requirements:
676         - mac_count_required:
677             is_required: true
678         port_VLC2_Internal1_mac_requirements:
679         - mac_count_required:
680             is_required: true
681         port_VLC_SCTP_A_ip_requirements:
682         - - ip_version: 4
683             ip_count_required:
684               is_required: true
685             floating_ip_count_required:
686               is_required: false
687         port_VLC_SCTP_B_network:
688         - epc-sctp-b-net
689         port_VLC_GTP_network:
690         - epc-gtp-net
691         port_VLC2_Internal1_ip_requirements:
692         - - ip_version: 4
693             ip_count_required:
694               is_required: false
695             floating_ip_count_required:
696               is_required: false
697         compute_VLC2_name:
698         - get_input: vlc2-name
699         port_VLC_SCTP_B_fixed_ips:
700         - - ip_address:
701               get_input: vlc2-sctp-b-ip
702         port_VLC_GTP_mac_requirements:
703         - mac_count_required:
704             is_required: false
705         port_VLC2_Internal1_network:
706         - Internal1-net
707         compute_VLC2_availability_zone:
708         - get_input: vlc_zone
709         port_VLC_GTP_fixed_ips:
710         - - ip_address:
711               get_input: vlc2-gtp-ip
712         port_VLC_OAM_mac_requirements:
713         - mac_count_required:
714             is_required: false
715         port_VLC_OAM_network:
716         - get_input: oam_net_id
717         port_VLC_SCTP_B_mac_requirements:
718         - mac_count_required:
719             is_required: false
720         port_VLC2_Internal2_network:
721         - Internal2-net
722         service_template_filter:
723           substitute_service_template: Nested_VLC2ServiceTemplate.yaml
724           count: 1
725         index_value:
726           get_property:
727           - SELF
728           - service_template_filter
729           - index_value
730       requirements:
731       - link_VLC2_VLC2_Internal1:
732           capability: tosca.capabilities.network.Linkable
733           node: Internal1-net
734           relationship: tosca.relationships.network.LinksTo
735       - link_VLC2_VLC2_Internal2:
736           capability: tosca.capabilities.network.Linkable
737           node: Internal2-net
738           relationship: tosca.relationships.network.LinksTo
739       - link_VLC2_VLC_SCTP_B:
740           capability: tosca.capabilities.network.Linkable
741           node: epc-sctp-b-net
742           relationship: tosca.relationships.network.LinksTo
743       - link_VLC2_VLC_SCTP_A:
744           capability: tosca.capabilities.network.Linkable
745           node: epc-sctp-a-net
746           relationship: tosca.relationships.network.LinksTo
747       - link_VLC2_VLC_GTP:
748           capability: tosca.capabilities.network.Linkable
749           node: epc-gtp-net
750           relationship: tosca.relationships.network.LinksTo
751     abstract_VLC1:
752       type: org.openecomp.resource.abstract.nodes.VLC1
753       directives:
754       - substitutable
755       properties:
756         port_VLC1_Internal2_mac_address:
757         - get_input: vlc1-Internal2-mac
758         port_VLC1_Internal1_network:
759         - Internal1-net
760         port_VLC_SCTP_A_network:
761         - epc-sctp-a-net
762         port_VLC_OAM_network_role_tag:
763         - oam
764         port_VLC1_Internal1_mac_address:
765         - get_input: vlc1-Internal1-mac
766         port_VLC_GTP_ip_requirements:
767         - - ip_version: 4
768             ip_count_required:
769               is_required: true
770             floating_ip_count_required:
771               is_required: false
772         port_VLC_SCTP_A_mac_requirements:
773         - mac_count_required:
774             is_required: false
775         vm_flavor_name:
776           get_input: vlc-flavor
777         port_VLC1_Internal2_network:
778         - Internal2-net
779         port_VLC_SCTP_B_ip_requirements:
780         - - ip_version: 4
781             ip_count_required:
782               is_required: true
783             floating_ip_count_required:
784               is_required: false
785         port_VLC_SCTP_A_fixed_ips:
786         - - ip_address:
787               get_input: vlc1-sctp-a-ip
788         port_VLC_OAM_ip_requirements:
789         - - ip_version: 4
790             ip_count_required:
791               is_required: true
792             floating_ip_count_required:
793               is_required: false
794         port_VLC1_Internal1_ip_requirements:
795         - - ip_version: 4
796             ip_count_required:
797               is_required: false
798             floating_ip_count_required:
799               is_required: false
800         port_VLC_OAM_fixed_ips:
801         - - ip_address:
802               get_input: vlc1-oam-ip
803         vm_image_name:
804           get_input: pxe-image
805         port_VLC_SCTP_A_ip_requirements:
806         - - ip_version: 4
807             ip_count_required:
808               is_required: true
809             floating_ip_count_required:
810               is_required: false
811         port_VLC_SCTP_B_network:
812         - epc-sctp-b-net
813         port_VLC_GTP_network:
814         - epc-gtp-net
815         compute_VLC1_availability_zone:
816         - get_input: vlc_zone
817         port_VLC1_Internal1_mac_requirements:
818         - mac_count_required:
819             is_required: true
820         port_VLC1_Internal2_mac_requirements:
821         - mac_count_required:
822             is_required: true
823         port_VLC_SCTP_B_fixed_ips:
824         - - ip_address:
825               get_input: vlc1-sctp-b-ip
826         port_VLC_GTP_mac_requirements:
827         - mac_count_required:
828             is_required: false
829         port_VLC_GTP_fixed_ips:
830         - - ip_address:
831               get_input: vlc1-gtp-ip
832         port_VLC_OAM_mac_requirements:
833         - mac_count_required:
834             is_required: false
835         port_VLC_OAM_network:
836         - get_input: oam_net_id
837         compute_VLC1_name:
838         - get_input: vlc1-name
839         port_VLC_SCTP_B_mac_requirements:
840         - mac_count_required:
841             is_required: false
842         port_VLC1_Internal2_ip_requirements:
843         - - ip_version: 4
844             ip_count_required:
845               is_required: false
846             floating_ip_count_required:
847               is_required: false
848         service_template_filter:
849           substitute_service_template: Nested_VLC1ServiceTemplate.yaml
850           count: 1
851         index_value:
852           get_property:
853           - SELF
854           - service_template_filter
855           - index_value
856       requirements:
857       - link_VLC1_VLC1_Internal1:
858           capability: tosca.capabilities.network.Linkable
859           node: Internal1-net
860           relationship: tosca.relationships.network.LinksTo
861       - link_VLC1_VLC1_Internal2:
862           capability: tosca.capabilities.network.Linkable
863           node: Internal2-net
864           relationship: tosca.relationships.network.LinksTo
865       - link_VLC1_VLC_SCTP_B:
866           capability: tosca.capabilities.network.Linkable
867           node: epc-sctp-b-net
868           relationship: tosca.relationships.network.LinksTo
869       - link_VLC1_VLC_SCTP_A:
870           capability: tosca.capabilities.network.Linkable
871           node: epc-sctp-a-net
872           relationship: tosca.relationships.network.LinksTo
873       - link_VLC1_VLC_GTP:
874           capability: tosca.capabilities.network.Linkable
875           node: epc-gtp-net
876           relationship: tosca.relationships.network.LinksTo
877     Internal1-net:
878       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
879       properties:
880         dhcp_enabled:
881           get_input: Internal1_dhcp
882         shared:
883           get_input: Internal1_shared
884         forwarding_mode:
885           get_input: Internal1_forwarding_mode
886         external:
887           get_input: Internal1_external
888         network_name:
889           get_input: Internal1_net_name
890         subnets:
891           Internal1-subnet:
892             enable_dhcp:
893               get_input: Internal1_dhcp
894             cidr:
895               get_input: Internal1_cidr
896             gateway_ip:
897               get_input: Internal1_default_gateway
898     abstract_GPB1:
899       type: org.openecomp.resource.abstract.nodes.GPB1
900       directives:
901       - substitutable
902       properties:
903         port_GPB1_Internal2_network:
904         - Internal2-net
905         port_GPB1_Internal1_network:
906         - Internal1-net
907         compute_GPB1_name:
908         - get_input: gpb1-name
909         vm_flavor_name:
910           get_input: gpb-flavor
911         port_GPB1_Internal2_mac_requirements:
912         - mac_count_required:
913             is_required: true
914         port_GPB1_Internal1_mac_address:
915         - get_input: gpb1-Internal1-mac
916         port_GPB1_Internal2_mac_address:
917         - get_input: gpb1-Internal2-mac
918         vm_image_name:
919           get_input: pxe-image
920         port_GPB1_Internal1_ip_requirements:
921         - - ip_version: 4
922             ip_count_required:
923               is_required: false
924             floating_ip_count_required:
925               is_required: false
926         port_GPB1_Internal1_mac_requirements:
927         - mac_count_required:
928             is_required: true
929         compute_GPB1_availability_zone:
930         - get_input: gpb_zone
931         port_GPB1_Internal2_ip_requirements:
932         - - ip_version: 4
933             ip_count_required:
934               is_required: false
935             floating_ip_count_required:
936               is_required: false
937         service_template_filter:
938           substitute_service_template: Nested_GPB1ServiceTemplate.yaml
939           count: 1
940         index_value:
941           get_property:
942           - SELF
943           - service_template_filter
944           - index_value
945       requirements:
946       - link_GPB1_GPB1_Internal1:
947           capability: tosca.capabilities.network.Linkable
948           node: Internal1-net
949           relationship: tosca.relationships.network.LinksTo
950       - link_GPB1_GPB1_Internal2:
951           capability: tosca.capabilities.network.Linkable
952           node: Internal2-net
953           relationship: tosca.relationships.network.LinksTo
954     abstract_GPB2:
955       type: org.openecomp.resource.abstract.nodes.GPB2
956       directives:
957       - substitutable
958       properties:
959         port_GPB2_Internal2_mac_address:
960         - get_input: gpb2-Internal2-mac
961         port_GPB2_Internal2_mac_requirements:
962         - mac_count_required:
963             is_required: true
964         port_GPB2_Internal1_ip_requirements:
965         - - ip_version: 4
966             ip_count_required:
967               is_required: false
968             floating_ip_count_required:
969               is_required: false
970         port_GPB2_Internal1_network:
971         - Internal1-net
972         compute_GPB2_availability_zone:
973         - get_input: gpb_zone
974         vm_flavor_name:
975           get_input: gpb-flavor
976         port_GPB2_Internal1_mac_requirements:
977         - mac_count_required:
978             is_required: true
979         port_GPB2_Internal2_ip_requirements:
980         - - ip_version: 4
981             ip_count_required:
982               is_required: false
983             floating_ip_count_required:
984               is_required: false
985         vm_image_name:
986           get_input: pxe-image
987         compute_GPB2_name:
988         - get_input: gpb2-name
989         port_GPB2_Internal1_mac_address:
990         - get_input: gpb2-Internal1-mac
991         port_GPB2_Internal2_network:
992         - Internal2-net
993         service_template_filter:
994           substitute_service_template: Nested_GPB2ServiceTemplate.yaml
995           count: 1
996         index_value:
997           get_property:
998           - SELF
999           - service_template_filter
1000           - index_value
1001       requirements:
1002       - link_GPB2_GPB2_Internal1:
1003           capability: tosca.capabilities.network.Linkable
1004           node: Internal1-net
1005           relationship: tosca.relationships.network.LinksTo
1006       - link_GPB2_GPB2_Internal2:
1007           capability: tosca.capabilities.network.Linkable
1008           node: Internal2-net
1009           relationship: tosca.relationships.network.LinksTo
1010     Internal2-net:
1011       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1012       properties:
1013         dhcp_enabled:
1014           get_input: Internal2_dhcp
1015         shared:
1016           get_input: Internal2_shared
1017         forwarding_mode:
1018           get_input: Internal2_forwarding_mode
1019         external:
1020           get_input: Internal2_external
1021         network_name:
1022           get_input: Internal2_name
1023         subnets:
1024           Internal2-subnet:
1025             enable_dhcp:
1026               get_input: Internal2_dhcp
1027             cidr:
1028               get_input: Internal2_cidr
1029             gateway_ip:
1030               get_input: Internal2_default_gateway
1031     epc-sctp-a-net:
1032       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1033       properties:
1034         route_targets:
1035         - get_input: epc-sctp-a-net-rt
1036         network_name:
1037           get_input: epc-sctp-a-net-name
1038         subnets:
1039           epc-sctp-a-subnet:
1040             cidr:
1041               get_input: epc-sctp-a-net-cidr
1042             gateway_ip:
1043               get_input: epc-sctp-a-net-gateway
1044             allocation_pools:
1045             - start:
1046                 get_input: epc-sctp-a-pool-start
1047               end:
1048                 get_input: epc-sctp-a-pool-end
1049     abstract_NCB1:
1050       type: org.openecomp.resource.abstract.nodes.NCB1
1051       directives:
1052       - substitutable
1053       properties:
1054         port_NCB1_Internal2_mac_address:
1055         - get_input: ncb1-Internal2-mac
1056         port_NCB1_Internal1_mac_address:
1057         - get_input: ncb1-Internal1-mac
1058         port_NCB1_Internal1_ip_requirements:
1059         - - ip_version: 4
1060             ip_count_required:
1061               is_required: false
1062             floating_ip_count_required:
1063               is_required: false
1064         vm_flavor_name:
1065           get_input: ncb-flavor
1066         compute_NCB1_name:
1067         - get_input: ncb1-name
1068         port_NCB1_Internal1_mac_requirements:
1069         - mac_count_required:
1070             is_required: true
1071         port_NCB1_Internal2_mac_requirements:
1072         - mac_count_required:
1073             is_required: true
1074         port_NCB1_Internal1_network:
1075         - Internal1-net
1076         compute_NCB1_availability_zone:
1077         - get_input: ncb_zone
1078         vm_image_name:
1079           get_input: pxe-image
1080         port_NCB1_Internal2_ip_requirements:
1081         - - ip_version: 4
1082             ip_count_required:
1083               is_required: false
1084             floating_ip_count_required:
1085               is_required: false
1086         port_NCB1_Internal2_network:
1087         - Internal2-net
1088         service_template_filter:
1089           substitute_service_template: Nested_NCB1ServiceTemplate.yaml
1090           count: 1
1091         index_value:
1092           get_property:
1093           - SELF
1094           - service_template_filter
1095           - index_value
1096       requirements:
1097       - link_NCB1_NCB1_Internal1:
1098           capability: tosca.capabilities.network.Linkable
1099           node: Internal1-net
1100           relationship: tosca.relationships.network.LinksTo
1101       - link_NCB1_NCB1_Internal2:
1102           capability: tosca.capabilities.network.Linkable
1103           node: Internal2-net
1104           relationship: tosca.relationships.network.LinksTo
1105     abstract_NCB2:
1106       type: org.openecomp.resource.abstract.nodes.NCB2
1107       directives:
1108       - substitutable
1109       properties:
1110         port_NCB2_Internal1_network:
1111         - Internal1-net
1112         compute_NCB2_availability_zone:
1113         - get_input: ncb_zone
1114         port_NCB2_Internal2_ip_requirements:
1115         - - ip_version: 4
1116             ip_count_required:
1117               is_required: false
1118             floating_ip_count_required:
1119               is_required: false
1120         vm_flavor_name:
1121           get_input: ncb-flavor
1122         port_NCB2_Internal2_mac_requirements:
1123         - mac_count_required:
1124             is_required: true
1125         port_NCB2_Internal2_network:
1126         - Internal2-net
1127         port_NCB2_Internal1_mac_requirements:
1128         - mac_count_required:
1129             is_required: true
1130         port_NCB2_Internal1_mac_address:
1131         - get_input: ncb2-Internal1-mac
1132         port_NCB2_Internal2_mac_address:
1133         - get_input: ncb2-Internal2-mac
1134         vm_image_name:
1135           get_input: pxe-image
1136         compute_NCB2_name:
1137         - get_input: ncb2-name
1138         port_NCB2_Internal1_ip_requirements:
1139         - - ip_version: 4
1140             ip_count_required:
1141               is_required: false
1142             floating_ip_count_required:
1143               is_required: false
1144         service_template_filter:
1145           substitute_service_template: Nested_NCB2ServiceTemplate.yaml
1146           count: 1
1147         index_value:
1148           get_property:
1149           - SELF
1150           - service_template_filter
1151           - index_value
1152       requirements:
1153       - link_NCB2_NCB2_Internal1:
1154           capability: tosca.capabilities.network.Linkable
1155           node: Internal1-net
1156           relationship: tosca.relationships.network.LinksTo
1157       - link_NCB2_NCB2_Internal2:
1158           capability: tosca.capabilities.network.Linkable
1159           node: Internal2-net
1160           relationship: tosca.relationships.network.LinksTo
1161     epc-sctp-b-net:
1162       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1163       properties:
1164         route_targets:
1165         - get_input: epc-sctp-b-net-rt
1166         network_name:
1167           get_input: epc-sctp-b-net-name
1168         subnets:
1169           epc-sctp-b-subnet:
1170             cidr:
1171               get_input: epc-sctp-b-net-cidr
1172             gateway_ip:
1173               get_input: epc-sctp-b-net-gateway
1174             allocation_pools:
1175             - start:
1176                 get_input: epc-sctp-b-pool-start
1177               end:
1178                 get_input: epc-sctp-b-pool-end
1179     abstract_FSB1:
1180       type: org.openecomp.resource.abstract.nodes.FSB1
1181       directives:
1182       - substitutable
1183       properties:
1184         port_FSB1_Internal1_mac_address:
1185         - get_input: fsb1-Internal1-mac
1186         port_FSB_OAM_network_role_tag:
1187         - oam
1188         port_FSB1_Internal2_network:
1189         - Internal2-net
1190         port_FSB_OAM_mac_requirements:
1191         - mac_count_required:
1192             is_required: false
1193         compute_FSB1_availability_zone:
1194         - get_input: fsb_zone
1195         port_FSB1_Internal1_network:
1196         - Internal1-net
1197         vm_flavor_name:
1198           get_input: fsb1-flavor
1199         port_FSB1_Internal2_mac_address:
1200         - get_input: fsb1-Internal2-mac
1201         port_FSB_OAM_ip_requirements:
1202         - - ip_version: 4
1203             ip_count_required:
1204               is_required: true
1205             floating_ip_count_required:
1206               is_required: false
1207         port_FSB1_Internal2_mac_requirements:
1208         - mac_count_required:
1209             is_required: true
1210         port_FSB1_Internal2_ip_requirements:
1211         - - ip_version: 4
1212             ip_count_required:
1213               is_required: false
1214             floating_ip_count_required:
1215               is_required: false
1216         port_FSB_OAM_fixed_ips:
1217         - - ip_address:
1218               get_input: fsb1-oam-ip
1219         compute_FSB1_name:
1220         - get_input: fsb1-name
1221         port_FSB1_Internal1_mac_requirements:
1222         - mac_count_required:
1223             is_required: true
1224         port_FSB1_Internal1_ip_requirements:
1225         - - ip_version: 4
1226             ip_count_required:
1227               is_required: false
1228             floating_ip_count_required:
1229               is_required: false
1230         port_FSB_OAM_network:
1231         - get_input: oam_net_id
1232         service_template_filter:
1233           substitute_service_template: Nested_FSB1ServiceTemplate.yaml
1234           count: 1
1235         index_value:
1236           get_property:
1237           - SELF
1238           - service_template_filter
1239           - index_value
1240       requirements:
1241       - link_FSB1_FSB1_Internal1:
1242           capability: tosca.capabilities.network.Linkable
1243           node: Internal1-net
1244           relationship: tosca.relationships.network.LinksTo
1245       - link_FSB1_FSB1_Internal2:
1246           capability: tosca.capabilities.network.Linkable
1247           node: Internal2-net
1248           relationship: tosca.relationships.network.LinksTo
1249     abstract_FSB2:
1250       type: org.openecomp.resource.abstract.nodes.FSB2
1251       directives:
1252       - substitutable
1253       properties:
1254         port_FSB_OAM_network_role_tag:
1255         - oam
1256         port_FSB2_Internal2_mac_requirements:
1257         - mac_count_required:
1258             is_required: true
1259         port_FSB_OAM_mac_requirements:
1260         - mac_count_required:
1261             is_required: false
1262         port_FSB2_Internal2_ip_requirements:
1263         - - ip_version: 4
1264             ip_count_required:
1265               is_required: false
1266             floating_ip_count_required:
1267               is_required: false
1268         port_FSB2_Internal2_network:
1269         - Internal2-net
1270         vm_flavor_name:
1271           get_input: fsb2-flavor
1272         compute_FSB2_availability_zone:
1273         - get_input: fsb_zone
1274         port_FSB_OAM_ip_requirements:
1275         - - ip_version: 4
1276             ip_count_required:
1277               is_required: true
1278             floating_ip_count_required:
1279               is_required: false
1280         port_FSB2_Internal1_ip_requirements:
1281         - - ip_version: 4
1282             ip_count_required:
1283               is_required: false
1284             floating_ip_count_required:
1285               is_required: false
1286         compute_FSB2_name:
1287         - get_input: fsb2-name
1288         port_FSB2_Internal1_mac_address:
1289         - get_input: fsb2-Internal1-mac
1290         port_FSB_OAM_fixed_ips:
1291         - - ip_address:
1292               get_input: fsb2-oam-ip
1293         port_FSB2_Internal1_mac_requirements:
1294         - mac_count_required:
1295             is_required: true
1296         port_FSB_OAM_network:
1297         - get_input: oam_net_id
1298         port_FSB2_Internal1_network:
1299         - Internal1-net
1300         port_FSB2_Internal2_mac_address:
1301         - get_input: fsb2-Internal2-mac
1302         service_template_filter:
1303           substitute_service_template: Nested_FSB2ServiceTemplate.yaml
1304           count: 1
1305         index_value:
1306           get_property:
1307           - SELF
1308           - service_template_filter
1309           - index_value
1310       requirements:
1311       - link_FSB2_FSB2_Internal1:
1312           capability: tosca.capabilities.network.Linkable
1313           node: Internal1-net
1314           relationship: tosca.relationships.network.LinksTo
1315       - link_FSB2_FSB2_Internal2:
1316           capability: tosca.capabilities.network.Linkable
1317           node: Internal2-net
1318           relationship: tosca.relationships.network.LinksTo
1319   groups:
1320     vmme_small_group:
1321       type: org.openecomp.groups.heat.HeatStack
1322       properties:
1323         heat_file: ../Artifacts/vmme_small.yml
1324         description: HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc
1325       members:
1326       - epc-gtp-net
1327       - Internal1-net
1328       - Internal2-net
1329       - epc-sctp-a-net
1330       - epc-sctp-b-net
1331       - abstract_NCB1
1332       - abstract_GPB2
1333       - abstract_NCB2
1334       - abstract_GPB1
1335       - abstract_FSB2
1336       - abstract_VLC1
1337       - abstract_FSB1
1338       - abstract_VLC2
1339     vmme_small_create_fsb_group:
1340       type: org.openecomp.groups.heat.HeatStack
1341       properties:
1342         heat_file: ../Artifacts/vmme_small_create_fsb.yml
1343         description: server template for vMME
1344       members:
1345       - FSB1_volume
1346       - FSB2_volume