VNF Software Version parameter added to CDS Heat templates
[demo.git] / heat / vFW_CNF_CDS / templates / base / base_template.yaml
1 ##########################################################################
2 #
3 #==================LICENSE_START==========================================
4 #
5 #
6 # Copyright © 2020 Samsung Electronics
7 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
8 #
9 # Licensed under the Apache License, Version 2.0 (the "License");
10 # you may not use this file except in compliance with the License.
11 # You may obtain a copy of the License at
12 #        http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 #
20 #==================LICENSE_END============================================
21 #
22 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 #
24 ##########################################################################
25
26 heat_template_version: 2013-05-23
27
28 description: Dummy base heat template for vFW usecase
29
30 ##############
31 #            #
32 # PARAMETERS #
33 #            #
34 ##############
35
36 parameters:
37   vnf_name:
38     type: string
39     description: VNF_NAME
40   vnf_id:
41     type: string
42     label: VNF ID
43     description: The VNF ID is provided by ONAP
44   vf_module_id:
45     type: string
46     label: VF Module ID
47     description: The VF Module ID is provided by ONAP
48   vnf_software_version:
49     type: string
50     label: VNF software version
51     description: VNF software version
52     default: 1.0.0
53
54 #############
55 #           #
56 # RESOURCES #
57 #           #
58 #############
59
60 resources:
61   dummy:
62     type: OS::Heat::None
63     properties:
64       vnf_name:
65         get_param: vnf_name
66       vnf_id:
67         get_param: vnf_id
68       vf_module_id:
69         get_param: vf_module_id
70
71   #SDC won't allow too dummy resource as it has to find 'topology_template' TOSCA equivalent in heat templates
72   dummy_base:
73     type: OS::Nova::Server
74     properties:
75       name: test
76       image: test
77       flavor: test