heat_template_version: 2014-10-16 ################################# # Author: Dmitry Orzhehovsky # Email: dorzheho@cisco.com ################################# description: > Create a Cinder volume. Cinder volume is a storage in the form of block devices. It can be used, for example, for providing storage to instance. Volume supports creation from snapshot, backup or image. Also volume can be created only by size. The template creates volume for vSON Management server (Virtual Function Component MGT). parameters: vnf_name: type: string label: VF name description: Unique name for this VF instance. vf_module_name: type: string label: VF module name description: Unique name for this VF module instance. availability_zone_0: type: string label: Availability zone 0 description: Availability zone. vson_mgt_volume_name_0: type: string label: vSON MGT volume name description: Volume name. vson_mgt_volume_size_0: type: number label: vSON MGT cinder volume size description: Size of the Cinder volume. Measured in gigabytes. vson_mgt_image_name: type: string label: vSON Management VM image name description: Image name the volume will be created from. resources: vson_mgt_volume_0: type: OS::Cinder::Volume properties: name: {get_param: vson_mgt_volume_name_0} metadata: vnf_name: {get_param: vnf_name} vf_module_name: {get_param: vf_module_name} availability_zone: {get_param: availability_zone_0} size: {get_param: vson_mgt_volume_size_0} image: {get_param: vson_mgt_image_name} description: > vSON MGT cinder volume. The volume is created from the vSON base VM image. outputs: vson_mgt_volume_id_0: value: {get_resource: vson_mgt_volume_0} description: ID of the vSON Management volume.