fbcf1810605fa5da26954e4cd34b7a76106aa7d9
[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
49 #############
50 #           #
51 # RESOURCES #
52 #           #
53 #############
54
55 resources:
56   dummy:
57     type: OS::Heat::None
58     properties:
59       vnf_name:
60         get_param: vnf_name
61       vnf_id:
62         get_param: vnf_id
63       vf_module_id:
64         get_param: vf_module_id
65
66   #SDC won't allow too dummy resource as it has to find 'topology_template' TOSCA equivalent in heat templates
67   dummy_base:
68     type: OS::Nova::Server
69     properties:
70       name: test
71       image: test
72       flavor: test