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
171 STARKDB_cinder_attach:
172 type: OS::Cinder::VolumeAttachment
174 server: { get_resource: STARKDB_server_0 }
175 volume: { get_param: stark_vol1_id }
178 type: OS::Nova::Server
180 image: { get_param: STARKDB_image_name }
181 flavor: { get_param: STARKDB_flavor_dvdfg }
182 name: { get_param: starkdb_name }
184 vnf_id: { get_param: vnf_id }
185 vf_module_id: { get_param: vf_module_id }
186 vnf_name: { get_param: vnf_name }
187 #int_network_id: { get_resource: int_priv_network }
188 workload_context: { get_param: workload_context }
189 environment_context: { get_param: environment_context }
190 #valet_groups: "safnkl, sdaflksanl"
192 - port: { get_resource: STARKDB_0_int_priv_port_0 }
193 - port: { get_resource: STARKDB_0_PRIV_port_1}
194 - port: { get_resource: STARKDB_0_crazy_port_0 }
195 - network: { get_param: int_priv_net_id }
196 user_data: { get_file: deep-nested.file }
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 }
212 #valet_groups: "safnkl, sdaflksanl"
214 - port: {get_resource: STARKDB_1_int_priv_port_0}
215 - port: {get_resource: STARKDB_1_crazy_port_0}
216 - network: { get_param: int_priv_net_id }
219 type: OS::Nova::Server
221 image: { get_param: TESTDB_image_name }
222 flavor: { get_param: TESTDB_flavor_name }
223 name: { get_param: TESTDB_name }
225 vnf_id: { get_param: vnf_id }
226 vf_module_id: { get_param: vf_module_id }
227 vnf_name: { get_param: vnf_name }
228 #int_network_id: { get_resource: int_priv_network }
229 workload_context: { get_param: workload_context }
230 environment_context: { get_param: environment_context }
231 #valet_groups: "safnkl, sdaflksanl"
233 - port: {get_resource: TESTDB_0_int_priv_port_0}
234 - network: { get_param: int_priv_net_id }
236 availability_zone: { get_param: availability_zone_0 }
239 type: OS::Nova::Server
241 image: { get_param: TESTDB_image_name }
242 flavor: { get_param: TESTDB_flavor_name }
243 name: { get_param: TESTDB_name2 }
245 test_fqdn: { get_param: myvm_net_fqdn }
246 vnf_id: { get_param: vnf_id }
247 vf_module_id: { get_param: vf_module_id }
248 vnf_name: { get_param: vnf_name }
249 #int_network_id: { get_resource: int_priv_network }
250 workload_context: { get_param: workload_context }
251 environment_context: { get_param: environment_context }
252 #valet_groups: "safnkl, sdaflksanl"
254 - port: {get_resource: TESTDB_0_int_priv_port_0}
255 - network: { get_param: int_priv_net_id }
259 template: $AZ$VALET_HOST_ASSIGNMENT
261 $AZ: { get_param: availability_zone_0 }
262 $VALET_HOST_ASSIGNMENT: { get_param: [ TESTDB_valet_hosts, 0 ] }
266 type: OS::Cinder::VolumeAttachment
268 volume_id: { get_param: stark_vol1_id }
269 server: { get_resource: STARKDB_server_0 }
272 type: OS::Neutron::Net
274 name: { get_param: int_priv_net_id }
277 type: OS::Neutron::Net
281 stark_nested_resource:
282 type: STARKDB-nested.yaml
284 my_nested_parame: { get_param: vnf_id }
287 type: OS::Neutron::Subnet
289 name: { get_param: int_priv_subnet_name}
290 network_id: { get_resource: int_private_net_id }
292 STARKDB_0_int_priv_port_0:
293 type: OS::Neutron::Port
295 network: { get_resource: int_private_net_id }
297 - subnet: { get_resource: int_priv_subnet }
298 - ip_address: { get_param: STARKDB_int_private_v6_ips }
301 STARKDB_0_crazy_port_0:
302 type: OS::Neutron::Port
304 network: { get_param: crazy_net_id }
306 - subnet: { get_param: crazy_subnet_id }
307 - ip_address: { get_param: STARKDB_crazy_ip_0 }
308 allowed_address_pairs: [ { "ip_address": {get_param:
309 STARKDB_crazy_floating_ip}}]
312 STARKDB_1_crazy_port_0:
313 type: OS::Neutron::Port
315 network: { get_param: crazy_net_id }
317 - subnet: { get_param: crazy_subnet_id }
318 - ip_address: { get_param: STARKDB_crazy_ip_1 }
319 allowed_address_pairs: [ { "ip_address": {get_param:
320 STARKDB_crazy_floating_ip}}]
322 STARKDB_1_int_priv_port_0:
323 type: OS::Neutron::Port
325 network: { get_resource: int_private_net_id }
328 TESTDB_0_int_priv_port_0:
329 type: OS::Neutron::Port
331 network: { get_param: int_priv_net_id }
333 STARKDB_0_PRIV_port_1:
334 type: OS::Neutron::Port
336 network: { get_param: priv_net_id }
338 STARKDB_cloud_config:
339 type: OS::Heat::CloudConfig
343 type: OS::ContrailV2::InterfaceRouteTable
347 template: VNF_NAME_interface_route_table
349 VNF_NAME: { get_param: vnf_name }
350 interface_route_table_routes:
351 interface_route_table_routes_route: { get_param: fw_oam_route_prefixes }
355 type: OS::Heat::ResourceGroup
357 count: { get_param: stark_rg_count }
359 type: STARKDB-nested.yaml
361 my_nested_parameter: 4
365 value: { list_join: [',', [ { get_param: param_X }, { get_param: stark_vol1_id } ] ] }
368 value: { get_resource: int_priv_subnet }
371 value: { get_resource: int_private_net_id }
373 STARKDB_crazy_floating_ip:
374 value: { get_param: STARKDB_crazy_floating_ip }
377 value: { get_param: crazy_subnet_id }
380 value: { get_param: crazy_net_id }