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_int_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
172 fw_oam_protected_ips:
173 type: comma_delimited_list
177 STARKDB_cinder_attach:
178 type: OS::Cinder::VolumeAttachment
180 server: { get_resource: STARKDB_server_0 }
181 volume: { get_param: stark_vol1_id }
184 type: OS::Nova::Server
186 image: { get_param: STARKDB_image_name }
187 flavor: { get_param: STARKDB_flavor_dvdfg }
188 name: { get_param: starkdb_name }
190 vnf_id: { get_param: vnf_id }
191 vf_module_id: { get_param: vf_module_id }
192 vnf_name: { get_param: vnf_name }
193 #int_network_id: { get_resource: int_priv_network }
194 workload_context: { get_param: workload_context }
195 environment_context: { get_param: environment_context }
196 #valet_groups: "safnkl, sdaflksanl"
198 - port: { get_resource: STARKDB_0_int_priv_port_0 }
199 - port: { get_resource: STARKDB_0_PRIV_port_1}
200 - port: { get_resource: STARKDB_0_crazy_port_0 }
201 - network: { get_param: int_priv_net_id }
202 user_data: { get_file: deep-nested.file }
206 type: OS::Nova::Server
208 image: { get_param: STARKDB_image_name }
209 flavor: { get_param: STARKDB_flavor_dvdfg }
210 name: { get_param: STARKDB_name }
212 vnf_id: { get_param: vnf_id }
213 vf_module_id: { get_param: vf_module_id }
214 vnf_name: { get_param: vnf_name }
215 #int_network_id: { get_resource: int_priv_network }
216 workload_context: { get_param: workload_context }
217 environment_context: { get_param: environment_context }
218 #valet_groups: "safnkl, sdaflksanl"
220 - port: {get_resource: STARKDB_1_int_priv_port_0}
221 - port: {get_resource: STARKDB_1_crazy_port_0}
222 - network: { get_param: int_priv_net_id }
225 type: OS::Nova::Server
227 image: { get_param: TESTDB_image_name }
228 flavor: { get_param: TESTDB_flavor_name }
229 name: { get_param: TESTDB_name }
231 vnf_id: { get_param: vnf_id }
232 vf_module_id: { get_param: vf_module_id }
233 vnf_name: { get_param: vnf_name }
234 #int_network_id: { get_resource: int_priv_network }
235 workload_context: { get_param: workload_context }
236 environment_context: { get_param: environment_context }
237 #valet_groups: "safnkl, sdaflksanl"
239 - port: {get_resource: TESTDB_0_int_priv_port_0}
240 - network: { get_param: int_priv_net_id }
242 availability_zone: { get_param: availability_zone_0 }
245 type: OS::Nova::Server
247 image: { get_param: TESTDB_image_name }
248 flavor: { get_param: TESTDB_flavor_name }
249 name: { get_param: TESTDB_name2 }
251 test_fqdn: { get_param: myvm_net_fqdn }
252 vnf_id: { get_param: vnf_id }
253 vf_module_id: { get_param: vf_module_id }
254 vnf_name: { get_param: vnf_name }
255 #int_network_id: { get_resource: int_priv_network }
256 workload_context: { get_param: workload_context }
257 environment_context: { get_param: environment_context }
258 #valet_groups: "safnkl, sdaflksanl"
260 - port: {get_resource: TESTDB_0_int_priv_port_0}
261 - network: { get_param: int_priv_net_id }
265 template: $AZ$VALET_HOST_ASSIGNMENT
267 $AZ: { get_param: availability_zone_0 }
268 $VALET_HOST_ASSIGNMENT: { get_param: [ TESTDB_valet_hosts, 0 ] }
272 type: OS::Cinder::VolumeAttachment
274 volume_id: { get_param: stark_vol1_id }
275 server: { get_resource: STARKDB_server_0 }
278 type: OS::Neutron::Net
280 name: { get_param: int_priv_net_id }
283 type: OS::Neutron::Net
287 stark_nested_resource:
288 type: STARKDB-nested.yaml
290 my_nested_parame: { get_param: vnf_id }
291 subnet_uuid: { get_param: subnet_uuid }
294 type: OS::Neutron::Subnet
296 name: { get_param: int_priv_subnet_name}
297 network_id: { get_resource: int_private_net_id }
299 STARKDB_0_int_priv_port_0:
300 type: OS::Neutron::Port
302 network: { get_resource: int_private_net_id }
304 - subnet: { get_resource: int_priv_subnet }
305 - ip_address: { get_param: STARKDB_int_private_v6_ips }
308 STARKDB_0_crazy_port_0:
309 type: OS::Neutron::Port
311 network: { get_param: crazy_net_id }
313 - subnet: { get_param: crazy_subnet_id }
314 - ip_address: { get_param: STARKDB_crazy_ip_0 }
315 allowed_address_pairs: [ { "ip_address": {get_param:
316 STARKDB_crazy_floating_ip}}]
319 STARKDB_1_crazy_port_0:
320 type: OS::Neutron::Port
322 network: { get_param: crazy_net_id }
324 - subnet: { get_param: crazy_subnet_id }
325 - ip_address: { get_param: STARKDB_crazy_ip_1 }
326 allowed_address_pairs: [ { "ip_address": {get_param:
327 STARKDB_crazy_floating_ip}}]
329 STARKDB_1_int_priv_port_0:
330 type: OS::Neutron::Port
332 network: { get_resource: int_private_net_id }
335 TESTDB_0_int_priv_port_0:
336 type: OS::Neutron::Port
338 network: { get_param: int_priv_net_id }
340 STARKDB_0_PRIV_port_1:
341 type: OS::Neutron::Port
343 network: { get_param: priv_net_id }
345 STARKDB_cloud_config:
346 type: OS::Heat::CloudConfig
353 type: OS::ContrailV2::InterfaceRouteTable
357 template: VNF_NAME_interface_route_table
359 VNF_NAME: { get_param: vnf_name }
360 interface_route_table_routes:
361 interface_route_table_routes_route: { get_param: fw_oam_route_prefixes }
365 type: OS::Heat::ResourceGroup
367 count: { get_param: stark_rg_count }
369 type: STARKDB-nested.yaml
371 my_nested_parameter: 4
372 subnet_uuid: { get_param: subnet_uuid }
374 fw_0_oam_protected_vmi_0_IP_0:
375 type: OS::ContrailV2::InstanceIp
377 instance_ip_address: { get_param: [fw_oam_protected_ips, get_param: index ] }
379 fw_0_int_other_vmi_0_IP_0:
380 type: OS::ContrailV2::InstanceIp
382 instance_ip_address: { get_param: fw_other_ip_0 }
383 subnet_uuid: { get_param: subnet_uuid }
387 value: { list_join: [',', [ { get_param: param_X }, { get_param: stark_vol1_id } ] ] }
390 value: { get_resource: int_priv_subnet }
393 value: { get_resource: int_private_net_id }
395 STARKDB_crazy_floating_ip:
396 value: { get_param: STARKDB_crazy_floating_ip }
399 value: { get_param: crazy_subnet_id }
402 value: { get_param: crazy_net_id }