[sdc] rebase update
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedSingleCompute / multipleReferencesToSameNestedFilesWithSameComputeType / in / module_5_vson_dbg_volume.yaml
1 heat_template_version: 2014-10-16
2 #################################
3 # Author: Dmitry Orzhehovsky
4 # Email:  dorzheho@cisco.com
5 #################################
6
7 description: >
8   Creates a Cinder volume.
9   Cinder volume is a storage in the form of block devices. 
10   It can be used, for example, for providing storage to instance. 
11   Volume supports creation from snapshot, backup or image. 
12   Also volume can be created only by size.
13   The template creates volumes for vSON DB Global servers
14   (Virtual Function Component DBG).
15
16 parameters:
17
18   vnf_name:
19     type: string
20     label: VF name
21     description: Unique name for this VF instance.
22
23   vf_module_name:
24     type: string
25     label: VF module name
26     description: Unique name for this VF module instance.
27
28   availability_zone_0:
29     type: string
30     label: Availability zone 0
31     description: Availability zone.
32
33   vson_dbg_volume_name_0:
34     type: string
35     label: vSON DBG volume name
36     description: Volume name.
37
38   vson_dbg_volume_size_0:
39     type: number
40     label: vSON DBG cinder volume size 
41     description: >
42       Size of the Cinder volume. Measured in gigabytes.
43
44 resources:
45
46   vson_dbg_volume_0:
47     type: OS::Cinder::Volume
48     properties:
49       name: {get_param: vson_dbg_volume_name_0}
50       metadata:
51         vnf_name: {get_param: vnf_name}
52         vf_module_name: {get_param: vf_module_name}
53       availability_zone: {get_param: availability_zone_0}
54       size: {get_param: vson_dbg_volume_size_0}
55       description: vSON DB Global cinder volume.
56
57 outputs:
58
59   vson_dbg_volume_id_0:
60     value: {get_resource: vson_dbg_volume_0}
61     description: vSON DB Global volume ID.
62