2 # ============LICENSE_START=======================================================
3 # org.onap.vvp/validation-scripts
4 # ===================================================================
5 # Copyright © 2019 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============================================
40 heat_template_version: 2015-04-30
42 description: fdsafsfsa
46 fw_oam_route_prefixes:
58 STARKDB_private_v6_ips:
59 type: comma_delimited_list
64 description: Unique ID for this VNF instance
68 description: Unique ID for this VNF instance
72 description: Unique ID for this VNF instance
76 description: Unique ID for this VNF instance
80 description: Unique ID for this VNF module instance
84 description: Unique name for this VNF instance
88 description: fdhsfbsakdjnfjdsank
92 description: fdhsfbsakdjnfjdsank
96 description: fdhsfbsakdjnfjdsank
100 description: fdhsfbsakdjnfjdsank
105 description: fdhsfbsakdjnfjdsank
109 description: fdhsfbsakdjnfjdsank
113 description: fdhsfbsakdjnfjdsank
117 description: fdhsfbsakdjnfjdsank
121 description: myvolume
123 - range: { min: 100, max: 400 }
131 description: external network
135 # description: external subnetwork
137 int_priv_subnet_name:
139 description: sadnfjls
143 description: internal network name
145 STARKDB_crazy_floating_ip:
155 description: asdfnkal
175 STARKDB_cinder_attach:
176 type: OS::Cinder::VolumeAttachment
178 server: { get_resource: STARKDB_server_0 }
179 volume: { get_param: stark_vol1_id }
182 type: OS::Nova::Server
184 image: { get_param: STARKDB_image_name }
185 flavor: { get_param: STARKDB_flavor_dvdfg }
186 name: { get_param: starkdb_name }
188 vnf_id: { get_param: vnf_id }
189 vf_module_id: { get_param: vf_module_id }
190 vnf_name: { get_param: vnf_name }
191 workload_context: { get_param: workload_context }
192 environment_context: { get_param: environment_context }
194 - port: { get_resource: STARKDB_0_int_priv_port_0 }
195 - port: { get_resource: STARKDB_0_PRIV_port_1}
196 - port: { get_resource: STARKDB_0_crazy_port_0 }
200 type: OS::Nova::Server
202 image: { get_param: STARKDB_image_name }
203 flavor: { get_param: STARKDB_flavor_dvdfg }
204 name: { get_param: STARKDB_name }
206 vnf_id: { get_param: vnf_id }
207 vf_module_id: { get_param: vf_module_id }
208 vnf_name: { get_param: vnf_name }
209 #int_network_id: { get_resource: int_priv_network }
210 workload_context: { get_param: workload_context }
211 environment_context: { get_param: environment_context }
213 - port: {get_resource: STARKDB_1_int_priv_port_0}
214 - port: {get_resource: STARKDB_1_crazy_port_0}
217 type: OS::Nova::Server
219 image: { get_param: TESTDB_image_name }
220 flavor: { get_param: TESTDB_flavor_name }
221 name: { get_param: TESTDB_name }
223 vnf_id: { get_param: vnf_id }
224 vf_module_id: { get_param: vf_module_id }
225 vnf_name: { get_param: vnf_name }
226 #int_network_id: { get_resource: int_priv_network }
227 workload_context: { get_param: workload_context }
228 environment_context: { get_param: environment_context }
230 - port: {get_resource: TESTDB_0_int_priv_port_0}
231 availability_zone: { get_param: availability_zone_0 }
234 type: OS::Nova::Server
236 image: { get_param: TESTDB_image_name }
237 flavor: { get_param: TESTDB_flavor_name }
238 name: { get_param: TESTDB_name2 }
240 test_fqdn: { get_param: myvm_net_fqdn }
241 vnf_id: { get_param: vnf_id }
242 vf_module_id: { get_param: vf_module_id }
243 vnf_name: { get_param: vnf_name }
244 #int_network_id: { get_resource: int_priv_network }
245 workload_context: { get_param: workload_context }
246 environment_context: { get_param: environment_context }
248 - port: {get_resource: TESTDB_0_int_priv_port_0}
249 availability_zone: { get_param: [ TESTDB_avail_hosts, 0 ] }
253 type: OS::Cinder::VolumeAttachment
255 volume_id: { get_param: stark_vol1_id }
256 server: { get_resource: STARKDB_server_0 }
259 type: OS::Neutron::Net
261 name: { get_param: int_priv_net_id }
264 type: OS::Neutron::Net
269 type: OS::Neutron::Subnet
271 name: { get_param: int_priv_subnet_name}
272 network_id: { get_resource: int_private_net_id }
274 STARKDB_0_int_priv_port_0:
275 type: OS::Neutron::Port
277 network: { get_resource: int_private_net_id }
279 - subnet_id: { get_resource: int_priv_subnet }
280 - ip_address: { get_param: STARKDB_private_v6_ips }
283 STARKDB_0_crazy_port_0:
284 type: OS::Neutron::Port
286 network: { get_param: crazy_net_id }
288 - subnet_id: { get_param: crazy_subnet_id }
289 - ip_address: { get_param: STARKDB_crazy_ip_0 }
290 allowed_address_pairs: [ { "ip_address": {get_param:
291 STARKDB_crazy_floating_ip}}]
294 STARKDB_1_crazy_port_0:
295 type: OS::Neutron::Port
297 network: { get_param: crazy_net_id }
299 - subnet_id: { get_param: crazy_subnet_id }
300 - ip_address: { get_param: STARKDB_crazy_ip_1 }
301 allowed_address_pairs: [ { "ip_address": {get_param:
302 STARKDB_crazy_floating_ip}}]
304 STARKDB_1_int_priv_port_0:
305 type: OS::Neutron::Port
307 network: { get_resource: int_private_net_id }
310 TESTDB_0_int_priv_port_0:
311 type: OS::Neutron::Port
313 network: { get_param: int_priv_net_id }
315 STARKDB_0_PRIV_port_1:
316 type: OS::Neutron::Port
318 network: { get_param: priv_net_id }
320 STARKDB_cloud_config:
321 type: OS::Heat::CloudConfig
325 type: OS::ContrailV2::InterfaceRouteTable
329 template: VNF_NAME_interface_route_table
331 VNF_NAME: { get_param: vnf_name }
332 interface_route_table_routes:
333 interface_route_table_routes_route: { get_param: fw_oam_route_prefixes }
337 type: OS::Heat::ResourceGroup
339 count: { get_param: stark_rg_count }
341 type: STARKDB-nested.yaml
343 my_nested_parameter: {get_param: my_nested_parameter}