2 # ============LICENSE_START=======================================================
 
   3 # org.onap.vvp/validation-scripts
 
   4 # ===================================================================
 
   5 # Copyright © 2017 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: 2013-05-23
 
  43 description: Simple template to deploy a single compute instance
 
  47     description: Unique ID for this VNF
 
  50     description: Unique ID for this VF module
 
  54     description: Unique name for this VNF instance
 
  57     label: Image name or ID
 
  58     description: Image to be used for compute instance
 
  62     description: Type of instance (flavor) to be used
 
  66     description: Name of the key apir the nova server will use
 
  69     description: Name of the VM
 
  71     type: comma_delimited_list
 
  72     description: Name of the VM
 
  75     label: Image name or ID
 
  76     description: Image to be used for compute instance
 
  80     description: Type of instance (flavor) to be used  
 
  84     description: Name of the key apir the nova server will use
 
  88     type: OS::Heat::SoftwareConfig
 
  93             $stack_name: { get_param: 'OS::stack_name' }
 
  96     type: OS::Nova::Server
 
  98       name: { get_param: ex_vm_name }
 
 100         vnf_id: { get_param: vnf_id }
 
 101         vf_module_id: { get_param: vf_module_id }
 
 102         vnf_name: { get_param: vnf_name }
 
 103       image: { get_param: ex_image_name }
 
 104       flavor: { get_param: ex_flavor_name }
 
 105       key_name: { get_param: ex_key }
 
 107         get_resource: ex_software_config_0
 
 110     type: OS::Nova::Server
 
 112       name: { get_param: [ ex1_vm_names, 0 ] }
 
 114         vnf_id: { get_param: vnf_id }
 
 115         vf_module_id: { get_param: vf_module_id }
 
 116         vnf_name: { get_param: vnf_name }
 
 117         metering.stack: { get_param: "OS::stack_id" }
 
 118       image: { get_param: ex1_image_name}
 
 119       flavor: { get_param: ex1_flavor_name }
 
 120       key_name: { get_param: ex1_key }
 
 123     type: OS::Nova::Server
 
 125       name: { get_param: [ ex1_vm_names, { get_param: ex1_server_index } ] }
 
 127         vnf_id: { get_param: vnf_id }
 
 128         vf_module_id: { get_param: vf_module_id }
 
 129         vnf_name: { get_param: vnf_name }
 
 130       image: { get_param: ex1_image_name}
 
 131       flavor: { get_param: ex1_flavor_name }
 
 132       key_name: { get_param: ex1_key }