[SDC-29] rebase continue work to align source
[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:
631         - oam
632         port_VLC_GTP_ip_requirements:
633         - - ip_version: 4
634             ip_count_required:
635               is_required: true
636             floating_ip_count_required:
637               is_required: false
638         port_VLC2_Internal2_ip_requirements:
639         - - ip_version: 4
640             ip_count_required:
641               is_required: false
642             floating_ip_count_required:
643               is_required: false
644         port_VLC_SCTP_A_mac_requirements:
645         - mac_count_required:
646             is_required: false
647         vm_flavor_name:
648           get_input: vlc-flavor
649         port_VLC_SCTP_B_ip_requirements:
650         - - ip_version: 4
651             ip_count_required:
652               is_required: true
653             floating_ip_count_required:
654               is_required: false
655         port_VLC_SCTP_A_fixed_ips:
656         - - ip_address:
657               get_input: vlc2-sctp-a-ip
658         port_VLC2_Internal2_mac_address:
659         - get_input: vlc2-Internal2-mac
660         vm_image_name:
661           get_input: pxe-image
662         port_VLC2_Internal1_mac_address:
663         - get_input: vlc2-Internal1-mac
664         port_VLC2_Internal2_mac_requirements:
665         - mac_count_required:
666             is_required: true
667         port_VLC2_Internal1_mac_requirements:
668         - mac_count_required:
669             is_required: true
670         port_VLC_SCTP_B_network:
671         - epc-sctp-b-net
672         port_VLC_GTP_network:
673         - epc-gtp-net
674         port_VLC2_Internal1_ip_requirements:
675         - - ip_version: 4
676             ip_count_required:
677               is_required: false
678             floating_ip_count_required:
679               is_required: false
680         port_VLC_GTP_fixed_ips:
681         - - ip_address:
682               get_input: vlc2-gtp-ip
683         port_VLC_OAM_network:
684         - get_input: oam_net_id
685         port_VLC2_Internal2_network:
686         - Internal2-net
687         port_VLC_SCTP_A_network:
688         - epc-sctp-a-net
689         port_VLC_OAM_ip_requirements:
690         - - ip_version: 4
691             ip_count_required:
692               is_required: true
693             floating_ip_count_required:
694               is_required: false
695         port_VLC_OAM_fixed_ips:
696         - - ip_address:
697               get_input: vlc2-oam-ip
698         port_VLC_SCTP_A_ip_requirements:
699         - - ip_version: 4
700             ip_count_required:
701               is_required: true
702             floating_ip_count_required:
703               is_required: false
704         compute_VLC2_name:
705         - get_input: vlc2-name
706         port_VLC_SCTP_B_fixed_ips:
707         - - ip_address:
708               get_input: vlc2-sctp-b-ip
709         port_VLC_GTP_mac_requirements:
710         - mac_count_required:
711             is_required: false
712         port_VLC2_Internal1_network:
713         - Internal1-net
714         compute_VLC2_availability_zone:
715         - get_input: vlc_zone
716         port_VLC_OAM_mac_requirements:
717         - mac_count_required:
718             is_required: false
719         port_VLC_SCTP_B_mac_requirements:
720         - mac_count_required:
721             is_required: false
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_VLC_OAM_network_role_tag:
759         - oam
760         port_VLC1_Internal1_mac_address:
761         - get_input: vlc1-Internal1-mac
762         port_VLC_GTP_ip_requirements:
763         - - ip_version: 4
764             ip_count_required:
765               is_required: true
766             floating_ip_count_required:
767               is_required: false
768         port_VLC_SCTP_A_mac_requirements:
769         - mac_count_required:
770             is_required: false
771         vm_flavor_name:
772           get_input: vlc-flavor
773         port_VLC1_Internal2_network:
774         - Internal2-net
775         port_VLC_SCTP_B_ip_requirements:
776         - - ip_version: 4
777             ip_count_required:
778               is_required: true
779             floating_ip_count_required:
780               is_required: false
781         port_VLC_SCTP_A_fixed_ips:
782         - - ip_address:
783               get_input: vlc1-sctp-a-ip
784         vm_image_name:
785           get_input: pxe-image
786         port_VLC_SCTP_B_network:
787         - epc-sctp-b-net
788         port_VLC_GTP_network:
789         - epc-gtp-net
790         port_VLC1_Internal1_mac_requirements:
791         - mac_count_required:
792             is_required: true
793         port_VLC_GTP_fixed_ips:
794         - - ip_address:
795               get_input: vlc1-gtp-ip
796         port_VLC_OAM_network:
797         - get_input: oam_net_id
798         compute_VLC1_name:
799         - get_input: vlc1-name
800         port_VLC1_Internal2_ip_requirements:
801         - - ip_version: 4
802             ip_count_required:
803               is_required: false
804             floating_ip_count_required:
805               is_required: false
806         port_VLC1_Internal1_network:
807         - Internal1-net
808         port_VLC_SCTP_A_network:
809         - epc-sctp-a-net
810         port_VLC_OAM_ip_requirements:
811         - - ip_version: 4
812             ip_count_required:
813               is_required: true
814             floating_ip_count_required:
815               is_required: false
816         port_VLC1_Internal1_ip_requirements:
817         - - ip_version: 4
818             ip_count_required:
819               is_required: false
820             floating_ip_count_required:
821               is_required: false
822         port_VLC_OAM_fixed_ips:
823         - - ip_address:
824               get_input: vlc1-oam-ip
825         port_VLC_SCTP_A_ip_requirements:
826         - - ip_version: 4
827             ip_count_required:
828               is_required: true
829             floating_ip_count_required:
830               is_required: false
831         compute_VLC1_availability_zone:
832         - get_input: vlc_zone
833         port_VLC1_Internal2_mac_requirements:
834         - mac_count_required:
835             is_required: true
836         port_VLC_SCTP_B_fixed_ips:
837         - - ip_address:
838               get_input: vlc1-sctp-b-ip
839         port_VLC_GTP_mac_requirements:
840         - mac_count_required:
841             is_required: false
842         port_VLC_OAM_mac_requirements:
843         - mac_count_required:
844             is_required: false
845         port_VLC_SCTP_B_mac_requirements:
846         - mac_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         compute_GPB1_name:
904         - get_input: gpb1-name
905         vm_flavor_name:
906           get_input: gpb-flavor
907         port_GPB1_Internal2_mac_address:
908         - get_input: gpb1-Internal2-mac
909         vm_image_name:
910           get_input: pxe-image
911         port_GPB1_Internal1_mac_requirements:
912         - mac_count_required:
913             is_required: true
914         compute_GPB1_availability_zone:
915         - get_input: gpb_zone
916         port_GPB1_Internal2_ip_requirements:
917         - - ip_version: 4
918             ip_count_required:
919               is_required: false
920             floating_ip_count_required:
921               is_required: false
922         port_GPB1_Internal2_network:
923         - Internal2-net
924         port_GPB1_Internal1_network:
925         - Internal1-net
926         port_GPB1_Internal2_mac_requirements:
927         - mac_count_required:
928             is_required: true
929         port_GPB1_Internal1_mac_address:
930         - get_input: gpb1-Internal1-mac
931         port_GPB1_Internal1_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_Internal1_network:
960         - Internal1-net
961         vm_flavor_name:
962           get_input: gpb-flavor
963         port_GPB2_Internal2_ip_requirements:
964         - - ip_version: 4
965             ip_count_required:
966               is_required: false
967             floating_ip_count_required:
968               is_required: false
969         vm_image_name:
970           get_input: pxe-image
971         compute_GPB2_name:
972         - get_input: gpb2-name
973         port_GPB2_Internal2_mac_address:
974         - get_input: gpb2-Internal2-mac
975         port_GPB2_Internal2_mac_requirements:
976         - mac_count_required:
977             is_required: true
978         port_GPB2_Internal1_ip_requirements:
979         - - ip_version: 4
980             ip_count_required:
981               is_required: false
982             floating_ip_count_required:
983               is_required: false
984         compute_GPB2_availability_zone:
985         - get_input: gpb_zone
986         port_GPB2_Internal1_mac_requirements:
987         - mac_count_required:
988             is_required: true
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         vm_flavor_name:
1055           get_input: ncb-flavor
1056         compute_NCB1_name:
1057         - get_input: ncb1-name
1058         port_NCB1_Internal2_mac_requirements:
1059         - mac_count_required:
1060             is_required: true
1061         vm_image_name:
1062           get_input: pxe-image
1063         port_NCB1_Internal2_ip_requirements:
1064         - - ip_version: 4
1065             ip_count_required:
1066               is_required: false
1067             floating_ip_count_required:
1068               is_required: false
1069         port_NCB1_Internal2_mac_address:
1070         - get_input: ncb1-Internal2-mac
1071         port_NCB1_Internal1_mac_address:
1072         - get_input: ncb1-Internal1-mac
1073         port_NCB1_Internal1_ip_requirements:
1074         - - ip_version: 4
1075             ip_count_required:
1076               is_required: false
1077             floating_ip_count_required:
1078               is_required: false
1079         port_NCB1_Internal1_mac_requirements:
1080         - mac_count_required:
1081             is_required: true
1082         port_NCB1_Internal1_network:
1083         - Internal1-net
1084         compute_NCB1_availability_zone:
1085         - get_input: ncb_zone
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         compute_NCB2_availability_zone:
1111         - get_input: ncb_zone
1112         vm_flavor_name:
1113           get_input: ncb-flavor
1114         port_NCB2_Internal2_mac_requirements:
1115         - mac_count_required:
1116             is_required: true
1117         port_NCB2_Internal1_mac_requirements:
1118         - mac_count_required:
1119             is_required: true
1120         vm_image_name:
1121           get_input: pxe-image
1122         port_NCB2_Internal1_network:
1123         - Internal1-net
1124         port_NCB2_Internal2_ip_requirements:
1125         - - ip_version: 4
1126             ip_count_required:
1127               is_required: false
1128             floating_ip_count_required:
1129               is_required: false
1130         port_NCB2_Internal2_network:
1131         - Internal2-net
1132         port_NCB2_Internal1_mac_address:
1133         - get_input: ncb2-Internal1-mac
1134         port_NCB2_Internal2_mac_address:
1135         - get_input: ncb2-Internal2-mac
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_FSB1_Internal1_network:
1191         - Internal1-net
1192         vm_flavor_name:
1193           get_input: fsb1-flavor
1194         port_FSB1_Internal2_mac_address:
1195         - get_input: fsb1-Internal2-mac
1196         port_FSB_OAM_ip_requirements:
1197         - - ip_version: 4
1198             ip_count_required:
1199               is_required: true
1200             floating_ip_count_required:
1201               is_required: false
1202         port_FSB1_Internal1_mac_requirements:
1203         - mac_count_required:
1204             is_required: true
1205         port_FSB1_Internal1_ip_requirements:
1206         - - ip_version: 4
1207             ip_count_required:
1208               is_required: false
1209             floating_ip_count_required:
1210               is_required: false
1211         port_FSB_OAM_network:
1212         - get_input: oam_net_id
1213         port_FSB_OAM_mac_requirements:
1214         - mac_count_required:
1215             is_required: false
1216         compute_FSB1_availability_zone:
1217         - get_input: fsb_zone
1218         port_FSB1_Internal2_mac_requirements:
1219         - mac_count_required:
1220             is_required: true
1221         port_FSB1_Internal2_ip_requirements:
1222         - - ip_version: 4
1223             ip_count_required:
1224               is_required: false
1225             floating_ip_count_required:
1226               is_required: false
1227         port_FSB_OAM_fixed_ips:
1228         - - ip_address:
1229               get_input: fsb1-oam-ip
1230         compute_FSB1_name:
1231         - get_input: fsb1-name
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         vm_flavor_name:
1257           get_input: fsb2-flavor
1258         compute_FSB2_availability_zone:
1259         - get_input: fsb_zone
1260         port_FSB_OAM_ip_requirements:
1261         - - ip_version: 4
1262             ip_count_required:
1263               is_required: true
1264             floating_ip_count_required:
1265               is_required: false
1266         port_FSB2_Internal1_ip_requirements:
1267         - - ip_version: 4
1268             ip_count_required:
1269               is_required: false
1270             floating_ip_count_required:
1271               is_required: false
1272         compute_FSB2_name:
1273         - get_input: fsb2-name
1274         port_FSB2_Internal1_mac_address:
1275         - get_input: fsb2-Internal1-mac
1276         port_FSB_OAM_network:
1277         - get_input: oam_net_id
1278         port_FSB2_Internal1_network:
1279         - Internal1-net
1280         port_FSB2_Internal2_mac_address:
1281         - get_input: fsb2-Internal2-mac
1282         port_FSB2_Internal2_mac_requirements:
1283         - mac_count_required:
1284             is_required: true
1285         port_FSB_OAM_mac_requirements:
1286         - mac_count_required:
1287             is_required: false
1288         port_FSB2_Internal2_ip_requirements:
1289         - - ip_version: 4
1290             ip_count_required:
1291               is_required: false
1292             floating_ip_count_required:
1293               is_required: false
1294         port_FSB2_Internal2_network:
1295         - Internal2-net
1296         port_FSB_OAM_fixed_ips:
1297         - - ip_address:
1298               get_input: fsb2-oam-ip
1299         port_FSB2_Internal1_mac_requirements:
1300         - mac_count_required:
1301             is_required: true
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