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
101 description: db_int_intranet_ips
103 db_int_intranet_v6_ips:
105 description: db_int_intranet_v6_ips
109 description: lb_extnet_ip_0
113 description: lb_extnet_ip_1
117 description: lb_extnet_v6_ip_0
121 description: lb_extnet_ips
125 description: lb_extnet_v6_ips
130 type: OS::Nova::Server
132 availability_zone: { get_param: availability_zone_0 }
133 name: { get_param: [lb_names, 0] }
134 flavor: { get_param: lb_flavor_name}
136 - port: { get_resource: lb_0_extnet_0_port }
137 - port: { get_resource: lb_1_extnet_0_port }
138 - port: { get_resource: lb_2_extnet_0_port }
139 - port: { get_resource: lb_3_extnet_0_port }
141 vnf_name: { get_param: vnf_name }
142 vnf_id: { get_param: vnf_id }
143 vf_module_id: { get_param: vf_module_id }
146 type: OS::Nova::Server
148 availability_zone: { get_param: availability_zone_0 }
149 name: { get_param: [db_names, 1] }
150 flavor: { get_param: db_flavor_name}
152 - port: { get_resource: db_0_int_intranet_0_port }
153 - port: { get_resource: db_1_int_intranet_0_port }
154 - port: { get_resource: db_2_int_intranet_0_port }
156 vnf_name: { get_param: vnf_name }
157 vnf_id: { get_param: vnf_id }
158 vf_module_id: { get_param: vf_module_id }
160 db_0_int_intranet_0_port:
161 type: OS::Neutron::Port
163 network: { get_param: int_intranet_net_id }
165 - ip_address: { get_param: db_int_intranet_ip_0 }
166 - ip_address: { get_param: db_int_intranet_v6_ip_0 }
168 db_1_int_intranet_0_port:
169 type: OS::Neutron::Port
171 network: { get_param: int_intranet_net_id }
173 - ip_address: { get_param: [db1_int_intranet_ips, 0] }
174 - ip_address: { get_param: [db_int_intranet_v6_ips, 0] }
176 db_2_int_intranet_0_port:
177 type: OS::Neutron::Port
179 network: { get_param: int_intranet_net_id }
181 - ip_address: { get_param: [db_int_intranet_ips, 1] }
184 type: OS::Neutron::Port
186 network: { get_param: extnet_net_name }
188 - ip_address: { get_param: lb_extnet_ip_0 }
189 - ip_address: { get_param: lb_extnet_v6_ip_0 }
192 type: OS::Neutron::Port
194 network: { get_param: extnet_net_id }
196 - ip_address: { get_param: [lb_extnet_ips, 0] }
197 - ip_address: { get_param: [lb_extnet_v6_ips, 0] }
200 type: OS::Neutron::Port
202 network: { get_param: extnet_net_name }
204 - ip_address: { get_param: lb_extnet_ip_1 }
205 - subnet_id: { get_param: extnet_subnet_id }
208 type: OS::Neutron::Port
210 network: { get_param: extnet_net_id }
212 - subnet_id: { get_param: extnet_subnet_id }
213 - subnet_id: { get_param: extnet_v6_subnet_id }