Initial CDS blueprint for vFW CNF demo
[demo.git] / heat / vFW_CNF_CDS / templates / base / vpkg.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 heat template for vPacketgen
28
29 ##############
30 #            #
31 # PARAMETERS #
32 #            #
33 ##############
34
35 parameters:
36   vpg_image_name:
37     type: string
38     label: Image name or ID
39     description: Image to be used for compute instance
40   vpg_flavor_name:
41     type: string
42     label: Flavor
43     description: Type of instance (flavor) to be used
44   public_net_id:
45     type: string
46     label: Public network name or ID
47     description: Public network that enables remote connection to VNF
48   int_private1_net_id:
49     type: string
50     label: Unprotected private network name or ID
51     description: Private network that connects vPacketGenerator with vFirewall
52   int_private1_subnet_id:
53     type: string
54     label: Unprotected private sub-network name or ID
55     description: Private subnetwork for the unprotected network
56   int_private1_net_cidr:
57     type: string
58     label: Unprotected private network CIDR
59     description: The CIDR of the unprotected private network
60   int_private2_net_cidr:
61     type: string
62     label: Protected private network CIDR
63     description: The CIDR of the protected private network
64   onap_private_net_id:
65     type: string
66     label: ONAP management network name or ID
67     description: Private network that connects ONAP components and the VNF
68   onap_private_subnet_id:
69     type: string
70     label: ONAP management sub-network name or ID
71     description: Private sub-network that connects ONAP components and the VNF
72   onap_private_net_cidr:
73     type: string
74     label: ONAP private network CIDR
75     description: The CIDR of the protected private network
76   vfw_int_private1_ip_0:
77     type: string
78     label: vFirewall private IP address towards the unprotected network
79     description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
80   vsn_int_private2_ip_0:
81     type: string
82     label: vSink private IP address towards the protected network
83     description: Private IP address that is assigned to the vSink to communicate with the vFirewall
84   vpg_int_private1_ip_0:
85     type: string
86     label: vPacketGenerator private IP address towards the unprotected network
87     description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
88   vpg_onap_private_ip_0:
89     type: string
90     label: vPacketGenerator private IP address towards the ONAP management network
91     description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
92   vpg_name_0:
93     type: string
94     label: vPacketGenerator name
95     description: Name of the vPacketGenerator
96   vnf_name:
97     type: string
98     label: VNF NAME
99     description: The VNF NAME is provided by ONAP
100   vnf_id:
101     type: string
102     label: VNF ID
103     description: The VNF ID is provided by ONAP
104   vf_module_id:
105     type: string
106     label: VF Module ID
107     description: The VF Module ID is provided by ONAP
108   key_name:
109     type: string
110     label: Key pair name
111     description: Public/Private key pair name
112   install_script_version:
113     type: string
114     label: Installation script version number
115     description: Version number of the scripts that install the vFW demo app
116   demo_artifacts_version:
117     type: string
118     label: Artifacts version used in demo vnfs
119     description: Artifacts (jar, tar.gz) version used in demo vnfs
120   nexus_artifact_repo:
121     type: string
122     description: Root URL for the Nexus repository for Maven artifacts.
123   #  default: "https://nexus.onap.org"
124   cloud_env:
125     type: string
126     label: Cloud environment
127     description: Cloud environment (e.g., openstack, rackspace)
128   sec_group:
129     type: string
130     description: ONAP Security Group
131
132
133 #############
134 #           #
135 # RESOURCES #
136 #           #
137 #############
138
139 resources:
140   dummy:
141     type: OS::Heat::None
142     properties:
143       vpg_image_name:
144         get_param: vpg_image_name
145       vpg_flavor_name:
146         get_param: vpg_flavor_name
147       public_net_id:
148         get_param: public_net_id
149       int_private1_net_id:
150         get_param: int_private1_net_id
151       int_private1_subnet_id:
152         get_param: int_private1_subnet_id
153       int_private1_net_cidr:
154         get_param: int_private1_net_cidr
155       int_private2_net_cidr:
156         get_param: int_private2_net_cidr
157       onap_private_net_id:
158         get_param: onap_private_net_id
159       onap_private_subnet_id:
160         get_param: onap_private_subnet_id
161       onap_private_net_cidr:
162         get_param: onap_private_net_cidr
163       vfw_int_private1_ip_0:
164         get_param: vfw_int_private1_ip_0
165       vsn_int_private2_ip_0:
166         get_param: vsn_int_private2_ip_0
167       vpg_int_private1_ip_0:
168         get_param: vpg_int_private1_ip_0
169       vpg_onap_private_ip_0:
170         get_param: vpg_onap_private_ip_0
171       vpg_name_0:
172         get_param: vpg_name_0
173       vnf_name:
174         get_param: vnf_name
175       vnf_id:
176         get_param: vnf_id
177       vf_module_id:
178         get_param: vf_module_id
179       key_name:
180         get_param: key_name
181       install_script_version:
182         get_param: install_script_version
183       demo_artifacts_version:
184         get_param: demo_artifacts_version
185       nexus_artifact_repo:
186         get_param: nexus_artifact_repo
187       cloud_env:
188         get_param: cloud_env
189       sec_group:
190         get_param: sec_group