]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Support Snapshot policy in volumes
authorThomas Herve <therve@gmail.com>
Thu, 2 May 2013 13:13:52 +0000 (15:13 +0200)
committerThomas Herve <therve@gmail.com>
Fri, 3 May 2013 10:09:43 +0000 (12:09 +0200)
commit984496a1e5d8cfe17ed61b61c336b93861928189
tree5646efc2867dbc88c2d2419cb13d9f800a85e9ae
parent7b832657540c2b62ff8ce00e42823ae764ccd894
Support Snapshot policy in volumes

This handles the Snapshot DeletionPolicy in the AWS::EC2::Volume
resource, creating a backup of the volume before deleting it. It
requires a recent cinder client with backup support.

Implements: blueprint volume-snapshots
Change-Id: Idbb14a434ad6ccde9f198e07799e8aef0867dd6f
heat/engine/resource.py
heat/engine/resources/volume.py
heat/tests/test_validate.py
heat/tests/test_volume.py