[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / backend / openecomp-sdc-vendor-software-product-manager / src / test / resources / extractServiceComposition / networks / 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 topology_template:
8   inputs:
9     Internal2_name:
10       hidden: false
11       immutable: false
12       type: string
13       default: Internal2-subnet
14     vlc2-Internal2-mac:
15       hidden: false
16       immutable: false
17       type: string
18       description: static mac address assigned to vlc2-Internal2
19       default: 00:81:37:0E:02:12
20     epc-sctp-a-net-rt:
21       hidden: false
22       immutable: false
23       type: string
24       description: epc-sctp-a route target
25       default: 13979:105717
26     epc-sctp-b-net-rt:
27       hidden: false
28       immutable: false
29       type: string
30       description: epc-sctp-b route target
31       default: 13979:105719
32     gpb-flavor:
33       hidden: false
34       immutable: false
35       type: string
36       description: Flavor to use for servers gpb
37       default: m4.xlarge4
38     Internal1_cidr:
39       hidden: false
40       immutable: false
41       type: string
42       default: 169.253.0.0/17
43     epc-sctp-a-pool-start:
44       hidden: false
45       immutable: false
46       type: string
47       description: epc-sctp-a-net network ip pool start IP address
48       default: 107.243.37.3
49     Internal2_subnet_name:
50       hidden: false
51       immutable: false
52       type: string
53       default: vmme_int_int_sub_2
54     Internal1_subnet_name:
55       hidden: false
56       immutable: false
57       type: string
58       default: vmme_int_int_sub_1
59     gpb1-Internal1-mac:
60       hidden: false
61       immutable: false
62       type: string
63       description: static mac address assigned to gpb1-Internal1
64       default: 00:80:37:0E:01:22
65     gpb1-Internal1-ip:
66       hidden: false
67       immutable: false
68       type: string
69       default: 169.254.0.101
70     FSB_1_image:
71       hidden: false
72       immutable: false
73       type: string
74       description: image name
75     fsb1-Internal2-mac:
76       hidden: false
77       immutable: false
78       type: string
79       description: static mac address assigned to fsb1-Internal2
80       default: 00:81:37:0E:0B:12
81     ncb_zone:
82       hidden: false
83       immutable: false
84       type: string
85       description: cluster for spawnning ncb instances
86       default: nova
87     Internal2_net_name:
88       hidden: false
89       immutable: false
90       type: string
91       default: vmme_int_int_2
92     epc-sctp-a-pool-end:
93       hidden: false
94       immutable: false
95       type: string
96       description: epc-sctp-a-net network ip pool end IP address
97       default: 107.243.37.30
98     Internal1_name:
99       hidden: false
100       immutable: false
101       type: string
102       default: Internal1-subnet
103     gpb2-name:
104       hidden: false
105       immutable: false
106       type: string
107       description: Name of gpb2
108       default: ZRDM1MMEX33GPB002
109     fsb2-Internal1-mac:
110       hidden: false
111       immutable: false
112       type: string
113       description: static mac address assigned to fsb2-Internal1
114       default: 00:80:37:0E:0D:12
115     fsb2-name:
116       hidden: false
117       immutable: false
118       type: string
119       description: Name of fsb1
120       default: ZRDM1MMEX33FSB002
121     static_prefix_sctp_b_1:
122       hidden: false
123       immutable: false
124       type: string
125       description: Static Prefix
126       default: 107.239.40.64/30
127     fsb2-oam-ip:
128       hidden: false
129       immutable: false
130       type: string
131       default: 107.250.172.222
132     fsb2-flavor:
133       hidden: false
134       immutable: false
135       type: string
136       description: Flavor to use for servers  fsb2
137       default: m4.xlarge4
138     fsb2-Internal2-mac:
139       hidden: false
140       immutable: false
141       type: string
142       description: static mac address assigned to fsb2-Internal2
143       default: 00:81:37:0E:0D:12
144     ncb2-Internal1-mac:
145       hidden: false
146       immutable: false
147       type: string
148       description: static mac address assigned to ncb2-Internal1
149       default: 00:80:37:0E:0F:12
150     ncb2-name:
151       hidden: false
152       immutable: false
153       type: string
154       description: Name of ncb2
155       default: ZRDM1MMEX33NCB002
156     epc-sctp-b-pool-end:
157       hidden: false
158       immutable: false
159       type: string
160       description: epc-sctp-b-net network ip pool end IP address
161       default: 107.243.37.62
162     vlc1-gtp-ip:
163       hidden: false
164       immutable: false
165       type: string
166       default: 107.243.37.67
167     epc-sctp-b-pool-start:
168       hidden: false
169       immutable: false
170       type: string
171       description: epc-sctp-b-net network ip pool start IP address
172       default: 107.243.37.35
173     my_instance:
174       hidden: false
175       immutable: false
176       type: string
177       description: instance
178     Internal2_shared:
179       hidden: false
180       immutable: false
181       type: string
182       default: 'False'
183     Internal1_net_name:
184       hidden: false
185       immutable: false
186       type: string
187       default: vmme_int_int_1
188     vlc2-name:
189       hidden: false
190       immutable: false
191       type: string
192       description: Name of vlc2
193       default: ZRDM1MMEX33VLC002
194     Internal2_ipam_name:
195       hidden: false
196       immutable: false
197       type: string
198       default: vmme_ipam_int2
199     vlc1-sctp-b-ip:
200       hidden: false
201       immutable: false
202       type: string
203       default: 107.243.37.35
204     Internal1_net_pool_end:
205       hidden: false
206       immutable: false
207       type: string
208       default: 169.253.0.254
209     Internal1_default_gateway:
210       hidden: false
211       immutable: false
212       type: string
213       default: 169.253.0.3
214     ncb1-Internal1-mac:
215       hidden: false
216       immutable: false
217       type: string
218       description: static mac address assigned to ncb1-Internal1
219       default: 00:80:37:0E:09:12
220     epc-gtp-net-name:
221       hidden: false
222       immutable: false
223       type: string
224       description: gtp net name
225       default: EPC-GTP
226     vlc1-Internal1-mac:
227       hidden: false
228       immutable: false
229       type: string
230       description: static mac address assigned to vlc1-Internal1
231       default: 00:80:37:0E:01:12
232     gpb2-Internal1-mac:
233       hidden: false
234       immutable: false
235       type: string
236       description: static mac address assigned to gpb2-Internal1
237       default: 00:80:37:0E:02:22
238     epc-gtp-net-cidr:
239       hidden: false
240       immutable: false
241       type: string
242       description: gtp stubnet
243       default: 107.243.37.64/27
244     oam_net_id:
245       hidden: false
246       immutable: false
247       type: string
248       description: uuid of oam network
249       default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351
250     vlc_zone:
251       hidden: false
252       immutable: false
253       type: string
254       description: cluster for spawnning vlc instances
255       default: nova
256     vlc2-Internal1-mac:
257       hidden: false
258       immutable: false
259       type: string
260       description: static mac address assigned to vlc2-Internal1
261       default: 00:80:37:0E:02:12
262     epc-sctp-a-net-cidr:
263       hidden: false
264       immutable: false
265       type: string
266       description: epc-sctp-a subnet
267       default: 107.243.37.0/27
268     Internal1_forwarding_mode:
269       hidden: false
270       immutable: false
271       type: string
272       default: l2
273     Internal2_dhcp:
274       hidden: false
275       immutable: false
276       type: string
277       default: 'False'
278     Internal4_dhcp:
279       hidden: false
280       immutable: false
281       type: string
282     fsb1-oam-ip:
283       hidden: false
284       immutable: false
285       type: string
286       default: 107.250.172.221
287     FSB_2_image:
288       hidden: false
289       immutable: false
290       type: string
291       description: image name
292     vlc1-oam-ip:
293       hidden: false
294       immutable: false
295       type: string
296       default: 107.250.172.227
297     epc-sctp-a-net-name:
298       hidden: false
299       immutable: false
300       type: string
301       description: epc-sctp-a net name
302       default: EPC-SCTP-A
303     vlc2-oam-ip:
304       hidden: false
305       immutable: false
306       type: string
307       default: 107.250.172.228
308     Internal2_net_pool_start:
309       hidden: false
310       immutable: false
311       type: string
312       default: 169.255.0.100
313     FSB1_volume_name:
314       hidden: false
315       immutable: false
316       type: string
317       description: volume name
318     vlc1-sctp-a-ip:
319       hidden: false
320       immutable: false
321       type: string
322       default: 107.243.37.3
323     Internal1_ipam_name:
324       hidden: false
325       immutable: false
326       type: string
327       default: vmme_ipam_int1
328     Internal1_dhcp:
329       hidden: false
330       immutable: false
331       type: string
332       default: 'False'
333     Internal3_dhcp:
334       hidden: false
335       immutable: false
336       type: string
337       default: 'True'
338     Internal2_external:
339       hidden: false
340       immutable: false
341       type: string
342       default: 'False'
343     Internal2_forwarding_mode:
344       hidden: false
345       immutable: false
346       type: string
347       default: l2
348     vlc1-name:
349       hidden: false
350       immutable: false
351       type: string
352       description: Name of vlc1
353       default: ZRDM1MMEX33VLC002
354     vlc-flavor:
355       hidden: false
356       immutable: false
357       type: string
358       description: Flavor to use for servers vlc
359       default: m4.xlarge4
360     epc-gtp-net-rt:
361       hidden: false
362       immutable: false
363       type: string
364       description: gtp route target
365       default: 13979:105715
366     gpb_zone:
367       hidden: false
368       immutable: false
369       type: string
370       description: cluster for spawnning gpb instances
371       default: nova
372     Internal1-net:
373       hidden: false
374       immutable: false
375       type: string
376       description: net
377     gpb1-Internal2-mac:
378       hidden: false
379       immutable: false
380       type: string
381       description: static mac address assigned to gpb1-Internal2
382       default: 00:81:37:0E:01:22
383     fsb1-Internal1-mac:
384       hidden: false
385       immutable: false
386       type: string
387       description: static mac address assigned to fsb1-Internal1
388       default: 00:80:37:0E:0B:12
389     FSB2_volume_name:
390       hidden: false
391       immutable: false
392       type: string
393       description: volume name
394     VMME_FSB2_boot_volume:
395       hidden: false
396       immutable: false
397       type: string
398       default: 089a0d11-4b15-4370-8343-3f90907b1221
399     fsb_zone:
400       hidden: false
401       immutable: false
402       type: string
403       description: cluster for spawnning fsb instances
404       default: nova
405     VMME_FSB1_boot_volume:
406       hidden: false
407       immutable: false
408       type: string
409       default: 8248e794-6173-4b49-b9c3-8219b0b56f4e
410     Internal2_default_gateway:
411       hidden: false
412       immutable: false
413       type: string
414       default: 169.255.0.3
415     Internal1_external:
416       hidden: false
417       immutable: false
418       type: string
419       default: 'False'
420     vlc2-sctp-a-ip:
421       hidden: false
422       immutable: false
423       type: string
424       default: 107.243.37.4
425     ncb-flavor:
426       hidden: false
427       immutable: false
428       type: string
429       description: Flavor to use for servers ncb
430       default: m4.xlarge4
431     Internal1_shared:
432       hidden: false
433       immutable: false
434       type: string
435       default: 'False'
436     fsb1-name:
437       hidden: false
438       immutable: false
439       type: string
440       description: Name of fsb1
441       default: ZRDM1MMEX33FSB001
442     static_prefix_gtp_1:
443       hidden: false
444       immutable: false
445       type: string
446       description: Static Prefix
447       default: 107.239.40.96/30
448     epc-sctp-b-net-gateway:
449       hidden: false
450       immutable: false
451       type: string
452       description: epc-sctp-b-net network gateway
453       default: 107.243.37.33
454     epc-sctp-b-net-cidr:
455       hidden: false
456       immutable: false
457       type: string
458       description: epc-sctp-b subnet
459       default: 107.243.37.32/24
460     epc-gtp-pool-end:
461       hidden: false
462       immutable: false
463       type: string
464       description: gtp network ip pool end IP address
465       default: 107.243.37.94
466     epc-sctp-a-net-gateway:
467       hidden: false
468       immutable: false
469       type: string
470       description: epc-sctp-a-net network gateway
471       default: 107.243.37.1
472     vlc2-gtp-ip:
473       hidden: false
474       immutable: false
475       type: string
476       default: 107.243.37.68
477     vlc2-sctp-b-ip:
478       hidden: false
479       immutable: false
480       type: string
481       default: 107.243.37.36
482     Internal1_net_pool_start:
483       hidden: false
484       immutable: false
485       type: string
486       default: 169.253.0.100
487     volume_size:
488       hidden: false
489       immutable: false
490       type: string
491       description: volume
492     fsb2-image:
493       hidden: false
494       immutable: false
495       type: string
496       description: Name of image to use for server fsb2
497       default: MME_FSB2_15B-CP04-r5a01
498     ncb2-Internal2-mac:
499       hidden: false
500       immutable: false
501       type: string
502       description: static mac address assigned to ncb2-Internal2
503       default: 00:81:37:0E:0F:12
504     ncb1-name:
505       hidden: false
506       immutable: false
507       type: string
508       description: Name of ncb1
509       default: ZRDM1MMEX33NCB001
510     fsb1-image:
511       hidden: false
512       immutable: false
513       type: string
514       description: Name of image to use for server fsb1
515       default: MME_FSB1_15B-CP04-r5a01
516     fsb1-flavor:
517       hidden: false
518       immutable: false
519       type: string
520       description: Flavor to use for servers  fsb1
521       default: m4.xlarge4
522     volume_type:
523       hidden: false
524       immutable: false
525       type: string
526       description: volume
527     Internal2_net_pool_end:
528       hidden: false
529       immutable: false
530       type: string
531       default: 169.255.0.254
532     epc-sctp-b-net-name:
533       hidden: false
534       immutable: false
535       type: string
536       description: epc-sctp-b net name
537       default: EPC-SCTP-B
538     Internal2_cidr:
539       hidden: false
540       immutable: false
541       type: string
542       default: 169.255.0.0/17
543     epc-gtp-net-gateway:
544       hidden: false
545       immutable: false
546       type: string
547       description: gtp network gateway
548       default: 107.243.37.65
549     gpb2-Internal2-mac:
550       hidden: false
551       immutable: false
552       type: string
553       description: static mac address assigned to gpb2-Internal2
554       default: 00:81:37:0E:02:22
555     ncb1-Internal2-mac:
556       hidden: false
557       immutable: false
558       type: string
559       description: static mac address assigned to ncb1-Internal2
560       default: 00:81:37:0E:09:12
561     epc-gtp-pool-start:
562       hidden: false
563       immutable: false
564       type: string
565       description: gtp network ip pool start IP address
566       default: 107.243.37.67
567     static_prefix_sctp_a_1:
568       hidden: false
569       immutable: false
570       type: string
571       description: Static Prefix
572       default: 107.239.40.32/30
573     gpb1-name:
574       hidden: false
575       immutable: false
576       type: string
577       description: Name of gpb1
578       default: ZRDM1MMEX33GPB001
579     pxe-image:
580       hidden: false
581       immutable: false
582       type: string
583       description: Name of image to use for server ncb
584       default: MME_PXE-BOOT_cxp9025898_2r5a01.qcow2
585     vlc1-Internal2-mac:
586       hidden: false
587       immutable: false
588       type: string
589       description: static mac address assigned to vlc1-Internal2
590       default: 00:81:37:0E:01:12
591   node_templates:
592     contail-net-default-true-dhcp:
593       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
594       properties:
595         route_targets:
596         - get_input: epc-gtp-net-rt
597         network_name:
598           get_input: epc-gtp-net-name
599         subnets:
600           epc-gtp-subnet:
601             cidr:
602               get_input: epc-gtp-net-cidr
603             gateway_ip:
604               get_input: epc-gtp-net-gateway
605             allocation_pools:
606             - start:
607                 get_input: epc-gtp-pool-start
608               end:
609                 get_input: epc-gtp-pool-end
610     contail-net-dhcp-false-param:
611       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
612       properties:
613         shared:
614           get_input: Internal1_shared
615         forwarding_mode:
616           get_input: Internal1_forwarding_mode
617         external: true
618         route_targets:
619           get_artifact:
620           - SELF
621           - nimbus-ethernet
622         network_name:
623           get_input: Internal1_net_name
624         subnets:
625           Internal3-subnet:
626             enable_dhcp:
627               get_input: Internal2_dhcp
628             cidr:
629               get_input: Internal2_cidr
630             gateway_ip:
631               get_input: Internal2_default_gateway
632           Internal1-subnet:
633             enable_dhcp:
634               get_input: Internal1_dhcp
635             cidr:
636               get_input: Internal1_cidr
637             gateway_ip:
638               get_input: Internal1_default_gateway
639         dhcp_enabled:
640           get_input: Internal1_dhcp
641       artifacts:
642         nimbus-ethernet:
643           type: tosca.artifacts.Deployment
644           file: ../Artifacts/nimbus-ethernet.sh
645     contail-net-dhcp-false:
646       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
647       properties:
648         shared:
649           get_input: Internal1_shared
650         forwarding_mode:
651           get_input: Internal1_forwarding_mode
652         external: true
653         route_targets:
654           get_artifact:
655           - SELF
656           - nimbus-ethernet
657         network_name:
658           get_input: Internal1_net_name
659         subnets:
660           Internal3-subnet:
661             enable_dhcp:
662               get_input: Internal2_dhcp
663             cidr:
664               get_input: Internal2_cidr
665             gateway_ip:
666               get_input: Internal2_default_gateway
667           Internal1-subnet:
668             enable_dhcp:
669               get_input: Internal1_dhcp
670             cidr:
671               get_input: Internal1_cidr
672             gateway_ip:
673               get_input: Internal1_default_gateway
674         dhcp_enabled: false
675       artifacts:
676         nimbus-ethernet:
677           type: tosca.artifacts.Deployment
678           file: ../Artifacts/nimbus-ethernet.sh
679     contail-net-dhcp-true-param:
680       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
681       properties:
682         shared:
683           get_input: Internal1_shared
684         forwarding_mode:
685           get_input: Internal1_forwarding_mode
686         external: true
687         route_targets:
688           get_artifact:
689           - SELF
690           - nimbus-ethernet
691         network_name:
692           get_input: Internal1_net_name
693         subnets:
694           Internal3-subnet:
695             enable_dhcp:
696               get_input: Internal2_dhcp
697             cidr:
698               get_input: Internal2_cidr
699             gateway_ip:
700               get_input: Internal2_default_gateway
701           Internal1-subnet:
702             enable_dhcp:
703               get_input: Internal1_dhcp
704             cidr:
705               get_input: Internal1_cidr
706             gateway_ip:
707               get_input: Internal1_default_gateway
708         dhcp_enabled:
709           get_input: Internal3_dhcp
710       artifacts:
711         nimbus-ethernet:
712           type: tosca.artifacts.Deployment
713           file: ../Artifacts/nimbus-ethernet.sh
714     contail-net-dhcp-true:
715       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
716       properties:
717         shared:
718           get_input: Internal1_shared
719         forwarding_mode:
720           get_input: Internal1_forwarding_mode
721         external: true
722         route_targets:
723           get_artifact:
724           - SELF
725           - nimbus-ethernet
726         network_name:
727           get_input: Internal1_net_name
728         subnets:
729           Internal3-subnet:
730             enable_dhcp:
731               get_input: Internal2_dhcp
732             cidr:
733               get_input: Internal2_cidr
734             gateway_ip:
735               get_input: Internal2_default_gateway
736           Internal1-subnet:
737             enable_dhcp:
738               get_input: Internal1_dhcp
739             cidr:
740               get_input: Internal1_cidr
741             gateway_ip:
742               get_input: Internal1_default_gateway
743         dhcp_enabled: true
744       artifacts:
745         nimbus-ethernet:
746           type: tosca.artifacts.Deployment
747           file: ../Artifacts/nimbus-ethernet.sh
748     contail-net-dhcp-default-true-param:
749       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
750       properties:
751         shared:
752           get_input: Internal1_shared
753         forwarding_mode:
754           get_input: Internal1_forwarding_mode
755         external: true
756         route_targets:
757           get_artifact:
758           - SELF
759           - nimbus-ethernet
760         network_name:
761           get_input: Internal1_net_name
762         subnets:
763           Internal3-subnet:
764             enable_dhcp:
765               get_input: Internal2_dhcp
766             cidr:
767               get_input: Internal2_cidr
768             gateway_ip:
769               get_input: Internal2_default_gateway
770           Internal1-subnet:
771             enable_dhcp:
772               get_input: Internal1_dhcp
773             cidr:
774               get_input: Internal1_cidr
775             gateway_ip:
776               get_input: Internal1_default_gateway
777         dhcp_enabled:
778           get_input: Internal4_dhcp
779       artifacts:
780         nimbus-ethernet:
781           type: tosca.artifacts.Deployment
782           file: ../Artifacts/nimbus-ethernet.sh
783     neutron-net-default-dhcp:
784       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
785       properties:
786         network_name:
787           get_input: private_net_2_name
788         subnets:
789           private_subnet_2:
790             cidr:
791               get_input: private_net_2_cidr
792             gateway_ip:
793               get_input: private_net_2_gateway
794             allocation_pools:
795             - start:
796                 get_input: private_net_2_pool_start
797               end:
798                 get_input: private_net_2_pool_end
799   groups:
800     vmme_small:
801       type: org.openecomp.groups.heat.HeatStack
802       properties:
803         heat_file: ../Artifacts/vmme_small.yml
804         description: |
805           HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc
806       members:
807       - contail-net-default-true-dhcp
808       - contail-net-dhcp-false-param
809       - contail-net-dhcp-false
810       - contail-net-dhcp-true-param
811       - contail-net-dhcp-true
812       - contail-net-dhcp-default-true-param
813       - neutron-net-default-dhcp