2 # ============LICENSE_START=======================================================
3 # org.onap.vvp/validation-scripts
4 # ===================================================================
5 # Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 # ===================================================================
8 # Unless otherwise specified, all software contained herein is licensed
9 # under the Apache License, Version 2.0 (the "License");
10 # you may not use this software except in compliance with the License.
11 # You may obtain a copy of the License at
13 # http://www.apache.org/licenses/LICENSE-2.0
15 # Unless required by applicable law or agreed to in writing, software
16 # distributed under the License is distributed on an "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 # See the License for the specific language governing permissions and
19 # limitations under the License.
23 # Unless otherwise specified, all documentation contained herein is licensed
24 # under the Creative Commons License, Attribution 4.0 Intl. (the "License");
25 # you may not use this documentation except in compliance with the License.
26 # You may obtain a copy of the License at
28 # https://creativecommons.org/licenses/by/4.0/
30 # Unless required by applicable law or agreed to in writing, documentation
31 # distributed under the License is distributed on an "AS IS" BASIS,
32 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33 # See the License for the specific language governing permissions and
34 # limitations under the License.
36 # ============LICENSE_END============================================
38 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
41 heat_template_version: 2015-04-30
43 description: Heat template description
49 description: Unique ID for this VNF instance
53 description: Unique ID for this VF module
57 description: Unique name for this VNF instance
60 type: comma_delimited_list
61 description: Names attribute for the VMs
64 type: comma_delimited_list
65 description: Names attribute for the VMs
69 description: flavor to be used to create this vm must be one of the following flavors
73 description: flavor to be used to create this vm must be one of the following flavors
77 description: availability zone to be used
81 description: network name for the external network extnet
85 description: network id for the external network extnet
89 description: network id for the internal network intranet
93 description: db_int_intranet_ip_0
95 db_int_intranet_v6_ip_0:
97 description: db_int_intranet_v6_ip_0
100 type: comma_delimited_list
101 description: db_int_intranet_ips
103 db_int_intranet_v6_ips:
104 type: comma_delimited_list
105 description: db_int_intranet_v6_ips
107 db_int_intranet_floating_ip:
109 description: db_int_intranet_floating_ip
111 db_int_intranet_floating_v6_ip:
113 description: db_int_intranet_floating_v6_ip
117 description: lb_extnet_ip_0
121 description: lb_extnet_v6_ip_0
124 type: comma_delimited_list
125 description: lb_extnet_ips
128 type: comma_delimited_list
129 description: lb_extnet_v6_ips
131 lb_extnet_floating_ip:
133 description: lb_extnet_floating_ip
135 lb_extnet_floating_v6_ip:
137 description: lb_extnet_floating_v6_ip
142 type: OS::Nova::Server
144 availability_zone: { get_param: availability_zone_0 }
145 name: { get_param: [lb_names, 0] }
146 flavor: { get_param: lb_flavor_name}
148 - port: { get_resource: lb_0_extnet_0_port }
149 - port: { get_resource: lb_1_extnet_0_port }
150 - port: { get_resource: lb_2_extnet_0_port }
151 - port: { get_resource: lb_3_extnet_0_port }
152 - port: { get_resource: lb_4_extnet_0_port }
153 - port: { get_resource: lb_5_extnet_0_port }
155 vnf_name: { get_param: vnf_name }
156 vnf_id: { get_param: vnf_id }
157 vf_module_id: { get_param: vf_module_id }
160 type: OS::Nova::Server
162 availability_zone: { get_param: availability_zone_0 }
163 name: { get_param: [db_names, 1] }
164 flavor: { get_param: db_flavor_name}
166 - port: { get_resource: db_0_int_intranet_0_port }
167 - port: { get_resource: db_1_int_intranet_0_port }
168 - port: { get_resource: db_2_int_intranet_0_port }
169 - port: { get_resource: db_3_int_intranet_0_port }
170 - port: { get_resource: db_4_int_intranet_0_port }
171 - port: { get_resource: db_5_int_intranet_0_port }
173 vnf_name: { get_param: vnf_name }
174 vnf_id: { get_param: vnf_id }
175 vf_module_id: { get_param: vf_module_id }
177 db_0_int_intranet_0_port:
178 type: OS::Neutron::Port
180 network: { get_param: int_intranet_net_id }
181 allowed_address_pairs:
182 - ip_address: { get_param: db_int_intranet_ip_0 }
184 db_1_int_intranet_0_port:
185 type: OS::Neutron::Port
187 network: { get_param: int_intranet_net_id }
188 allowed_address_pairs:
189 - ip_address: { get_param: db_int_intranet_v6_ip_0 }
191 db_2_int_intranet_0_port:
192 type: OS::Neutron::Port
194 network: { get_param: int_intranet_net_id }
195 allowed_address_pairs:
196 - ip_address: { get_param: [db_int_intranet_ips, 0] }
198 db_3_int_intranet_0_port:
199 type: OS::Neutron::Port
201 network: { get_param: int_intranet_net_id }
202 allowed_address_pairs:
203 - ip_address: { get_param: [db_int_intranet_v6_ips, 0] }
205 db_4_int_intranet_0_port:
206 type: OS::Neutron::Port
208 network: { get_param: int_intranet_net_id }
209 allowed_address_pairs:
210 - ip_address: { get_param: db_int_intranet_floating_ip }
212 db_5_int_intranet_0_port:
213 type: OS::Neutron::Port
215 network: { get_param: int_intranet_net_id }
216 allowed_address_pairs:
217 - ip_address: { get_param: db_int_intranet_floating_v6_ip }
220 type: OS::Neutron::Port
222 network: { get_param: extnet_net_name }
223 allowed_address_pairs:
224 - ip_address: { get_param: lb_extnet_ip_0 }
227 type: OS::Neutron::Port
229 network: { get_param: extnet_net_id }
230 allowed_address_pairs:
231 - ip_address: { get_param: lb_extnet_v6_ip_0 }
234 type: OS::Neutron::Port
236 network: { get_param: extnet_net_name }
237 allowed_address_pairs:
238 - ip_address: { get_param: [lb_extnet_ips, 0] }
241 type: OS::Neutron::Port
243 network: { get_param: extnet_net_id }
244 allowed_address_pairs:
245 - ip_address: { get_param: [lb_extnet_v6_ips, 0] }
248 type: OS::Neutron::Port
250 network: { get_param: extnet_net_name }
251 allowed_address_pairs:
252 - ip_address: { get_param: lb_extnet_floating_ip }
255 type: OS::Neutron::Port
257 network: { get_param: extnet_net_id }
258 allowed_address_pairs:
259 - ip_address: { get_param: lb_extnet_floating_v6_ip }