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