diff options
author | Jerry Flood <jf9860@att.com> | 2017-10-30 12:33:39 -0400 |
---|---|---|
committer | Jerry Flood <jf9860@att.com> | 2017-10-30 12:35:12 -0400 |
commit | ac4779ce0996ce141ef5495f5d4d44c454bdd78a (patch) | |
tree | 673515f86eee7065560a058bfeac80036e082aa2 /heat/vVG/base_vvg.yaml | |
parent | 5854574e93495d520456e18352e130d353c2c200 (diff) |
Add vvG and manifest files
Issue: TEST-14
Change-Id: Ia99a52647941518148cd383b02ddb940818e6273
Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'heat/vVG/base_vvg.yaml')
-rw-r--r-- | heat/vVG/base_vvg.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/heat/vVG/base_vvg.yaml b/heat/vVG/base_vvg.yaml new file mode 100644 index 00000000..c20d4e48 --- /dev/null +++ b/heat/vVG/base_vvg.yaml @@ -0,0 +1,22 @@ +heat_template_version: 2013-05-23 +description: create a Nova instance, a Cinder volume and attach the volume to the instance. + +parameters: + nova_instance: + type: string + label: Instance name or ID + description: ID of the vm to use for the disk to be attached too + volume_size: + type: number + label: GB + description: Size of the volume to be created. +resources: + cinder_volume: + type: OS::Cinder::Volume + properties: + size: { get_param: volume_size } + volume_attachment: + type: OS::Cinder::VolumeAttachment + properties: + volume_id: { get_resource: cinder_volume } + instance_uuid: { get_param: nova_instance }
\ No newline at end of file |