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