[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / resources / OS_Contrail_VirtualNetwork / expectedoutputfiles / 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 node_types:
8   org.openecomp.resource.vfc.nodes.heat.NCB1:
9     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
10   org.openecomp.resource.vfc.nodes.heat.GPB2:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12   org.openecomp.resource.vfc.nodes.heat.NCB2:
13     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
14   org.openecomp.resource.vfc.nodes.heat.GPB1:
15     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
16   org.openecomp.resource.vfc.nodes.heat.FSB2:
17     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
18   org.openecomp.resource.vfc.nodes.heat.VLC1:
19     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
20   org.openecomp.resource.vfc.nodes.heat.FSB1:
21     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
22   org.openecomp.resource.vfc.nodes.heat.VLC2:
23     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
24 topology_template:
25   inputs:
26     Internal2_name:
27       hidden: false
28       immutable: false
29       type: string
30       default: Internal2-subnet
31     vlc2-Internal2-mac:
32       hidden: false
33       immutable: false
34       type: string
35       description: static mac address assigned to vlc2-Internal2
36       default: 00:81:37:0E:02:12
37     epc-sctp-a-net-rt:
38       hidden: false
39       immutable: false
40       type: string
41       description: epc-sctp-a route target
42       default: 13979:105717
43     epc-sctp-b-net-rt:
44       hidden: false
45       immutable: false
46       type: string
47       description: epc-sctp-b route target
48       default: 13979:105719
49     gpb-flavor:
50       hidden: false
51       immutable: false
52       type: string
53       description: Flavor to use for servers gpb
54       default: m4.xlarge4
55     Internal1_cidr:
56       hidden: false
57       immutable: false
58       type: string
59       default: 169.253.0.0/17
60     epc-sctp-a-pool-start:
61       hidden: false
62       immutable: false
63       type: string
64       description: epc-sctp-a-net network ip pool start IP address
65       default: 107.243.37.3
66     Internal2_subnet_name:
67       hidden: false
68       immutable: false
69       type: string
70       default: vmme_int_int_sub_2
71     Internal1_subnet_name:
72       hidden: false
73       immutable: false
74       type: string
75       default: vmme_int_int_sub_1
76     gpb1-Internal1-mac:
77       hidden: false
78       immutable: false
79       type: string
80       description: static mac address assigned to gpb1-Internal1
81       default: 00:80:37:0E:01:22
82     gpb1-Internal1-ip:
83       hidden: false
84       immutable: false
85       type: string
86       default: 169.254.0.101
87     FSB_1_image:
88       hidden: false
89       immutable: false
90       type: string
91       description: image name
92     fsb1-Internal2-mac:
93       hidden: false
94       immutable: false
95       type: string
96       description: static mac address assigned to fsb1-Internal2
97       default: 00:81:37:0E:0B:12
98     ncb_zone:
99       hidden: false
100       immutable: false
101       type: string
102       description: cluster for spawnning ncb instances
103       default: nova
104     Internal2_net_name:
105       hidden: false
106       immutable: false
107       type: string
108       default: vmme_int_int_2
109     epc-sctp-a-pool-end:
110       hidden: false
111       immutable: false
112       type: string
113       description: epc-sctp-a-net network ip pool end IP address
114       default: 107.243.37.30
115     Internal1_name:
116       hidden: false
117       immutable: false
118       type: string
119       default: Internal1-subnet
120     gpb2-name:
121       hidden: false
122       immutable: false
123       type: string
124       description: Name of gpb2
125       default: ZRDM1MMEX33GPB002
126     fsb2-Internal1-mac:
127       hidden: false
128       immutable: false
129       type: string
130       description: static mac address assigned to fsb2-Internal1
131       default: 00:80:37:0E:0D:12
132     fsb2-name:
133       hidden: false
134       immutable: false
135       type: string
136       description: Name of fsb1
137       default: ZRDM1MMEX33FSB002
138     static_prefix_sctp_b_1:
139       hidden: false
140       immutable: false
141       type: string
142       description: Static Prefix
143       default: 107.239.40.64/30
144     fsb2-oam-ip:
145       hidden: false
146       immutable: false
147       type: string
148       default: 107.250.172.222
149     fsb2-flavor:
150       hidden: false
151       immutable: false
152       type: string
153       description: Flavor to use for servers  fsb2
154       default: m4.xlarge4
155     fsb2-Internal2-mac:
156       hidden: false
157       immutable: false
158       type: string
159       description: static mac address assigned to fsb2-Internal2
160       default: 00:81:37:0E:0D:12
161     ncb2-Internal1-mac:
162       hidden: false
163       immutable: false
164       type: string
165       description: static mac address assigned to ncb2-Internal1
166       default: 00:80:37:0E:0F:12
167     ncb2-name:
168       hidden: false
169       immutable: false
170       type: string
171       description: Name of ncb2
172       default: ZRDM1MMEX33NCB002
173     epc-sctp-b-pool-end:
174       hidden: false
175       immutable: false
176       type: string
177       description: epc-sctp-b-net network ip pool end IP address
178       default: 107.243.37.62
179     vlc1-gtp-ip:
180       hidden: false
181       immutable: false
182       type: string
183       default: 107.243.37.67
184     epc-sctp-b-pool-start:
185       hidden: false
186       immutable: false
187       type: string
188       description: epc-sctp-b-net network ip pool start IP address
189       default: 107.243.37.35
190     my_instance:
191       hidden: false
192       immutable: false
193       type: string
194       description: instance
195     Internal2_shared:
196       hidden: false
197       immutable: false
198       type: string
199       default: 'False'
200     Internal1_net_name:
201       hidden: false
202       immutable: false
203       type: string
204       default: vmme_int_int_1
205     vlc2-name:
206       hidden: false
207       immutable: false
208       type: string
209       description: Name of vlc2
210       default: ZRDM1MMEX33VLC002
211     Internal2_ipam_name:
212       hidden: false
213       immutable: false
214       type: string
215       default: vmme_ipam_int2
216     vlc1-sctp-b-ip:
217       hidden: false
218       immutable: false
219       type: string
220       default: 107.243.37.35
221     Internal1_net_pool_end:
222       hidden: false
223       immutable: false
224       type: string
225       default: 169.253.0.254
226     Internal1_default_gateway:
227       hidden: false
228       immutable: false
229       type: string
230       default: 169.253.0.3
231     ncb1-Internal1-mac:
232       hidden: false
233       immutable: false
234       type: string
235       description: static mac address assigned to ncb1-Internal1
236       default: 00:80:37:0E:09:12
237     epc-gtp-net-name:
238       hidden: false
239       immutable: false
240       type: string
241       description: gtp net name
242       default: EPC-GTP
243     vlc1-Internal1-mac:
244       hidden: false
245       immutable: false
246       type: string
247       description: static mac address assigned to vlc1-Internal1
248       default: 00:80:37:0E:01:12
249     gpb2-Internal1-mac:
250       hidden: false
251       immutable: false
252       type: string
253       description: static mac address assigned to gpb2-Internal1
254       default: 00:80:37:0E:02:22
255     epc-gtp-net-cidr:
256       hidden: false
257       immutable: false
258       type: string
259       description: gtp stubnet
260       default: 107.243.37.64/27
261     oam_net_id:
262       hidden: false
263       immutable: false
264       type: string
265       description: uuid of oam network
266       default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351
267     vlc_zone:
268       hidden: false
269       immutable: false
270       type: string
271       description: cluster for spawnning vlc instances
272       default: nova
273     vlc2-Internal1-mac:
274       hidden: false
275       immutable: false
276       type: string
277       description: static mac address assigned to vlc2-Internal1
278       default: 00:80:37:0E:02:12
279     epc-sctp-a-net-cidr:
280       hidden: false
281       immutable: false
282       type: string
283       description: epc-sctp-a subnet
284       default: 107.243.37.0/27
285     Internal1_forwarding_mode:
286       hidden: false
287       immutable: false
288       type: string
289       default: l2
290     Internal2_dhcp:
291       hidden: false
292       immutable: false
293       type: boolean
294       default: false
295     fsb1-oam-ip:
296       hidden: false
297       immutable: false
298       type: string
299       default: 107.250.172.221
300     FSB_2_image:
301       hidden: false
302       immutable: false
303       type: string
304       description: image name
305     vlc1-oam-ip:
306       hidden: false
307       immutable: false
308       type: string
309       default: 107.250.172.227
310     epc-sctp-a-net-name:
311       hidden: false
312       immutable: false
313       type: string
314       description: epc-sctp-a net name
315       default: EPC-SCTP-A
316     vlc2-oam-ip:
317       hidden: false
318       immutable: false
319       type: string
320       default: 107.250.172.228
321     Internal2_net_pool_start:
322       hidden: false
323       immutable: false
324       type: string
325       default: 169.255.0.100
326     FSB1_volume_name:
327       hidden: false
328       immutable: false
329       type: string
330       description: volume name
331     vlc1-sctp-a-ip:
332       hidden: false
333       immutable: false
334       type: string
335       default: 107.243.37.3
336     Internal1_ipam_name:
337       hidden: false
338       immutable: false
339       type: string
340       default: vmme_ipam_int1
341     Internal1_dhcp:
342       hidden: false
343       immutable: false
344       type: boolean
345       default: false
346     Internal2_external:
347       hidden: false
348       immutable: false
349       type: string
350       default: 'False'
351     Internal2_forwarding_mode:
352       hidden: false
353       immutable: false
354       type: string
355       default: l2
356     vlc1-name:
357       hidden: false
358       immutable: false
359       type: string
360       description: Name of vlc1
361       default: ZRDM1MMEX33VLC002
362     vlc-flavor:
363       hidden: false
364       immutable: false
365       type: string
366       description: Flavor to use for servers vlc
367       default: m4.xlarge4
368     epc-gtp-net-rt:
369       hidden: false
370       immutable: false
371       type: string
372       description: gtp route target
373       default: 13979:105715
374     gpb_zone:
375       hidden: false
376       immutable: false
377       type: string
378       description: cluster for spawnning gpb instances
379       default: nova
380     Internal1-net:
381       hidden: false
382       immutable: false
383       type: string
384       description: net
385     gpb1-Internal2-mac:
386       hidden: false
387       immutable: false
388       type: string
389       description: static mac address assigned to gpb1-Internal2
390       default: 00:81:37:0E:01:22
391     fsb1-Internal1-mac:
392       hidden: false
393       immutable: false
394       type: string
395       description: static mac address assigned to fsb1-Internal1
396       default: 00:80:37:0E:0B:12
397     FSB2_volume_name:
398       hidden: false
399       immutable: false
400       type: string
401       description: volume name
402     VMME_FSB2_boot_volume:
403       hidden: false
404       immutable: false
405       type: string
406       default: 089a0d11-4b15-4370-8343-3f90907b1221
407     fsb_zone:
408       hidden: false
409       immutable: false
410       type: string
411       description: cluster for spawnning fsb instances
412       default: nova
413     VMME_FSB1_boot_volume:
414       hidden: false
415       immutable: false
416       type: string
417       default: 8248e794-6173-4b49-b9c3-8219b0b56f4e
418     Internal2_default_gateway:
419       hidden: false
420       immutable: false
421       type: string
422       default: 169.255.0.3
423     Internal1_external:
424       hidden: false
425       immutable: false
426       type: string
427       default: 'False'
428     vlc2-sctp-a-ip:
429       hidden: false
430       immutable: false
431       type: string
432       default: 107.243.37.4
433     ncb-flavor:
434       hidden: false
435       immutable: false
436       type: string
437       description: Flavor to use for servers ncb
438       default: m4.xlarge4
439     Internal1_shared:
440       hidden: false
441       immutable: false
442       type: string
443       default: 'False'
444     fsb1-name:
445       hidden: false
446       immutable: false
447       type: string
448       description: Name of fsb1
449       default: ZRDM1MMEX33FSB001
450     static_prefix_gtp_1:
451       hidden: false
452       immutable: false
453       type: string
454       description: Static Prefix
455       default: 107.239.40.96/30
456     epc-sctp-b-net-gateway:
457       hidden: false
458       immutable: false
459       type: string
460       description: epc-sctp-b-net network gateway
461       default: 107.243.37.33
462     epc-sctp-b-net-cidr:
463       hidden: false
464       immutable: false
465       type: string
466       description: epc-sctp-b subnet
467       default: 107.243.37.32/24
468     epc-gtp-pool-end:
469       hidden: false
470       immutable: false
471       type: string
472       description: gtp network ip pool end IP address
473       default: 107.243.37.94
474     epc-sctp-a-net-gateway:
475       hidden: false
476       immutable: false
477       type: string
478       description: epc-sctp-a-net network gateway
479       default: 107.243.37.1
480     vlc2-gtp-ip:
481       hidden: false
482       immutable: false
483       type: string
484       default: 107.243.37.68
485     vlc2-sctp-b-ip:
486       hidden: false
487       immutable: false
488       type: string
489       default: 107.243.37.36
490     Internal1_net_pool_start:
491       hidden: false
492       immutable: false
493       type: string
494       default: 169.253.0.100
495     volume_size:
496       hidden: false
497       immutable: false
498       type: string
499       description: volume
500     fsb2-image:
501       hidden: false
502       immutable: false
503       type: string
504       description: Name of image to use for server fsb2
505       default: MME_FSB2_15B-CP04-r5a01
506     ncb2-Internal2-mac:
507       hidden: false
508       immutable: false
509       type: string
510       description: static mac address assigned to ncb2-Internal2
511       default: 00:81:37:0E:0F:12
512     ncb1-name:
513       hidden: false
514       immutable: false
515       type: string
516       description: Name of ncb1
517       default: ZRDM1MMEX33NCB001
518     fsb1-image:
519       hidden: false
520       immutable: false
521       type: string
522       description: Name of image to use for server fsb1
523       default: MME_FSB1_15B-CP04-r5a01
524     fsb1-flavor:
525       hidden: false
526       immutable: false
527       type: string
528       description: Flavor to use for servers  fsb1
529       default: m4.xlarge4
530     volume_type:
531       hidden: false
532       immutable: false
533       type: string
534       description: volume
535     Internal2_net_pool_end:
536       hidden: false
537       immutable: false
538       type: string
539       default: 169.255.0.254
540     epc-sctp-b-net-name:
541       hidden: false
542       immutable: false
543       type: string
544       description: epc-sctp-b net name
545       default: EPC-SCTP-B
546     Internal2_cidr:
547       hidden: false
548       immutable: false
549       type: string
550       default: 169.255.0.0/17
551     epc-gtp-net-gateway:
552       hidden: false
553       immutable: false
554       type: string
555       description: gtp network gateway
556       default: 107.243.37.65
557     gpb2-Internal2-mac:
558       hidden: false
559       immutable: false
560       type: string
561       description: static mac address assigned to gpb2-Internal2
562       default: 00:81:37:0E:02:22
563     ncb1-Internal2-mac:
564       hidden: false
565       immutable: false
566       type: string
567       description: static mac address assigned to ncb1-Internal2
568       default: 00:81:37:0E:09:12
569     epc-gtp-pool-start:
570       hidden: false
571       immutable: false
572       type: string
573       description: gtp network ip pool start IP address
574       default: 107.243.37.67
575     static_prefix_sctp_a_1:
576       hidden: false
577       immutable: false
578       type: string
579       description: Static Prefix
580       default: 107.239.40.32/30
581     gpb1-name:
582       hidden: false
583       immutable: false
584       type: string
585       description: Name of gpb1
586       default: ZRDM1MMEX33GPB001
587     pxe-image:
588       hidden: false
589       immutable: false
590       type: string
591       description: Name of image to use for server ncb
592       default: MME_PXE-BOOT_cxp9025898_2r5a01.qcow2
593     vlc1-Internal2-mac:
594       hidden: false
595       immutable: false
596       type: string
597       description: static mac address assigned to vlc1-Internal2
598       default: 00:81:37:0E:01:12
599   node_templates:
600     NCB1:
601       type: org.openecomp.resource.vfc.nodes.heat.NCB1
602       properties:
603         flavor:
604           get_input: ncb-flavor
605         availability_zone:
606           get_input: ncb_zone
607         image:
608           get_input: pxe-image
609         name:
610           get_input: ncb1-name
611     NCB2:
612       type: org.openecomp.resource.vfc.nodes.heat.NCB2
613       properties:
614         flavor:
615           get_input: ncb-flavor
616         availability_zone:
617           get_input: ncb_zone
618         image:
619           get_input: pxe-image
620         name:
621           get_input: ncb2-name
622     VLC2_OAM:
623       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
624       properties:
625         ip_requirements:
626         - ip_version: 4
627           ip_count_required:
628             is_required: true
629           floating_ip_count_required:
630             is_required: false
631         fixed_ips:
632         - ip_address:
633             get_input: vlc2-oam-ip
634         mac_requirements:
635           mac_count_required:
636             is_required: false
637         network_role_tag: oam
638         network:
639           get_input: oam_net_id
640       requirements:
641       - binding:
642           capability: tosca.capabilities.network.Bindable
643           node: VLC2
644           relationship: tosca.relationships.network.BindsTo
645     epc-gtp-net:
646       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
647       properties:
648         route_targets:
649         - get_input: epc-gtp-net-rt
650         network_name:
651           get_input: epc-gtp-net-name
652         subnets:
653           epc-gtp-subnet:
654             cidr:
655               get_input: epc-gtp-net-cidr
656             gateway_ip:
657               get_input: epc-gtp-net-gateway
658             allocation_pools:
659             - start:
660                 get_input: epc-gtp-pool-start
661               end:
662                 get_input: epc-gtp-pool-end
663     NCB1_Internal1:
664       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
665       properties:
666         ip_requirements:
667         - ip_version: 4
668           ip_count_required:
669             is_required: false
670           floating_ip_count_required:
671             is_required: false
672         mac_requirements:
673           mac_count_required:
674             is_required: true
675         mac_address:
676           get_input: ncb1-Internal1-mac
677         network: Internal1-net
678       requirements:
679       - link:
680           capability: tosca.capabilities.network.Linkable
681           node: Internal1-net
682           relationship: tosca.relationships.network.LinksTo
683       - binding:
684           capability: tosca.capabilities.network.Bindable
685           node: NCB1
686           relationship: tosca.relationships.network.BindsTo
687     VLC2_Internal2:
688       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
689       properties:
690         ip_requirements:
691         - ip_version: 4
692           ip_count_required:
693             is_required: false
694           floating_ip_count_required:
695             is_required: false
696         mac_requirements:
697           mac_count_required:
698             is_required: true
699         mac_address:
700           get_input: vlc2-Internal2-mac
701         network: Internal2-net
702       requirements:
703       - link:
704           capability: tosca.capabilities.network.Linkable
705           node: Internal2-net
706           relationship: tosca.relationships.network.LinksTo
707       - binding:
708           capability: tosca.capabilities.network.Bindable
709           node: VLC2
710           relationship: tosca.relationships.network.BindsTo
711     NCB1_Internal2:
712       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
713       properties:
714         ip_requirements:
715         - ip_version: 4
716           ip_count_required:
717             is_required: false
718           floating_ip_count_required:
719             is_required: false
720         mac_requirements:
721           mac_count_required:
722             is_required: true
723         mac_address:
724           get_input: ncb1-Internal2-mac
725         network: Internal2-net
726       requirements:
727       - link:
728           capability: tosca.capabilities.network.Linkable
729           node: Internal2-net
730           relationship: tosca.relationships.network.LinksTo
731       - binding:
732           capability: tosca.capabilities.network.Bindable
733           node: NCB1
734           relationship: tosca.relationships.network.BindsTo
735     VLC2_Internal1:
736       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
737       properties:
738         ip_requirements:
739         - ip_version: 4
740           ip_count_required:
741             is_required: false
742           floating_ip_count_required:
743             is_required: false
744         mac_requirements:
745           mac_count_required:
746             is_required: true
747         mac_address:
748           get_input: vlc2-Internal1-mac
749         network: Internal1-net
750       requirements:
751       - link:
752           capability: tosca.capabilities.network.Linkable
753           node: Internal1-net
754           relationship: tosca.relationships.network.LinksTo
755       - binding:
756           capability: tosca.capabilities.network.Bindable
757           node: VLC2
758           relationship: tosca.relationships.network.BindsTo
759     VLC2_GTP:
760       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
761       properties:
762         ip_requirements:
763         - ip_version: 4
764           ip_count_required:
765             is_required: true
766           floating_ip_count_required:
767             is_required: false
768         fixed_ips:
769         - ip_address:
770             get_input: vlc2-gtp-ip
771         mac_requirements:
772           mac_count_required:
773             is_required: false
774         network: epc-gtp-net
775       requirements:
776       - link:
777           capability: tosca.capabilities.network.Linkable
778           node: epc-gtp-net
779           relationship: tosca.relationships.network.LinksTo
780       - binding:
781           capability: tosca.capabilities.network.Bindable
782           node: VLC2
783           relationship: tosca.relationships.network.BindsTo
784     FSB1_volume:
785       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
786       properties:
787         image:
788           get_input: FSB_1_image
789         volume_type:
790           get_input: volume_type
791         size: 3*1024
792         name:
793           get_input: FSB1_volume_name
794     testConvertGetParamFunctions:
795       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
796       properties:
797         shared:
798           get_input: Internal1_shared
799         forwarding_mode:
800           get_input: Internal1_forwarding_mode
801         external:
802           get_input:
803           - my_instance
804           - networks
805           - private
806           - 0
807         network_name:
808           get_input: Internal1_net_name
809     FSB2_volume:
810       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
811       properties:
812         image:
813           get_input: FSB_2_image
814         volume_type:
815           get_input: volume_type
816         size: '(get_input : volume_size) * 1024'
817         name:
818           get_input: FSB2_volume_name
819     FSB1_OAM:
820       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
821       properties:
822         ip_requirements:
823         - ip_version: 4
824           ip_count_required:
825             is_required: true
826           floating_ip_count_required:
827             is_required: false
828         fixed_ips:
829         - ip_address:
830             get_input: fsb1-oam-ip
831         mac_requirements:
832           mac_count_required:
833             is_required: false
834         network_role_tag: oam
835         network:
836           get_input: oam_net_id
837       requirements:
838       - binding:
839           capability: tosca.capabilities.network.Bindable
840           node: FSB1
841           relationship: tosca.relationships.network.BindsTo
842     Internal1-net:
843       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
844       properties:
845         dhcp_enabled:
846           get_input: Internal1_dhcp
847         shared:
848           get_input: Internal1_shared
849         forwarding_mode:
850           get_input: Internal1_forwarding_mode
851         external: true
852         route_targets:
853           get_artifact:
854           - SELF
855           - nimbus-ethernet
856         network_name:
857           get_input: Internal1_net_name
858         subnets:
859           Internal3-subnet:
860             enable_dhcp:
861               get_input: Internal2_dhcp
862             cidr:
863               get_input: Internal2_cidr
864             gateway_ip:
865               get_input: Internal2_default_gateway
866           Internal1-subnet:
867             enable_dhcp:
868               get_input: Internal1_dhcp
869             cidr:
870               get_input: Internal1_cidr
871             gateway_ip:
872               get_input: Internal1_default_gateway
873           Internal4-subnet:
874             enable_dhcp: false
875             cidr:
876               get_input: Internal1_cidr
877             gateway_ip:
878               get_input: Internal1_default_gateway
879       artifacts:
880         nimbus-ethernet:
881           type: tosca.artifacts.Deployment
882           file: ../Artifacts/nimbus-ethernet.sh
883     GPB2_Internal1:
884       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
885       properties:
886         ip_requirements:
887         - ip_version: 4
888           ip_count_required:
889             is_required: false
890           floating_ip_count_required:
891             is_required: false
892         mac_requirements:
893           mac_count_required:
894             is_required: true
895         mac_address:
896           get_input: gpb2-Internal1-mac
897         network: Internal1-net
898       requirements:
899       - link:
900           capability: tosca.capabilities.network.Linkable
901           node: Internal1-net
902           relationship: tosca.relationships.network.LinksTo
903       - binding:
904           capability: tosca.capabilities.network.Bindable
905           node: GPB2
906           relationship: tosca.relationships.network.BindsTo
907     GPB2_Internal2:
908       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
909       properties:
910         ip_requirements:
911         - ip_version: 4
912           ip_count_required:
913             is_required: false
914           floating_ip_count_required:
915             is_required: false
916         mac_requirements:
917           mac_count_required:
918             is_required: true
919         mac_address:
920           get_input: gpb2-Internal2-mac
921         network: Internal2-net
922       requirements:
923       - link:
924           capability: tosca.capabilities.network.Linkable
925           node: Internal2-net
926           relationship: tosca.relationships.network.LinksTo
927       - binding:
928           capability: tosca.capabilities.network.Bindable
929           node: GPB2
930           relationship: tosca.relationships.network.BindsTo
931     testConvertGetAttributeFunctions:
932       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
933       properties:
934         shared:
935           get_input: Internal1_shared
936         forwarding_mode:
937           get_input: Internal1_forwarding_mode
938         external:
939           get_input: Internal1_external
940         network_name:
941           get_input: Internal1_net_name
942     NCB2_Internal2:
943       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
944       properties:
945         ip_requirements:
946         - ip_version: 4
947           ip_count_required:
948             is_required: false
949           floating_ip_count_required:
950             is_required: false
951         mac_requirements:
952           mac_count_required:
953             is_required: true
954         mac_address:
955           get_input: ncb2-Internal2-mac
956         network: Internal2-net
957       requirements:
958       - link:
959           capability: tosca.capabilities.network.Linkable
960           node: Internal2-net
961           relationship: tosca.relationships.network.LinksTo
962       - binding:
963           capability: tosca.capabilities.network.Bindable
964           node: NCB2
965           relationship: tosca.relationships.network.BindsTo
966     NCB2_Internal1:
967       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
968       properties:
969         ip_requirements:
970         - ip_version: 4
971           ip_count_required:
972             is_required: false
973           floating_ip_count_required:
974             is_required: false
975         mac_requirements:
976           mac_count_required:
977             is_required: true
978         mac_address:
979           get_input: ncb2-Internal1-mac
980         network: Internal1-net
981       requirements:
982       - link:
983           capability: tosca.capabilities.network.Linkable
984           node: Internal1-net
985           relationship: tosca.relationships.network.LinksTo
986       - binding:
987           capability: tosca.capabilities.network.Bindable
988           node: NCB2
989           relationship: tosca.relationships.network.BindsTo
990     FSB2:
991       type: org.openecomp.resource.vfc.nodes.heat.FSB2
992       properties:
993         flavor:
994           get_input: fsb2-flavor
995         availability_zone:
996           get_input: fsb_zone
997         name:
998           get_input: fsb2-name
999     FSB1:
1000       type: org.openecomp.resource.vfc.nodes.heat.FSB1
1001       properties:
1002         flavor:
1003           get_input: fsb1-flavor
1004         availability_zone:
1005           get_input: fsb_zone
1006         name:
1007           get_input: fsb1-name
1008     Internal2-net:
1009       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1010       properties:
1011         dhcp_enabled:
1012           get_input: Internal2_dhcp
1013         shared:
1014           get_input: Internal2_shared
1015         forwarding_mode:
1016           get_input: Internal2_forwarding_mode
1017         external:
1018           get_input: Internal2_external
1019         network_name:
1020           get_input: Internal2_name
1021         subnets:
1022           Internal2-subnet:
1023             enable_dhcp:
1024               get_input: Internal2_dhcp
1025             cidr:
1026               get_input: Internal2_cidr
1027             gateway_ip:
1028               get_input: Internal2_default_gateway
1029     VLC1_Internal1:
1030       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1031       properties:
1032         ip_requirements:
1033         - ip_version: 4
1034           ip_count_required:
1035             is_required: false
1036           floating_ip_count_required:
1037             is_required: false
1038         mac_requirements:
1039           mac_count_required:
1040             is_required: true
1041         mac_address:
1042           get_input: vlc1-Internal1-mac
1043         network: Internal1-net
1044       requirements:
1045       - link:
1046           capability: tosca.capabilities.network.Linkable
1047           node: Internal1-net
1048           relationship: tosca.relationships.network.LinksTo
1049       - binding:
1050           capability: tosca.capabilities.network.Bindable
1051           node: VLC1
1052           relationship: tosca.relationships.network.BindsTo
1053     epc-sctp-a-net:
1054       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1055       properties:
1056         route_targets:
1057         - get_input: epc-sctp-a-net-rt
1058         network_name:
1059           get_input: epc-sctp-a-net-name
1060         subnets:
1061           epc-sctp-a-subnet:
1062             cidr:
1063               get_input: epc-sctp-a-net-cidr
1064             gateway_ip:
1065               get_input: epc-sctp-a-net-gateway
1066             allocation_pools:
1067             - start:
1068                 get_input: epc-sctp-a-pool-start
1069               end:
1070                 get_input: epc-sctp-a-pool-end
1071     VLC1_Internal2:
1072       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1073       properties:
1074         ip_requirements:
1075         - ip_version: 4
1076           ip_count_required:
1077             is_required: false
1078           floating_ip_count_required:
1079             is_required: false
1080         mac_requirements:
1081           mac_count_required:
1082             is_required: true
1083         mac_address:
1084           get_input: vlc1-Internal2-mac
1085         network: Internal2-net
1086       requirements:
1087       - link:
1088           capability: tosca.capabilities.network.Linkable
1089           node: Internal2-net
1090           relationship: tosca.relationships.network.LinksTo
1091       - binding:
1092           capability: tosca.capabilities.network.Bindable
1093           node: VLC1
1094           relationship: tosca.relationships.network.BindsTo
1095     VLC1_SCTP_B:
1096       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1097       properties:
1098         ip_requirements:
1099         - ip_version: 4
1100           ip_count_required:
1101             is_required: true
1102           floating_ip_count_required:
1103             is_required: false
1104         fixed_ips:
1105         - ip_address:
1106             get_input: vlc1-sctp-b-ip
1107         mac_requirements:
1108           mac_count_required:
1109             is_required: false
1110         network: epc-sctp-b-net
1111       requirements:
1112       - link:
1113           capability: tosca.capabilities.network.Linkable
1114           node: epc-sctp-b-net
1115           relationship: tosca.relationships.network.LinksTo
1116       - binding:
1117           capability: tosca.capabilities.network.Bindable
1118           node: VLC1
1119           relationship: tosca.relationships.network.BindsTo
1120     VLC2_SCTP_B:
1121       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1122       properties:
1123         ip_requirements:
1124         - ip_version: 4
1125           ip_count_required:
1126             is_required: true
1127           floating_ip_count_required:
1128             is_required: false
1129         fixed_ips:
1130         - ip_address:
1131             get_input: vlc2-sctp-b-ip
1132         mac_requirements:
1133           mac_count_required:
1134             is_required: false
1135         network: epc-sctp-b-net
1136       requirements:
1137       - link:
1138           capability: tosca.capabilities.network.Linkable
1139           node: epc-sctp-b-net
1140           relationship: tosca.relationships.network.LinksTo
1141       - binding:
1142           capability: tosca.capabilities.network.Bindable
1143           node: VLC2
1144           relationship: tosca.relationships.network.BindsTo
1145     VLC1_SCTP_A:
1146       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1147       properties:
1148         ip_requirements:
1149         - ip_version: 4
1150           ip_count_required:
1151             is_required: true
1152           floating_ip_count_required:
1153             is_required: false
1154         fixed_ips:
1155         - ip_address:
1156             get_input: vlc1-sctp-a-ip
1157         mac_requirements:
1158           mac_count_required:
1159             is_required: false
1160         network: epc-sctp-a-net
1161       requirements:
1162       - link:
1163           capability: tosca.capabilities.network.Linkable
1164           node: epc-sctp-a-net
1165           relationship: tosca.relationships.network.LinksTo
1166       - binding:
1167           capability: tosca.capabilities.network.Bindable
1168           node: VLC1
1169           relationship: tosca.relationships.network.BindsTo
1170     VLC2_SCTP_A:
1171       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1172       properties:
1173         ip_requirements:
1174         - ip_version: 4
1175           ip_count_required:
1176             is_required: true
1177           floating_ip_count_required:
1178             is_required: false
1179         fixed_ips:
1180         - ip_address:
1181             get_input: vlc2-sctp-a-ip
1182         mac_requirements:
1183           mac_count_required:
1184             is_required: false
1185         network: epc-sctp-a-net
1186       requirements:
1187       - link:
1188           capability: tosca.capabilities.network.Linkable
1189           node: epc-sctp-a-net
1190           relationship: tosca.relationships.network.LinksTo
1191       - binding:
1192           capability: tosca.capabilities.network.Bindable
1193           node: VLC2
1194           relationship: tosca.relationships.network.BindsTo
1195     VLC1:
1196       type: org.openecomp.resource.vfc.nodes.heat.VLC1
1197       properties:
1198         flavor:
1199           get_input: vlc-flavor
1200         availability_zone:
1201           get_input: vlc_zone
1202         image:
1203           get_input: pxe-image
1204         name:
1205           get_input: vlc1-name
1206     FSB1_Internal2:
1207       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1208       properties:
1209         ip_requirements:
1210         - ip_version: 4
1211           ip_count_required:
1212             is_required: false
1213           floating_ip_count_required:
1214             is_required: false
1215         mac_requirements:
1216           mac_count_required:
1217             is_required: true
1218         mac_address:
1219           get_input: fsb1-Internal2-mac
1220         network: Internal2-net
1221       requirements:
1222       - link:
1223           capability: tosca.capabilities.network.Linkable
1224           node: Internal2-net
1225           relationship: tosca.relationships.network.LinksTo
1226       - binding:
1227           capability: tosca.capabilities.network.Bindable
1228           node: FSB1
1229           relationship: tosca.relationships.network.BindsTo
1230     VLC2:
1231       type: org.openecomp.resource.vfc.nodes.heat.VLC2
1232       properties:
1233         flavor:
1234           get_input: vlc-flavor
1235         availability_zone:
1236           get_input: vlc_zone
1237         image:
1238           get_input: pxe-image
1239         name:
1240           get_input: vlc2-name
1241     FSB1_Internal1:
1242       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1243       properties:
1244         ip_requirements:
1245         - ip_version: 4
1246           ip_count_required:
1247             is_required: false
1248           floating_ip_count_required:
1249             is_required: false
1250         mac_requirements:
1251           mac_count_required:
1252             is_required: true
1253         mac_address:
1254           get_input: fsb1-Internal1-mac
1255         network: Internal1-net
1256       requirements:
1257       - link:
1258           capability: tosca.capabilities.network.Linkable
1259           node: Internal1-net
1260           relationship: tosca.relationships.network.LinksTo
1261       - binding:
1262           capability: tosca.capabilities.network.Bindable
1263           node: FSB1
1264           relationship: tosca.relationships.network.BindsTo
1265     FSB2_Internal2:
1266       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1267       properties:
1268         ip_requirements:
1269         - ip_version: 4
1270           ip_count_required:
1271             is_required: false
1272           floating_ip_count_required:
1273             is_required: false
1274         mac_requirements:
1275           mac_count_required:
1276             is_required: true
1277         mac_address:
1278           get_input: fsb2-Internal2-mac
1279         network: Internal2-net
1280       requirements:
1281       - link:
1282           capability: tosca.capabilities.network.Linkable
1283           node: Internal2-net
1284           relationship: tosca.relationships.network.LinksTo
1285       - binding:
1286           capability: tosca.capabilities.network.Bindable
1287           node: FSB2
1288           relationship: tosca.relationships.network.BindsTo
1289     FSB2_Internal1:
1290       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1291       properties:
1292         ip_requirements:
1293         - ip_version: 4
1294           ip_count_required:
1295             is_required: false
1296           floating_ip_count_required:
1297             is_required: false
1298         mac_requirements:
1299           mac_count_required:
1300             is_required: true
1301         mac_address:
1302           get_input: fsb2-Internal1-mac
1303         network: Internal1-net
1304       requirements:
1305       - link:
1306           capability: tosca.capabilities.network.Linkable
1307           node: Internal1-net
1308           relationship: tosca.relationships.network.LinksTo
1309       - binding:
1310           capability: tosca.capabilities.network.Bindable
1311           node: FSB2
1312           relationship: tosca.relationships.network.BindsTo
1313     VLC1_OAM:
1314       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1315       properties:
1316         ip_requirements:
1317         - ip_version: 4
1318           ip_count_required:
1319             is_required: true
1320           floating_ip_count_required:
1321             is_required: false
1322         fixed_ips:
1323         - ip_address:
1324             get_input: vlc1-oam-ip
1325         mac_requirements:
1326           mac_count_required:
1327             is_required: false
1328         network_role_tag: oam
1329         network:
1330           get_input: oam_net_id
1331       requirements:
1332       - binding:
1333           capability: tosca.capabilities.network.Bindable
1334           node: VLC1
1335           relationship: tosca.relationships.network.BindsTo
1336     epc-sctp-b-net:
1337       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1338       properties:
1339         route_targets:
1340         - get_input: epc-sctp-b-net-rt
1341         network_name:
1342           get_input: epc-sctp-b-net-name
1343         subnets:
1344           epc-sctp-b-subnet:
1345             cidr:
1346               get_input: epc-sctp-b-net-cidr
1347             gateway_ip:
1348               get_input: epc-sctp-b-net-gateway
1349             allocation_pools:
1350             - start:
1351                 get_input: epc-sctp-b-pool-start
1352               end:
1353                 get_input: epc-sctp-b-pool-end
1354     GPB2:
1355       type: org.openecomp.resource.vfc.nodes.heat.GPB2
1356       properties:
1357         flavor:
1358           get_input: gpb-flavor
1359         availability_zone:
1360           get_input: gpb_zone
1361         image:
1362           get_input: pxe-image
1363         name:
1364           get_input: gpb2-name
1365     GPB1:
1366       type: org.openecomp.resource.vfc.nodes.heat.GPB1
1367       properties:
1368         flavor:
1369           get_input: gpb-flavor
1370         availability_zone:
1371           get_input: gpb_zone
1372         image:
1373           get_input: pxe-image
1374         name:
1375           get_input: gpb1-name
1376     VLC1_GTP:
1377       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1378       properties:
1379         ip_requirements:
1380         - ip_version: 4
1381           ip_count_required:
1382             is_required: true
1383           floating_ip_count_required:
1384             is_required: false
1385         fixed_ips:
1386         - ip_address:
1387             get_input: vlc1-gtp-ip
1388         mac_requirements:
1389           mac_count_required:
1390             is_required: false
1391         network: epc-gtp-net
1392       requirements:
1393       - link:
1394           capability: tosca.capabilities.network.Linkable
1395           node: epc-gtp-net
1396           relationship: tosca.relationships.network.LinksTo
1397       - binding:
1398           capability: tosca.capabilities.network.Bindable
1399           node: VLC1
1400           relationship: tosca.relationships.network.BindsTo
1401     FSB2_OAM:
1402       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1403       properties:
1404         ip_requirements:
1405         - ip_version: 4
1406           ip_count_required:
1407             is_required: true
1408           floating_ip_count_required:
1409             is_required: false
1410         fixed_ips:
1411         - ip_address:
1412             get_input: fsb2-oam-ip
1413         mac_requirements:
1414           mac_count_required:
1415             is_required: false
1416         network_role_tag: oam
1417         network:
1418           get_input: oam_net_id
1419       requirements:
1420       - binding:
1421           capability: tosca.capabilities.network.Bindable
1422           node: FSB2
1423           relationship: tosca.relationships.network.BindsTo
1424     GPB1_Internal2:
1425       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1426       properties:
1427         ip_requirements:
1428         - ip_version: 4
1429           ip_count_required:
1430             is_required: false
1431           floating_ip_count_required:
1432             is_required: false
1433         mac_requirements:
1434           mac_count_required:
1435             is_required: true
1436         mac_address:
1437           get_input: gpb1-Internal2-mac
1438         network: Internal2-net
1439       requirements:
1440       - link:
1441           capability: tosca.capabilities.network.Linkable
1442           node: Internal2-net
1443           relationship: tosca.relationships.network.LinksTo
1444       - binding:
1445           capability: tosca.capabilities.network.Bindable
1446           node: GPB1
1447           relationship: tosca.relationships.network.BindsTo
1448     GPB1_Internal1:
1449       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1450       properties:
1451         ip_requirements:
1452         - ip_version: 4
1453           ip_count_required:
1454             is_required: false
1455           floating_ip_count_required:
1456             is_required: false
1457         mac_requirements:
1458           mac_count_required:
1459             is_required: true
1460         mac_address:
1461           get_input: gpb1-Internal1-mac
1462         network: Internal1-net
1463       requirements:
1464       - link:
1465           capability: tosca.capabilities.network.Linkable
1466           node: Internal1-net
1467           relationship: tosca.relationships.network.LinksTo
1468       - binding:
1469           capability: tosca.capabilities.network.Bindable
1470           node: GPB1
1471           relationship: tosca.relationships.network.BindsTo
1472   groups:
1473     vmme_small_group:
1474       type: org.openecomp.groups.heat.HeatStack
1475       properties:
1476         heat_file: ../Artifacts/vmme_small.yml
1477         description: |
1478           HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc
1479       members:
1480       - NCB1
1481       - NCB2
1482       - VLC2_OAM
1483       - epc-gtp-net
1484       - NCB1_Internal1
1485       - VLC2_Internal2
1486       - NCB1_Internal2
1487       - VLC2_Internal1
1488       - VLC2_GTP
1489       - FSB1_volume
1490       - testConvertGetParamFunctions
1491       - FSB2_volume
1492       - FSB1_OAM
1493       - Internal1-net
1494       - GPB2_Internal1
1495       - GPB2_Internal2
1496       - testConvertGetAttributeFunctions
1497       - NCB2_Internal2
1498       - NCB2_Internal1
1499       - FSB2
1500       - FSB1
1501       - Internal2-net
1502       - VLC1_Internal1
1503       - epc-sctp-a-net
1504       - VLC1_Internal2
1505       - VLC1_SCTP_B
1506       - VLC2_SCTP_B
1507       - VLC1_SCTP_A
1508       - VLC2_SCTP_A
1509       - VLC1
1510       - FSB1_Internal2
1511       - VLC2
1512       - FSB1_Internal1
1513       - FSB2_Internal2
1514       - FSB2_Internal1
1515       - VLC1_OAM
1516       - epc-sctp-b-net
1517       - GPB2
1518       - GPB1
1519       - VLC1_GTP
1520       - FSB2_OAM
1521       - GPB1_Internal2
1522       - GPB1_Internal1