ActivitySpec - Correcting logger messages
[sdc.git] / common / onap-sdc-artifact-generator-lib / onap-sdc-artifact-generator-test / src / main / resources / aai / vf_vmme_template_1.yml
1 tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0
2
3 description: VF Template for pseodo vMME 
4
5 # metadata of the VF model
6 metadata:
7   resourceInvariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22
8   resourceUUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc
9   resourceversion: 1.0
10   resourceName: vMME_VF
11   resourceDescription: vMME_VF
12   resourceType: VF
13   resourceCategry: Application L4+
14   resourceSubcategory: Firewall  
15   resourceVendor: Ericsson
16
17 # imports include all other tosca definitions that are required for this template
18 imports:
19   NovaServerGlobalTypes:
20     file: NovaServerGlobalTypesServiceTemplate.yaml
21   
22 topology_template:
23
24 # inputs are all the HEAT_ENV parameters and also the editable properties of the VF's internal resources (VFCs, connection points and networks)
25   inputs:    
26     fsb1_vfc_instance_name: # from HEAT ENV
27       type: string
28       description: VFC instance name
29       default: ZRDM1MMEX36FSB001
30     fsb1_vfc_type_tag: # from HEAT ENV
31       type: string
32       description: VFC type tag
33     fsb1_vfc_image_name: # from HEAT ENV
34       type: string
35       description: VFC image name
36       default: MME_FSB1_16ACP03.qcow2
37     fsb1_vfc_flavor: # from HEAT ENV
38       type: string
39       description: VFC flavor
40       default: m4.xlarge4
41     fsb2_vfc_instance_name: # from HEAT ENV
42       type: string
43       description: VFC instance name
44       default: ZRDM1MMEX36FSB002
45     fsb2_vfc_type_tag: # from HEAT ENV
46       type: string
47       description: VFC type tag
48     fsb2_vfc_image_name: # from HEAT ENV
49       type: string
50       description: VFC image name
51       default: MME_FSB2_16ACP03.qcow2
52     fsb2_vfc_flavor: # from HEAT ENV
53       type: string
54       description: VFC flavor
55       defualt: m4.xlarge4
56     ncb1_vfc_instance_name: # from HEAT ENV
57       type: string
58       description: VFC instance name
59       default: ZRDM1MMEX36FSB001
60     ncb1_vfc_type_tag: # from HEAT ENV
61       type: string
62       description: VFC type tag
63     ncb1_vfc_image_name: # from HEAT ENV
64       type: string
65       description: VFC image name
66       default: MME_NCB1_16ACP03.qcow2
67     ncb1_vfc_flavor: # from HEAT ENV
68       type: string
69       description: VFC flavor
70       default: m4.xlarge4
71     ncb2_vfc_instance_name: # from HEAT ENV
72       type: string
73       description: VFC instance name
74       default: ZRDM1MMEX36FSB001
75     ncb2_vfc_type_tag: # from HEAT ENV
76       type: string
77       description: VFC type tag
78     ncb2_vfc_image_name: # from HEAT ENV
79       type: string
80       description: VFC image name
81       default: MME_NCB2_16ACP03.qcow2
82     ncb2_vfc_flavor: # from HEAT ENV
83       type: string
84       description: VFC flavor
85       default: m4.xlarge4
86     gpb1_vfc_instance_name: # from HEAT ENV
87       type: string
88       description: VFC instance name
89       default: ZRDM1MMEX36FSB001
90     gpb1_vfc_type_tag: # from HEAT ENV
91       type: string
92       description: VFC type tag
93     gpb1_vfc_image_name: # from HEAT ENV
94       type: string
95       description: VFC image name
96       default: MME_GPB1_16ACP03.qcow2
97     gpb1_vfc_flavor: # from HEAT ENV
98       type: string
99       description: VFC flavor
100       default: m4.xlarge4
101     gpb2_vfc_instance_name: # from HEAT ENV
102       type: string
103       description: VFC instance name
104       default: ZRDM1MMEX36FSB001
105     gpb2_vfc_type_tag: # from HEAT ENV
106       type: string
107       description: VFC type tag
108     gpb2_vfc_image_name: # from HEAT ENV
109       type: string
110       description: VFC image name
111       default: MME_GPB2_16ACP03.qcow2
112     gpb2_vfc_flavor: # from HEAT ENV
113       type: string
114       description: VFC flavor
115       default: m4.xlarge4
116     vlc1_vfc_instance_name: # from HEAT ENV
117       type: string
118       description: VFC instance name
119       default: ZRDM1MMEX36FSB001
120     vlc1_vfc_type_tag: # from HEAT ENV
121       type: string
122       description: VFC type tag
123     vlc1_vfc_image_name: # from HEAT ENV
124       type: string
125       description: VFC image name
126       default: MME_VLC1_16ACP03.qcow2
127     vlc1_vfc_flavor: # from HEAT ENV
128       type: string
129       description: VFC flavor
130       default: m4.xlarge4
131     vlc2_vfc_instance_name: # from HEAT ENV
132       type: string
133       description: VFC instance name
134       default: ZRDM1MMEX36FSB001
135     vlc2_vfc_type_tag: # from HEAT ENV
136       type: string
137       description: VFC type tag
138     vlc2_vfc_image_name: # from HEAT ENV
139       type: string
140       description: VFC image name
141       default: MME_VLC2_16ACP03.qcow2
142     vlc2_vfc_flavor: # from HEAT ENV
143       type: string
144       description: VFC flavor
145       default: m4.xlarge4
146     
147     fsb1_oam_ip_address: # from HEAT ENV
148       type: string
149       description: OAM ip address
150       default: 107.250.172.221
151     fsb1_internal1_mac_address: # from HEAT_ENV
152       type: string
153       description: Internal connection point mac_address
154       default: 00:80:37:0E:0B:12
155     fsb1_internal2_mac_address: # from HEAT_ENV
156       type: string
157       description: Internal connection point mac_address
158       default: 00:81:37:0E:0B:12
159     fsb2_oam_ip_address: # from HEAT ENV
160       type: string
161       description: OAM ip address
162       default: 107.250.172.221
163     fsb2_internal1_mac_address: # from HEAT_ENV
164       type: string
165       description: Internal connection point mac_address
166       default: 00:80:37:0E:0B:12
167     fsb2_internal2_mac_address: # from HEAT_ENV
168       type: string
169       description: Internal connection point mac_address
170       default: 00:81:37:0E:0B:12
171     
172     ncb1_internal1_mac_address: # from HEAT_ENV
173       type: string
174       description: Internal connection point mac_address
175       default: 00:80:37:0E:0B:12
176     ncb1_internal2_mac_address: # from HEAT_ENV
177       type: string
178       description: Internal connection point mac_address
179       default: 00:81:37:0E:0B:12
180     ncb2_internal1_mac_address: # from HEAT_ENV
181       type: string
182       description: Internal connection point mac_address
183       default: 00:80:37:0E:0B:12
184     ncb2_internal2_mac_address: # from HEAT_ENV
185       type: string
186       description: Internal connection point mac_address
187       default: 00:81:37:0E:0B:12
188     gpb1_internal1_mac_address: # from HEAT_ENV
189       type: string
190       description: Internal connection point mac_address
191       default: 00:80:37:0E:0B:12
192     gpb1_internal2_mac_address: # from HEAT_ENV
193       type: string
194       description: Internal connection point mac_address
195       default: 00:81:37:0E:0B:12
196     gpb2_internal1_mac_address: # from HEAT_ENV
197       type: string
198       description: Internal connection point mac_address
199       default: 00:80:37:0E:0B:12
200     gpb2_internal2_mac_address: # from HEAT_ENV
201       type: string
202       description: Internal connection point mac_address
203       default: 00:81:37:0E:0B:12
204     vlc1_oam_ip_address: # from HEAT ENV
205       type: string
206       description: OAM ip address
207       default: 107.250.172.221
208     vlc1_gtp_ip_address: # from HEAT ENV
209       type: string
210       description: OAM ip address
211       default: 107.250.172.221
212     vlc1_sctp_a_ip_address: # from HEAT ENV
213       type: string
214       description: OAM ip address
215       default: 107.250.172.221
216     vlc1_sctp_b_ip_address: # from HEAT ENV
217       type: string
218       description: OAM ip address
219       default: 107.250.172.221           
220     vlc1_internal1_mac_address: # from HEAT_ENV
221       type: string
222       description: Internal connection point mac_address
223       default: 00:80:37:0E:0B:12
224     vlc1_internal2_mac_address: # from HEAT_ENV
225       type: string
226       description: Internal connection point mac_address
227       default: 00:81:37:0E:0B:12  
228     vlc2_oam_ip_address: # from HEAT ENV
229       type: string
230       description: OAM ip address
231       default: 107.250.172.221
232     vlc2_gtp_ip_address: # from HEAT ENV
233       type: string
234       description: OAM ip address
235       default: 107.250.172.221
236     vlc2_sctp_a_ip_address: # from HEAT ENV
237       type: string
238       description: OAM ip address
239       default: 107.250.172.221
240     vlc2_sctp_b_ip_address: # from HEAT ENV
241       type: string
242       description: OAM ip address
243       default: 107.250.172.221           
244     vlc2_internal1_mac_address: # from HEAT_ENV
245       type: string
246       description: Internal connection point mac_address
247       default: 00:80:37:0E:0B:12
248     vlc2_internal2_mac_address: # from HEAT_ENV
249       type: string
250       description: Internal connection point mac_address
251       default: 00:81:37:0E:0B:12  
252     Internal1_net_dhcp:
253       hidden: false
254       immutable: false
255       type: string
256       default: 'False'
257     Internal1_net_cidr:
258       hidden: false
259       immutable: false
260       type: string
261       default: 169.253.0.0/17
262     Internal1_net_gateway_ip:
263       hidden: false
264       immutable: false
265       type: string
266       default: 169.253.0.3
267     Internal2_net_dhcp:
268       hidden: false
269       immutable: false
270       type: string
271       default: 'False'
272     Internal2_net_cidr:
273       hidden: false
274       immutable: false
275       type: string
276       default: 169.255.0.0/17
277     Internal2_net_gateway_ip:
278       hidden: false
279       immutable: false
280       type: string
281       default: 169.255.0.3
282     network_deployment_node:
283       type: string
284       description: The target LCP node for deployment of this Network instance
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
292   node_templates:
293
294     # VFCs / VMs
295     FSB1: # VFC1 / VM1
296       type: org.openecomp.resource.vfc.nodes.heat.nova.Server
297
298       metadata:
299         resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
300         resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
301         resourceversion: 1.0
302         resourceName: Nova Server
303         resourceDescription: VFC based on OpenStack Nova Server
304         resourceType: VFC
305         resourceCategry: Generic
306         resourceSubcategry: Infrastructure
307         resourceVendor: Ericsson        
308       properties:
309         vfc_ecomp_name: false
310         vfc_instance_name: {get_input: fsb1_vfc_instance_name} 
311         vfc_type_tag: {get_input: fsb1_vfc_type_tag} 
312         vfc_description: FSB1
313         vfc_image_name: {get_input: fsb1_vfc_image_name} 
314       requirements:
315          - binding:
316               capability: tosca.capabilities.network.Bindable
317               node: fsb1_oam
318               relationship: tosca.relationships.network.BindsTo
319          - binding:
320               capability: tosca.capabilities.network.Bindable
321               node: fsb1_internal1
322               relationship: tosca.relationships.network.BindsTo
323          - binding: 
324               capability: tosca.capabilities.network.Bindable
325               node: fsb1_internal2
326               relationship: tosca.relationships.network.BindsTo
327       capabilities:
328         nfv_compute:
329           properties:
330             vfc_flavor: {get_input: fsb1_vfc_flavor}
331         scaling_capability:
332           properties:
333             min_instances: 1
334             max_instances: 1
335             init_instances: 1
336         monitoring_capabilty:
337           properties:
338             name: high_cpu
339             
340
341     FSB2: # VFC2 / VM2
342       type: org.openecomp.resource.vfc.nodes.heat.nova.Server
343
344       metadata:
345         resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
346         resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
347         resourceversion: 1.0
348         resourceName: Nova Server
349         resourceDescription: VFC based on OpenStack Nova Server
350         resourceType: VFC
351         resourceCategry: Generic
352         resourceSubcategry: Infrastructure
353         resourceVendor: Ericsson        
354       properties:
355         vfc_ecomp_name: false
356         vfc_instance_name: {get_input: fsb2_vfc_instance_name} 
357         vfc_type_tag: {get_input: fsb2_vfc_type_tag} 
358         vfc_description: FSB2
359         vfc_image_name: {get_input: fsb2_vfc_image_name} 
360
361       requirements:
362          - binding:
363               capability: tosca.capabilities.network.Bindable
364               node: fsb2_oam
365               relationship: tosca.relationships.network.BindsTo
366          - binding:
367               capability: tosca.capabilities.network.Bindable
368               node: fsb2_internal1
369               relationship: tosca.relationships.network.BindsTo
370          - binding: 
371               capability: tosca.capabilities.network.Bindable
372               node: fsb2_internal2
373               relationship: tosca.relationships.network.BindsTo
374       capabilities:
375         nfv_compute:
376           properties:
377             vfc_flavor: {get_input: fsb2_vfc_flavor}
378         scaling_capability:
379           properties:
380             min_instances: 1
381             max_instances: 1
382             init_instances: 1
383         monitoring_capability:
384           properties:
385             name: cpu_load
386
387     NCB1: # VFC3 / MV3
388       type: org.openecomp.resource.vfc.nodes.heat.nova.Server
389
390       metadata:
391         resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
392         resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
393         resourceversion: 1.0
394         resourceName: Nova Server
395         resourceDescription: VFC based on OpenStack Nova Server
396         resourceType: VFC
397         resourceCategry: Generic
398         resourceSubcategry: Infrastructure
399         resourceVendor: Ericsson        
400       properties:
401         vfc_ecomp_name: false
402         vfc_instance_name: {get_input: ncb1_vfc_instance_name} 
403         vfc_type_tag: {get_input: ncb1_vfc_type_tag} 
404         vfc_description: NCB1
405         vfc_image_name: {get_input: ncb1_vfc_image_name} 
406
407       requirements:
408          - binding:
409               capability: tosca.capabilities.network.Bindable
410               node: ncb1_oam
411               relationship: tosca.relationships.network.BindsTo
412          - binding:
413               capability: tosca.capabilities.network.Bindable
414               node: ncb1_internal1
415               relationship: tosca.relationships.network.BindsTo
416          - binding: 
417               capability: tosca.capabilities.network.Bindable
418               node: ncb1_internal2
419               relationship: tosca.relationships.network.BindsTo
420       capabilities:
421         nfv_compute:
422           properties:
423             vfc_flavor: {get_input: ncb1_vfc_flavor}
424         scaling_capability:
425           properties:
426             min_instances: 1
427             max_instances: 1
428             init_instances: 1
429         monitoring_capability:
430           properties:
431             name: cpu_load
432
433     NCB2: # VFC4 / VM4
434       type: org.openecomp.resource.vfc.nodes.heat.nova.Server
435
436       metadata:
437         resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
438         resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
439         resourceversion: 1.0
440         resourceName: Nova Server
441         resourceDescription: VFC based on OpenStack Nova Server
442         resourceType: VFC
443         resourceCategry: Generic
444         resourceSubcategry: Infrastructure
445         resourceVendor: Ericsson        
446       properties:
447         vfc_ecomp_name: false
448         vfc_instance_name: {get_input: ncb2_vfc_instance_name} 
449         vfc_type_tag: {get_input: ncb2_vfc_type_tag} 
450         vfc_description: NCB2
451         vfc_image_name: {get_input: ncb2_vfc_image_name} 
452
453       requirements:
454          - binding:
455               capability: tosca.capabilities.network.Bindable
456               node: ncb2_oam
457               relationship: tosca.relationships.network.BindsTo
458          - binding:
459               capability: tosca.capabilities.network.Bindable
460               node: ncb2_internal1
461               relationship: tosca.relationships.network.BindsTo
462          - binding: 
463               capability: tosca.capabilities.network.Bindable
464               node: ncb2_internal2
465               relationship: tosca.relationships.network.BindsTo
466       capabilities:
467         nfv_compute:
468           properties:
469             vfc_flavor: {get_input: ncb2_vfc_flavor}
470         scaling_capability:
471           properties:
472             min_instances: 1
473             max_instances: 1
474             init_instances: 1
475         monitoring_capability:
476           properties:
477             name: cpu_load
478
479     GPB1: # VFC5 / VM5
480       type: org.openecomp.resource.vfc.nodes.heat.nova.Server
481
482       metadata:
483         resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
484         resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
485         resourceversion: 1.0
486         resourceName: Nova Server
487         resourceDescription: VFC based on OpenStack Nova Server
488         resourceType: VFC
489         resourceCategry: Generic
490         resourceSubcategry: Infrastructure
491         resourceVendor: Ericsson        
492       properties:
493         vfc_ecomp_name: false
494         vfc_instance_name: {get_input: gpb1_vfc_instance_name} 
495         vfc_type_tag: {get_input: gpb1_vfc_type_tag} 
496         vfc_description: GPB1
497         vfc_image_name: {get_input: gpb1_vfc_image_name} 
498
499       requirements:
500          - binding:
501               capability: tosca.capabilities.network.Bindable
502               node: gpb1_oam
503               relationship: tosca.relationships.network.BindsTo
504          - binding:
505               capability: tosca.capabilities.network.Bindable
506               node: gpb1_internal1
507               relationship: tosca.relationships.network.BindsTo
508          - binding: 
509               capability: tosca.capabilities.network.Bindable
510               node: gpb1_internal2
511               relationship: tosca.relationships.network.BindsTo
512       capabilities:
513         nfv_compute:
514           properties:
515             vfc_flavor: {get_input: gpb1_vfc_flavor}
516         scaling_capability:
517           properties:
518             min_instances: 1
519             max_instances: 1
520             init_instances: 1
521         monitoring_capability:
522           properties:
523             name: cpu_load
524     
525     GPB2: # VFC6 / VM6
526       type: org.openecomp.resource.vfc.nodes.heat.nova.Server
527
528       metadata:
529         resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
530         resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
531         resourceversion: 1.0
532         resourceName: Nova Server
533         resourceDescription: VFC based on OpenStack Nova Server
534         resourceType: VFC
535         resourceCategry: Generic
536         resourceSubcategry: Infrastructure
537         resourceVendor: Ericsson        
538       properties:
539         vfc_ecomp_name: false
540         vfc_instance_name: {get_input: gpb2_vfc_instance_name} 
541         vfc_type_tag: {get_input: gpb2_vfc_type_tag} 
542         vfc_description: GPB2
543         vfc_image_name: {get_input: gpb2_vfc_image_name} 
544
545       requirements:
546          - binding:
547               capability: tosca.capabilities.network.Bindable
548               node: gpb2_oam
549               relationship: tosca.relationships.network.BindsTo
550          - binding:
551               capability: tosca.capabilities.network.Bindable
552               node: gpb2_internal1
553               relationship: tosca.relationships.network.BindsTo
554          - binding: 
555               capability: tosca.capabilities.network.Bindable
556               node: gpb2_internal2
557               relationship: tosca.relationships.network.BindsTo
558       capabilities:
559         nfv_compute:
560           properties:
561             vfc_flavor: {get_input: gpb2_vfc_flavor}
562         scaling_capability:
563           properties:
564             min_instances: 1
565             max_instances: 1
566             init_instances: 1
567         monitoring_capability:
568           properties:
569             name: cpu_load
570
571     VLC1: # VFC7 / VM7
572       type: org.openecomp.resource.vfc.nodes.heat.nova.Server
573
574       metadata:
575         resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
576         resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
577         resourceversion: 1.0
578         resourceName: Nova Server
579         resourceDescription: VFC based on OpenStack Nova Server
580         resourceType: VFC
581         resourceCategry: Generic
582         resourceSubcategry: Infrastructure
583         resourceVendor: Ericsson        
584       properties:
585         vfc_ecomp_name: false
586         vfc_instance_name: {get_input: vlc1_vfc_instance_name} 
587         vfc_type_tag: {get_input: vlc1_vfc_type_tag} 
588         vfc_description: VLC1
589         vfc_image_name: {get_input: vlc1_vfc_image_name} 
590
591       requirements:
592          - binding:
593               capability: tosca.capabilities.network.Bindable
594               node: vlc1_oam
595               relationship: tosca.relationships.network.BindsTo
596          - binding:
597               capability: tosca.capabilities.network.Bindable
598               node: vlc1_internal1
599               relationship: tosca.relationships.network.BindsTo
600          - binding: 
601               capability: tosca.capabilities.network.Bindable
602               node: vlc1_internal2
603               relationship: tosca.relationships.network.BindsTo
604       capabilities:
605         nfv_compute:
606           properties:
607             vfc_flavor: {get_input: vlc1_vfc_flavor}
608         scaling_capability:
609           properties:
610             min_instances: 1
611             max_instances: 1
612             init_instances: 1
613         monitoring_capability:
614           properties:
615             name: cpu_load
616
617     VLC2: # VFC8 / VM8
618       type: org.openecomp.resource.vfc.nodes.heat.nova.Server
619
620       metadata:
621         resourceInvariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2
622         resourceUUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0
623         resourceversion: 1.0
624         resourceName: Nova Server
625         resourceDescription: VFC based on OpenStack Nova Server
626         resourceType: VFC
627         resourceCategry: Generic
628         resourceSubcategry: Infrastructure
629         resourceVendor: Ericsson        
630       properties:
631         vfc_ecomp_name: false
632         vfc_instance_name: {get_input: vlc2_vfc_instance_name} 
633         vfc_type_tag: {get_input: vlc2_vfc_type_tag} 
634         vfc_description: VLC2
635         vfc_image_name: {get_input: vlc2_vfc_image_name} 
636
637       requirements:
638          - binding:
639               capability: tosca.capabilities.network.Bindable
640               node: vlc2_oam
641               relationship: tosca.relationships.network.BindsTo
642          - binding:
643               capability: tosca.capabilities.network.Bindable
644               node: vlc2_internal1
645               relationship: tosca.relationships.network.BindsTo
646          - binding: 
647               capability: tosca.capabilities.network.Bindable
648               node: vlc2_internal2
649               relationship: tosca.relationships.network.BindsTo
650       capabilities:
651         nfv_compute:
652           properties:
653             vfc_flavor: {get_input: vlc2_vfc_flavor}
654         scaling_capability:
655           properties:
656             min_instances: 1
657             max_instances: 1
658             init_instances: 1
659         monitoring_capability:
660           properties:
661             name: cpu_load
662       
663       
664   # Connection Points
665
666     fsb1_oam: # VFC1 OAM CP
667       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
668       properties:
669         address_Info:
670           ip_address: {get_input: fsb1_oam_ip_address}
671       requirements:
672         - binding:
673               capability: tosca.capabilities.network.Bindable
674               node: FSB1
675               relationship: tosca.relationships.network.BindsTo
676         - link:
677               capability: tosca.capabilities.network.Bindable
678               node: oam_net
679               relationship: tosca.relationships.network.BindsTo
680
681     fsb1_internal1: # VFC1 Internal1 CP
682       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
683       properties:
684         address_info:
685           mac_address:  {get_input: fsb1_internal1_mac_address}
686       requirements:
687         - binding:
688               capability: tosca.capabilities.network.Bindable
689               node: FSB1
690               relationship: tosca.relationships.network.BindsTo
691         - link:
692               capability: tosca.capabilities.network.Bindable
693               node: Internal1_net
694               relationship: tosca.relationships.network.BindsTo
695         
696     fsb1_internal2: # VFC1 Internal2 CP
697       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
698       properties:
699         address_info:
700           mac_address: {get_input: fsb1_internal2_mac_address} 
701       requirements:
702         - binding:
703               capability: tosca.capabilities.network.Bindable
704               node: FSB1
705               relationship: tosca.relationships.network.BindsTo
706         - link:
707               capability: tosca.capabilities.network.Bindable
708               node: Internal2_net
709               relationship: tosca.relationships.network.BindsTo
710
711     fsb2_oam: # VFC2 OAM CP
712       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
713       properties:
714         address_Info:
715           ip_address: {get_input: fsb2_oam_ip_address}
716       requirements:
717         - binding:
718               capability: tosca.capabilities.network.Bindable
719               node: FSB2
720               relationship: tosca.relationships.network.BindsTo
721         - link:
722               capability: tosca.capabilities.network.Bindable
723               node: oam_net
724               relationship: tosca.relationships.network.BindsTo
725
726     fsb2_internal1: # VFC2 Internal1 CP
727       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
728       properties:
729         address_info:
730           mac_address: {get_input: fsb2_internal1_mac_address}  
731       requirements:
732         - binding:
733               capability: tosca.capabilities.network.Bindable
734               node: FSB2
735               relationship: tosca.relationships.network.BindsTo
736         - link:
737               capability: tosca.capabilities.network.Bindable
738               node: Internal1_net
739               relationship: tosca.relationships.network.BindsTo
740
741     fsb2_internal2: # VFC2 Internal2 CP
742       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
743       properties:
744         address_info:
745           mac_address: {get_input: fsb2_internal2_mac_address} 
746       requirements:
747         - binding:
748               capability: tosca.capabilities.network.Bindable
749               node: FSB2
750               relationship: tosca.relationships.network.BindsTo
751         - link:
752               capability: tosca.capabilities.network.Bindable
753               node: Internal2_net
754               relationship: tosca.relationships.network.BindsTo
755
756     ncb1_internal1: # VFC3 Internal1 CP
757       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
758       properties:
759         address_info:
760           mac_address: {get_input: ncb1_internal1_mac_address} 
761       requirements:
762         - binding:
763               capability: tosca.capabilities.network.Bindable
764               node: NCB1
765               relationship: tosca.relationships.network.BindsTo
766         - link:
767               capability: tosca.capabilities.network.Bindable
768               node: Internal1_net
769               relationship: tosca.relationships.network.BindsTo
770
771     ncb1_internal2: # VFC3 Internal2 CP
772       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
773       properties:
774         address_info:
775           mac_address: {get_input: ncb1_internal2_mac_address} 
776       requirements:
777         - binding:
778               capability: tosca.capabilities.network.Bindable
779               node: NCB1
780               relationship: tosca.relationships.network.BindsTo
781         - link:
782               capability: tosca.capabilities.network.Bindable
783               node: Internal2_net
784               relationship: tosca.relationships.network.BindsTo
785
786     ncb2_internal1: # VFC4 Internal1 CP
787       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
788       properties:
789         address_info:
790           mac_address: {get_input: ncb2_internal1_mac_address} 
791       requirements:
792         - binding:
793               capability: tosca.capabilities.network.Bindable
794               node: NCB2
795               relationship: tosca.relationships.network.BindsTo
796         - link:
797               capability: tosca.capabilities.network.Bindable
798               node: Internal1_net
799               relationship: tosca.relationships.network.BindsTo
800
801     ncb2_internal2: # VFC4 Internal2 CP
802       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
803       properties:
804         address_info:
805           mac_address: {get_input: ncb2_internal2_mac_address} 
806       requirements:
807         - binding:
808               capability: tosca.capabilities.network.Bindable
809               node: NCB2
810               relationship: tosca.relationships.network.BindsTo
811         - link:
812               capability: tosca.capabilities.network.Bindable
813               node: Internal2_net
814               relationship: tosca.relationships.network.BindsTo
815
816     gpb1_internal1: # VFC5 Internal1 CP
817       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
818       properties:
819         address_info:
820           mac_address: {get_input: gpb1_internal1_mac_address} 
821       requirements:
822         - binding:
823               capability: tosca.capabilities.network.Bindable
824               node: GPB1
825               relationship: tosca.relationships.network.BindsTo
826         - link:
827               capability: tosca.capabilities.network.Bindable
828               node: Internal1_net
829               relationship: tosca.relationships.network.BindsTo
830
831     gpb1_internal2: # VFC5 Internal2 CP
832       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
833       properties:
834         address_info:
835           mac_address: {get_input: gpb1_internal2_mac_address} 
836       requirements:
837         - binding:
838               capability: tosca.capabilities.network.Bindable
839               node: GPB1
840               relationship: tosca.relationships.network.BindsTo
841         - link:
842               capability: tosca.capabilities.network.Bindable
843               node: Internal2_net
844               relationship: tosca.relationships.network.BindsTo
845
846     gpb2_internal1: # VFC6 Internal1 CP
847       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
848       properties:
849         address_info:
850           mac_address: {get_input: gpb2_internal1_mac_address} 
851       requirements:
852         - binding:
853               capability: tosca.capabilities.network.Bindable
854               node: GPB2
855               relationship: tosca.relationships.network.BindsTo
856         - link:
857               capability: tosca.capabilities.network.Bindable
858               node: Internal1_net
859               relationship: tosca.relationships.network.BindsTo
860
861     gpb2_internal2: # VFC6 Internal2 CP
862       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
863       properties:
864         address_info:
865           mac_address: {get_input: gpb2_internal2_mac_address} 
866       requirements:
867         - binding:
868               capability: tosca.capabilities.network.Bindable
869               node: GPB2
870               relationship: tosca.relationships.network.BindsTo
871         - link:
872               capability: tosca.capabilities.network.Bindable
873               node: Internal2_net
874               relationship: tosca.relationships.network.BindsTo
875
876     vlc1_oam: # VFC7 OAM CP
877       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
878       properties:
879         address_Info:
880           ip_address: {get_input: vlc1_oam_ip_address}
881       requirements:
882         - binding:
883               capability: tosca.capabilities.network.Bindable
884               node: VLC1
885               relationship: tosca.relationships.network.BindsTo
886         - link:
887               capability: tosca.capabilities.network.Bindable
888               node: oam_net
889               relationship: tosca.relationships.network.BindsTo
890
891     vlc1_internal2: # VFC7 Internal2 CP
892       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
893       properties:
894         address_info:
895           mac_address: {get_input: vlc1_internal2_mac_address} 
896       requirements:
897         - binding:
898               capability: tosca.capabilities.network.Bindable
899               node: VLC1
900               relationship: tosca.relationships.network.BindsTo
901         - link:
902               capability: tosca.capabilities.network.Bindable
903               node: Internal2_net
904               relationship: tosca.relationships.network.BindsTo
905
906     vlc1_sctp_a: # VFC7 eca_sctp_a CP
907       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
908       properties:
909         address_Info:
910           ip_address: {get_input: vlc2_sctp_a_ip_address}
911       requirements:
912         - binding:
913               capability: tosca.capabilities.network.Bindable
914               node: VLC1
915               relationship: tosca.relationships.network.BindsTo
916         # - link:
917               # capability: tosca.capabilities.network.Bindable
918               # node: sctp_a_net
919               # relationship: tosca.relationships.network.BindsTo
920
921     vlc1_sctp_b: # VFC7 eca_sctp_b CP
922       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
923       properties:
924         address_Info:
925           ip_address: {get_input: vlc2_sctp_b_ip_address}
926       requirements:
927         - binding:
928               capability: tosca.capabilities.network.Bindable
929               node: VLC1
930               relationship: tosca.relationships.network.BindsTo
931         # - link:
932               # capability: tosca.capabilities.network.Bindable
933               # node: sctp_b_net
934               # relationship: tosca.relationships.network.BindsTo
935
936     vlc1_gtp_net: # VFC7 Internal2 CP
937       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
938       properties:
939         address_Info:
940           ip_address: {get_input: vlc1_gtp_ip_address}
941       requirements:
942         - binding:
943               capability: tosca.capabilities.network.Bindable
944               node: VLC1
945               relationship: tosca.relationships.network.BindsTo
946         # - link:
947               # capability: tosca.capabilities.network.Bindable
948               # node: gtp_net
949               # relationship: tosca.relationships.network.BindsTo
950
951     vlc2_oam: # VFC8 OAM CP
952       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
953       properties:
954         address_Info:
955           ip_address: {get_input: vlc2_oam_ip_address}
956       requirements:
957         - binding:
958               capability: tosca.capabilities.network.Bindable
959               node: VLC2
960               relationship: tosca.relationships.network.BindsTo
961         - link:
962               capability: tosca.capabilities.network.Bindable
963               node: oam_net
964               relationship: tosca.relationships.network.BindsTo
965
966     vlc2_internal1: # VFC8 Internal1 CP
967       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
968       properties:
969         address_info:
970           mac_address: {get_input: vlc2_internal1_mac_address} 
971       requirements:
972         - binding:
973               capability: tosca.capabilities.network.Bindable
974               node: VLC2
975               relationship: tosca.relationships.network.BindsTo
976         - link:
977               capability: tosca.capabilities.network.Bindable
978               node: Internal1_net
979               relationship: tosca.relationships.network.BindsTo
980
981     vlc2_internal2: # VFC8 Internal2 CP
982       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
983       properties:
984         address_info:
985           mac_address: {get_input: vlc2_internal2_mac_address} 
986       requirements:
987         - binding:
988               capability: tosca.capabilities.network.Bindable
989               node: VLC2
990               relationship: tosca.relationships.network.BindsTo
991         - link:
992               capability: tosca.capabilities.network.Bindable
993               node: Internal2_net
994               relationship: tosca.relationships.network.BindsTo
995
996     vlc2_sctp_a: # VFC8 eca_sctp_a CP
997       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
998       properties:
999         address_Info:
1000           ip_address: {get_input: vlc2_sctp_a_ip_address}
1001       requirements:
1002         - binding:
1003               capability: tosca.capabilities.network.Bindable
1004               node: VLC2
1005               relationship: tosca.relationships.network.BindsTo
1006         # - link:
1007               # capability: tosca.capabilities.network.Bindable
1008               # node: sctp_a_net
1009               # relationship: tosca.relationships.network.BindsTo
1010
1011     vlc2_sctp_b: # VFC8 eca_sctp_b CP
1012       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1013       properties:
1014         address_Info:
1015           ip_address: {get_input: vlc2_sctp_b_ip_address}
1016       requirements:
1017         - binding:
1018               capability: tosca.capabilities.network.Bindable
1019               node: VLC2
1020               relationship: tosca.relationships.network.BindsTo
1021         # - link:
1022               # capability: tosca.capabilities.network.Bindable
1023               # node: sctp_b_net
1024               # relationship: tosca.relationships.network.BindsTo
1025
1026     vlc2_gtp_net: # VFC8 gtp CP
1027       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
1028       properties:
1029         address_Info:
1030           ip_address: {get_input: vlc2_gtp_ip_address}
1031       requirements:
1032         - binding:
1033               capability: tosca.capabilities.network.Bindable
1034               node: VLC2
1035               relationship: tosca.relationships.network.BindsTo
1036         # - link:
1037               # capability: tosca.capabilities.network.Bindable
1038               # node: gtp_net
1039               # relationship: tosca.relationships.network.BindsTo
1040
1041   # Virtual Links (Networks)
1042   
1043     Internal1_net:
1044       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1045
1046       metadata:
1047         resourceInvariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c
1048         resourceUUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234
1049         resourceversion: 1.0
1050         resourceName: Network
1051         resourceDescription: Internal Network
1052         resourceType: VL
1053         resourceCategry: Generic
1054         resourceSubcategory: Infrastructure
1055         resourceVendor: AT&T
1056       properties:
1057         network_type: Tenant_Layer_3
1058         network_role: 
1059         network_technology: Contrail
1060         network_ecomp_name: false
1061         network_homing: false
1062         network_deployment_node: { get_input : network_deployment_node }
1063         contrail_virtual_network:
1064           vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1
1065           vn_forwarding_mode: l2
1066           vn_shared: false
1067           vn_external: false
1068         layer_protocol: IP
1069         flow_pattern: E-LAN
1070         test_access: none
1071         ip_version: 4
1072         enable_dhcp: {get_input: Internal1_net_enable_dhcp}
1073         cidr: {get_input: Internal1_net_cidr}
1074         gateway_ip: {get_input: Internal1_net_gateway_ip}
1075      
1076     Internal2_net:
1077       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
1078       metadata:
1079         resourceInvariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c
1080         resourceUUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234
1081         resourceversion: 1.0
1082         resourceName: Network
1083         resourceDescription: Internal Network
1084         resourceType: VL
1085         resourceCategry: Generic
1086         resourceSubcategory: Infrastructure
1087         resourceVendor: AT&T
1088       properties:
1089         network_type: Tenant_Layer_3
1090         network_role: 
1091         network_technology: Contrail
1092         network_ecomp_name: false
1093         network_homing: false
1094         network_deployment_node: { get_input : network_deployment_node }
1095         contrail_virtual_network:
1096           vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2
1097           vn_forwarding_mode: l2
1098           vn_shared: false
1099           vn_external: false
1100         layer_protocol: IP
1101         flow_pattern: E-LAN
1102         test_access: none
1103         ip_version: 4
1104         enable_dhcp: {get_input: Internal2_net_enable_dhcp}
1105         cidr: {get_input: Internal2_net_cidr}
1106         gateway_ip: {get_input: Internal2_net_gateway_ip}
1107   
1108     
1109     oam_net:
1110       type: org.openecomp.resource.vl.OAM
1111
1112       metadata:
1113         resourceInvariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a
1114         resourceUUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc
1115         resourceversion: 2.0
1116         resourceName: Mobility OAM Network
1117         resourceDescription: Mobility OAM Network
1118         resourceType: VL
1119         resourceCategry: VL
1120         resourceVendor: AT&T
1121
1122       properties:
1123         network_type: vIPR_ATM_OAM
1124         network_technology: Contrail
1125         network_id: {get_input: oam_net_id}
1126         layer_protocol: IP
1127         flow_pattern: E-LAN
1128         test_access: none
1129       
1130   
1131   groups:
1132
1133     # VF Modules
1134     vfmoduleVmmeModule-1:
1135       type: org.openecomp.groups.VfModule
1136
1137       metadata:
1138         vfModuleModelName: vMME::module-1
1139         vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c
1140         vfModuleModelUUID: b220ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc
1141         vfModuleModelVersion: 1
1142
1143       properties:
1144         vf_module_type: Expansion # set by service designer
1145         vf_module_label: vMME Expansion VF Module # set by service designer
1146         vf_module_description: vMME expansion VF Module # set by service designer
1147         contrail_service_instance: true # from HEAT
1148         availability_zone_count: 2 # from HEAT
1149         volume_group: false # from HEAT / service Designer
1150         artifacts: # HEAT Templates
1151           - /Artifacts/vmme_small_create_fsb.yml
1152           - /Artifacts/vmme_small.yml
1153       
1154       members:
1155       - FSB1
1156       - FSB2
1157       - NCB1
1158       - NCB2
1159       - VLC2
1160       - oam_net
1161       - vlc2_gtp_net
1162       - Internal1_net
1163       - fsb1_oam
1164       - Internal2_net
1165
1166
1167    
1168     # HEAT Stacks 
1169
1170     vmme_small:
1171       type: org.openecomp.groups.heat.HeatStack
1172       properties:
1173         heat_file: ../Artifacts/vmme_small.yml
1174         description: HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc
1175
1176       members: [ FSB1, FSB2, NCB1, NCB2, VLC1, VLC2, GPB1, GPB2, Internal1_net, Internal2_net, fsb1_oam, 
1177                 fsb1_internal1, fsb1_internal2, fsb2_oam, fsb2_internal2, ncb1_internal1, ncb1_internal2,
1178                 ncb2_internal1, ncb2_internal2, gpb1_internal1, gpb1_internal2, gpb2_internal1,
1179                 gpb2_internal2, vlc1_oam, vlc1_internal1, vlc1_internal2, vlc1_sctp_a, vlc1_sctp_b, 
1180                 vlc1_gtp, vlc2_oam, vlc2_internal1, vlc2_internal2, vlc2_sctp_a, vlc2_sctp_b, vlc1_gtp ]
1181     
1182     vmme_small_create_fsb:
1183       type: org.openecomp.groups.heat.HeatStack
1184       properties:
1185         heat_file: ../Artifacts/vmme_small_create_fsb.yml
1186         description: server template for vMME
1187         
1188       members: [ FSB1_volume, FSB2_volume ]
1189
1190   policies:
1191     # Autoscaling policy
1192     - mme_autoscale_policy:
1193         type: org.openecomp.policy.Autoscaling
1194         properties:
1195           min_instances: 1
1196           max_instances: 4
1197           increment: 1
1198           factor: cpu_load
1199           threshold: 80%
1200
1201         target: [ vfmoduleVmmeModule-1]
1202         
1203   
1204   substitution_mapping:
1205       type: org.openecomp.resource.vf.vmme
1206       
1207       requirements:
1208         - vlc1_gtp_net.link: 
1209               capability: tosca.capabilities.network.Linkable
1210               relationship: tosca.relationships.network.LinksTo
1211         - vlc2_gtp_net.link: 
1212               capability: tosca.capabilities.network.Linkable
1213               relationship: tosca.relationships.network.LinksTo   
1214         - vlc1_sctp_a.link: 
1215               capability: tosca.capabilities.network.Linkable
1216               relationship: tosca.relationships.network.LinksTo
1217         - vlc1_sctp_b.link: 
1218               capability: tosca.capabilities.network.Linkable
1219               relationship: tosca.relationships.network.LinksTo