ActivitySpec - Correcting logger messages
[sdc.git] / common / openecomp-sdc-artifact-generator-lib / openecomp-sdc-artifact-generator-test / src / main / resources / service_vmme_template_VerifyVFModWithInvalidNo.yml
1 tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0
2
3 description: Service Template for deploing MME Service
4
5 metadata:
6   invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7
7   UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0
8   version: 1.0
9   name: vMME_Service
10   type: Service
11   description: vMME_Service
12   category: Mobility
13   ecompNaming: false
14   homing: false
15
16 imports:
17   vmmeToscaTemplate:
18     file: vf_vmme_template_1.yml
19     
20 topology_template:
21
22   inputs:    
23     mme_vf_instance_name:
24       type: string
25       description: VF instance name
26     mme_vf_deployment_node:
27       type: string
28       description: The target LCP node for deployment of this VF instance
29     gtp_net_network_name:
30       type: string
31       description: The GTP network route targets
32       default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV
33     gtp_net_route_targets:
34       type: string
35       description: The GTP network route targets
36       default: "13979:105715" # HEAT ENV
37     gtp_net_cidr:
38       type: string
39       description: The GTP network cidr
40       default: 107.243.37.64/27 # HEAT ENV
41     gtp_net_gateway_ip:
42       type: string
43       description: The GTP network gateway
44       default: 107.243.37.65 # HEAT ENV
45     gtp_net_start_ip:
46       type: string
47       description: The GTP network start ip
48       default: 107.243.37.67 # HEAT ENV
49     gtp_net_end_ip:
50       type: string
51       description: The GTP network end ip
52       default: 107.243.37.94 # HEAT ENV
53      # more inputs were removed for brevity 
54       
55   node_templates:
56
57     mme: # vMME VNF
58       type: org.openecomp.resource.vf.vmme
59
60       metadata:
61           invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22
62           UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc
63           version: 1.0
64           name: vMME_VF
65           description: vMME_VF
66           type: VF
67           category: Application L4+
68           subcategory: Firewall
69           vendor: Ericsson
70
71       properties:
72         vf_ecomp_name: false
73         vf_instance_name: { get_input: vf_instance_name }
74         vf_homing: false
75         vf_deployment_node: { get_input: vf_deployment_node }
76
77       requirements:
78         - vlc1_sctp_a.link:
79               capability: tosca.capabilities.network.Bindable
80               node: sctp_a_net
81               relationship: tosca.relationships.network.BindsTo
82         - vlc1_sctp_b.link:
83               capability: tosca.capabilities.network.Bindable
84               node: sctp_b_net
85               relationship: tosca.relationships.network.BindsTo
86         - vlc1_gtp_net.link:
87               capability: tosca.capabilities.network.Bindable
88               node: gtp_net
89               relationship: tosca.relationships.network.BindsTo
90
91
92   # Virtual Links (Networks)
93   
94   groups:
95
96     external_networks: # vMME_External_Network
97       type: org.openecomp.groups.externalNetworks
98       properties:
99         contrail_service_instance: true # from HEAT
100         availability_zone_count: 1 # from HEAT
101               
102       members: [ sctp_a_net, sctp_b_net, gtp_net ]