1 heat_template_version: 2014-10-16
2 #################################
3 # Author: Dmitry Orzhehovsky
4 # Email: dorzheho@cisco.com
5 #################################
8 Creates Cinder volumes.
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 Database servers configured for sharding
14 (Virtual Function Component DBS).
15 The shard consists of two Database instances:
24 description: Unique name for this VF instance.
29 description: Unique name for this VF module instance.
33 label: Availability zone 0
34 description: First availability zone.
38 label: Availability zone 1
39 description: Second availability zone.
41 vson_dbs_volume_name_0:
43 label: vSON DBS volume name 0
44 description: First volume name.
46 vson_dbs_volume_name_1:
48 label: vSON DBS volume name 1
49 description: Second volume name.
51 vson_dbs_volume_size_0:
53 label: vSON DBS volume ID 0 size
54 description: Size of the first Cinder volume. Measured in gigabytes.
56 vson_dbs_volume_size_1:
58 label: vSON DBS volume ID 1 size
59 description: Size of the second Cinder volume. Measured in gigabytes.
64 type: OS::Cinder::Volume
66 name: {get_param: vson_dbs_volume_name_0}
68 vnf_name: {get_param: vnf_name}
69 vf_module_name: {get_param: vf_module_name}
70 availability_zone: {get_param: availability_zone_0}
71 size: {get_param: vson_dbs_volume_size_0}
72 description: Cinder volume for the first vSON DBS VM instance.
75 type: OS::Cinder::Volume
77 name: {get_param: vson_dbs_volume_name_1}
79 vnf_name: {get_param: vnf_name}
80 vf_module_name: {get_param: vf_module_name}
81 availability_zone: {get_param: availability_zone_1}
82 size: {get_param: vson_dbs_volume_size_1}
83 description: Cinder volume for the second vSON DBS VM instance.
88 value: {get_resource: vson_dbs_volume_0}
89 description: ID of the first vSON DBS volume.
92 value: {get_resource: vson_dbs_volume_1}
93 description: ID of the second vSON DBS volume.