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