aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/resources/base_template.yaml
blob: eb6962b95e1414afd7e2f4f947d4bac4d849d5bf (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
heat_template_version: 2013-05-23

description: Dummy base heat template

##############
#            #
# PARAMETERS #
#            #
##############

parameters:
  vnf_name:
    type: string
    description: VNF_NAME
  vnf_id:
    type: string
    label: VNF ID
    description: The VNF ID is provided by ONAP
  vf_module_id:
    type: string
    label: VF Module ID
    description: The VF Module ID is provided by ONAP

#############
#           #
# RESOURCES #
#           #
#############

resources:
  dummy:
    type: OS::Heat::None
    properties:
      vnf_name:
        get_param: vnf_name
      vnf_id:
        get_param: vnf_id
      vf_module_id:
        get_param: vf_module_id

  #SDC won't allow too dummy resource as it has to find 'topology_template' TOSCA equivalent in heat templates
  dummy_base:
    type: OS::Nova::Server
    properties:
      name: test
      image: test
      flavor: test