aboutsummaryrefslogtreecommitdiffstats
path: root/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/aai/service_vmme_template_1.yml
blob: c740f67b51d7a68ecc56c993da33eee9e6a97cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0

description: Service Template for deploing MME Service

metadata:
  invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7
  UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0
  type: Service
  name: vMME_Service
  description: vMME_Service
  category: Mobility
  serviceEcompNaming: false
  serviceHoming: false

imports:
  vmmeToscaTemplate:
    file: vf_vmme_template_1.yml
    
topology_template:

  inputs:    
    mme_vf_instance_name:
      type: string
      description: VF instance name
    mme_vf_deployment_node:
      type: string
      description: The target LCP node for deployment of this VF instance
    gtp_net_network_name:
      type: string
      description: The GTP network route targets
      default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV
    gtp_net_route_targets:
      type: string
      description: The GTP network route targets
      default: "13979:105715" # HEAT ENV
    gtp_net_cidr:
      type: string
      description: The GTP network cidr
      default: 107.243.37.64/27 # HEAT ENV
    gtp_net_gateway_ip:
      type: string
      description: The GTP network gateway
      default: 107.243.37.65 # HEAT ENV
    gtp_net_start_ip:
      type: string
      description: The GTP network start ip
      default: 107.243.37.67 # HEAT ENV
    gtp_net_end_ip:
      type: string
      description: The GTP network end ip
      default: 107.243.37.94 # HEAT ENV
     # more inputs were removed for brevity 
      
  node_templates:

    mme: # vMME VNF
      type: org.openecomp.resource.vf.vmme

      metadata:
          invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22
          UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc
          version: 3.0
          name: vMME_VF
          description: vMME_VF
          type: VF
          category: Application L4+
          subcategory: Firewall
          resourceVendor: Ericsson

      properties:
        vf_ecomp_name: false
        vf_instance_name: { get_input: vf_instance_name }
        vf_homing: false
        vf_deployment_node: { get_input: vf_deployment_node }

      requirements:
        - vlc1_sctp_a.link:
              capability: tosca.capabilities.network.Bindable
              node: sctp_a_net
              relationship: tosca.relationships.network.BindsTo
        - vlc1_sctp_b.link:
              capability: tosca.capabilities.network.Bindable
              node: sctp_b_net
              relationship: tosca.relationships.network.BindsTo
        - vlc1_gtp_net.link:
              capability: tosca.capabilities.network.Bindable
              node: gtp_net
              relationship: tosca.relationships.network.BindsTo

  groups:

    external_networks: # vMME_External_Network
      type: org.openecomp.groups.externalNetworks
      properties:
        contrail_service_instance: true # from HEAT
        availability_zone_count: 1 # from HEAT
              
      members: [ sctp_a_net, sctp_b_net, gtp_net ]