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