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============================================
38 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
41 heat_template_version: 2015-04-30
43 description: fdsafsfsa
47 fw_oam_route_prefixes:
59 STARKDB_int_private_v6_ips:
60 type: comma_delimited_list
65 description: Unique ID for this VNF instance
69 description: Unique ID for this VNF instance
73 description: Unique ID for this VNF instance
77 description: Unique ID for this VNF instance
81 description: Unique ID for this VNF module instance
85 description: Unique name for this VNF instance
89 description: fdhsfbsakdjnfjdsank
93 description: fdhsfbsakdjnfjdsank
97 description: fdhsfbsakdjnfjdsank
101 description: fdhsfbsakdjnfjdsank
106 description: fdhsfbsakdjnfjdsank
110 description: fdhsfbsakdjnfjdsank
114 description: fdhsfbsakdjnfjdsank
118 description: fdhsfbsakdjnfjdsank
122 description: myvolume
124 - range: { min: 100, max: 400 }
132 description: external network
136 # description: external subnetwork
138 int_priv_subnet_name:
140 description: sadnfjls
144 description: internal network name
146 STARKDB_crazy_floating_ip:
156 description: asdfnkal
172 STARKDB_cinder_attach:
173 type: OS::Cinder::VolumeAttachment
175 server: { get_resource: STARKDB_server_0 }
176 volume: { get_param: stark_vol1_id }
179 type: OS::Nova::Server
181 image: { get_param: STARKDB_image_name }
182 flavor: { get_param: STARKDB_flavor_dvdfg }
183 name: { get_param: starkdb_name }
185 vnf_id: { get_param: vnf_id }
186 vf_module_id: { get_param: vf_module_id }
187 vnf_name: { get_param: vnf_name }
188 #int_network_id: { get_resource: int_priv_network }
189 workload_context: { get_param: workload_context }
190 environment_context: { get_param: environment_context }
191 #valet_groups: "safnkl, sdaflksanl"
193 - port: { get_resource: STARKDB_0_int_priv_port_0 }
194 - port: { get_resource: STARKDB_0_PRIV_port_1}
195 - port: { get_resource: STARKDB_0_crazy_port_0 }
196 - network: { get_param: int_priv_net_id }
197 user_data: { get_file: deep-nested.file }
201 type: OS::Nova::Server
203 image: { get_param: STARKDB_image_name }
204 flavor: { get_param: STARKDB_flavor_dvdfg }
205 name: { get_param: STARKDB_name }
207 vnf_id: { get_param: vnf_id }
208 vf_module_id: { get_param: vf_module_id }
209 vnf_name: { get_param: vnf_name }
210 #int_network_id: { get_resource: int_priv_network }
211 workload_context: { get_param: workload_context }
212 environment_context: { get_param: environment_context }
213 #valet_groups: "safnkl, sdaflksanl"
215 - port: {get_resource: STARKDB_1_int_priv_port_0}
216 - port: {get_resource: STARKDB_1_crazy_port_0}
217 - network: { get_param: int_priv_net_id }
220 type: OS::Nova::Server
222 image: { get_param: TESTDB_image_name }
223 flavor: { get_param: TESTDB_flavor_name }
224 name: { get_param: TESTDB_name }
226 vnf_id: { get_param: vnf_id }
227 vf_module_id: { get_param: vf_module_id }
228 vnf_name: { get_param: vnf_name }
229 #int_network_id: { get_resource: int_priv_network }
230 workload_context: { get_param: workload_context }
231 environment_context: { get_param: environment_context }
232 #valet_groups: "safnkl, sdaflksanl"
234 - port: {get_resource: TESTDB_0_int_priv_port_0}
235 - network: { get_param: int_priv_net_id }
237 availability_zone: { get_param: availability_zone_0 }
240 type: OS::Nova::Server
242 image: { get_param: TESTDB_image_name }
243 flavor: { get_param: TESTDB_flavor_name }
244 name: { get_param: TESTDB_name2 }
246 test_fqdn: { get_param: myvm_net_fqdn }
247 vnf_id: { get_param: vnf_id }
248 vf_module_id: { get_param: vf_module_id }
249 vnf_name: { get_param: vnf_name }
250 #int_network_id: { get_resource: int_priv_network }
251 workload_context: { get_param: workload_context }
252 environment_context: { get_param: environment_context }
253 #valet_groups: "safnkl, sdaflksanl"
255 - port: {get_resource: TESTDB_0_int_priv_port_0}
256 - network: { get_param: int_priv_net_id }
260 template: $AZ$VALET_HOST_ASSIGNMENT
262 $AZ: { get_param: availability_zone_0 }
263 $VALET_HOST_ASSIGNMENT: { get_param: [ TESTDB_valet_hosts, 0 ] }
267 type: OS::Cinder::VolumeAttachment
269 volume_id: { get_param: stark_vol1_id }
270 server: { get_resource: STARKDB_server_0 }
273 type: OS::Neutron::Net
275 name: { get_param: int_priv_net_id }
278 type: OS::Neutron::Net
282 stark_nested_resource:
283 type: STARKDB-nested.yaml
285 my_nested_parame: { get_param: vnf_id }
288 type: OS::Neutron::Subnet
290 name: { get_param: int_priv_subnet_name}
291 network_id: { get_resource: int_private_net_id }
293 STARKDB_0_int_priv_port_0:
294 type: OS::Neutron::Port
296 network: { get_resource: int_private_net_id }
298 - subnet: { get_resource: int_priv_subnet }
299 - ip_address: { get_param: STARKDB_int_private_v6_ips }
302 STARKDB_0_crazy_port_0:
303 type: OS::Neutron::Port
305 network: { get_param: crazy_net_id }
307 - subnet: { get_param: crazy_subnet_id }
308 - ip_address: { get_param: STARKDB_crazy_ip_0 }
309 allowed_address_pairs: [ { "ip_address": {get_param:
310 STARKDB_crazy_floating_ip}}]
313 STARKDB_1_crazy_port_0:
314 type: OS::Neutron::Port
316 network: { get_param: crazy_net_id }
318 - subnet: { get_param: crazy_subnet_id }
319 - ip_address: { get_param: STARKDB_crazy_ip_1 }
320 allowed_address_pairs: [ { "ip_address": {get_param:
321 STARKDB_crazy_floating_ip}}]
323 STARKDB_1_int_priv_port_0:
324 type: OS::Neutron::Port
326 network: { get_resource: int_private_net_id }
329 TESTDB_0_int_priv_port_0:
330 type: OS::Neutron::Port
332 network: { get_param: int_priv_net_id }
334 STARKDB_0_PRIV_port_1:
335 type: OS::Neutron::Port
337 network: { get_param: priv_net_id }
339 STARKDB_cloud_config:
340 type: OS::Heat::CloudConfig
344 type: OS::ContrailV2::InterfaceRouteTable
348 template: VNF_NAME_interface_route_table
350 VNF_NAME: { get_param: vnf_name }
351 interface_route_table_routes:
352 interface_route_table_routes_route: { get_param: fw_oam_route_prefixes }
356 type: OS::Heat::ResourceGroup
358 count: { get_param: stark_rg_count }
360 type: STARKDB-nested.yaml
362 my_nested_parameter: 4
366 value: { list_join: [',', [ { get_param: param_X }, { get_param: stark_vol1_id } ] ] }
369 value: { get_resource: int_priv_subnet }
372 value: { get_resource: int_private_net_id }
374 STARKDB_crazy_floating_ip:
375 value: { get_param: STARKDB_crazy_floating_ip }
378 value: { get_param: crazy_subnet_id }
381 value: { get_param: crazy_net_id }