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_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
176 STARKDB_cinder_attach:
177 type: OS::Cinder::VolumeAttachment
179 server: { get_resource: STARKDB_server_0 }
180 volume: { get_param: stark_vol1_id }
183 type: OS::Nova::Server
185 image: { get_param: STARKDB_image_name }
186 flavor: { get_param: STARKDB_flavor_dvdfg }
187 name: { get_param: starkdb_name }
189 vnf_id: { get_param: vnf_id }
190 vf_module_id: { get_param: vf_module_id }
191 vnf_name: { get_param: vnf_name }
192 workload_context: { get_param: workload_context }
193 environment_context: { get_param: environment_context }
195 - port: { get_resource: STARKDB_0_int_priv_port_0 }
196 - port: { get_resource: STARKDB_0_PRIV_port_1}
197 - port: { get_resource: STARKDB_0_crazy_port_0 }
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 }
214 - port: {get_resource: STARKDB_1_int_priv_port_0}
215 - port: {get_resource: STARKDB_1_crazy_port_0}
218 type: OS::Nova::Server
220 image: { get_param: TESTDB_image_name }
221 flavor: { get_param: TESTDB_flavor_name }
222 name: { get_param: TESTDB_name }
224 vnf_id: { get_param: vnf_id }
225 vf_module_id: { get_param: vf_module_id }
226 vnf_name: { get_param: vnf_name }
227 #int_network_id: { get_resource: int_priv_network }
228 workload_context: { get_param: workload_context }
229 environment_context: { get_param: environment_context }
231 - port: {get_resource: TESTDB_0_int_priv_port_0}
232 availability_zone: { get_param: availability_zone_0 }
235 type: OS::Nova::Server
237 image: { get_param: TESTDB_image_name }
238 flavor: { get_param: TESTDB_flavor_name }
239 name: { get_param: TESTDB_name2 }
241 test_fqdn: { get_param: myvm_net_fqdn }
242 vnf_id: { get_param: vnf_id }
243 vf_module_id: { get_param: vf_module_id }
244 vnf_name: { get_param: vnf_name }
245 #int_network_id: { get_resource: int_priv_network }
246 workload_context: { get_param: workload_context }
247 environment_context: { get_param: environment_context }
249 - port: {get_resource: TESTDB_0_int_priv_port_0}
250 availability_zone: { get_param: [ TESTDB_avail_hosts, 0 ] }
254 type: OS::Cinder::VolumeAttachment
256 volume_id: { get_param: stark_vol1_id }
257 server: { get_resource: STARKDB_server_0 }
260 type: OS::Neutron::Net
262 name: { get_param: int_priv_net_id }
265 type: OS::Neutron::Net
270 type: OS::Neutron::Subnet
272 name: { get_param: int_priv_subnet_name}
273 network_id: { get_resource: int_private_net_id }
275 STARKDB_0_int_priv_port_0:
276 type: OS::Neutron::Port
278 network: { get_resource: int_private_net_id }
280 - subnet_id: { get_resource: int_priv_subnet }
281 - ip_address: { get_param: STARKDB_private_v6_ips }
284 STARKDB_0_crazy_port_0:
285 type: OS::Neutron::Port
287 network: { get_param: crazy_net_id }
289 - subnet_id: { get_param: crazy_subnet_id }
290 - ip_address: { get_param: STARKDB_crazy_ip_0 }
291 allowed_address_pairs: [ { "ip_address": {get_param:
292 STARKDB_crazy_floating_ip}}]
295 STARKDB_1_crazy_port_0:
296 type: OS::Neutron::Port
298 network: { get_param: crazy_net_id }
300 - subnet_id: { get_param: crazy_subnet_id }
301 - ip_address: { get_param: STARKDB_crazy_ip_1 }
302 allowed_address_pairs: [ { "ip_address": {get_param:
303 STARKDB_crazy_floating_ip}}]
305 STARKDB_1_int_priv_port_0:
306 type: OS::Neutron::Port
308 network: { get_resource: int_private_net_id }
311 TESTDB_0_int_priv_port_0:
312 type: OS::Neutron::Port
314 network: { get_param: int_priv_net_id }
316 STARKDB_0_PRIV_port_1:
317 type: OS::Neutron::Port
319 network: { get_param: priv_net_id }
321 STARKDB_cloud_config:
322 type: OS::Heat::CloudConfig
326 type: OS::ContrailV2::InterfaceRouteTable
330 template: VNF_NAME_interface_route_table
332 VNF_NAME: { get_param: vnf_name }
333 interface_route_table_routes:
334 interface_route_table_routes_route: { get_param: fw_oam_route_prefixes }
338 type: OS::Heat::ResourceGroup
340 count: { get_param: stark_rg_count }
342 type: STARKDB-nested.yaml
344 my_nested_parameter: {get_param: my_nested_parameter}