1 ##############################################################################
2 # Copyright (c) 2017 Cable Television Laboratories, Inc. ("CableLabs")
3 # and others. All rights reserved.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at:
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 ##############################################################################
17 heat_template_version: 2015-04-30
19 description: Simple template to deploy a single volume with encryption
25 description: The name of the volume
26 default: test-vol-name
29 label: Volume Type name
30 description: The name of the volume type
31 default: test-vol-type-name
35 type: OS::Cinder::VolumeType
37 name: { get_param: volume_type_name }
40 type: OS::Cinder::EncryptedVolumeType
42 provider: nova.volume.encryptors.luks.LuksEncryptor
43 control_location: front-end
44 volume_type: { get_resource: volume_type }
47 type: OS::Cinder::Volume
49 name: { get_param: volume_name }
51 volume_type: { get_resource: encryption_vol_type }