]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
TSM backup driver changes to support file backup
authorBill Owen <billowen@us.ibm.com>
Thu, 13 Feb 2014 21:55:47 +0000 (14:55 -0700)
committerBill Owen <billowen@us.ibm.com>
Tue, 25 Feb 2014 19:20:01 +0000 (12:20 -0700)
commitd65d86e15c7f50b2a5b7ad1422771601479c632f
tree54ee067ef880eadeeddf3233dc5dbd0e7caa4162
parenta22f22cffc907c3307257ae36c7fbd967cb94e44
TSM backup driver changes to support file backup

Extend TSM backup driver to support backup of file based volumes,
as well as restore and delete of the backups.  This in addition
to the current block based volume support.  This involves determining
the type of volume this is requested to be backed up, and modifying
the dsmc command options accordingly.  When a volume is backed
up, the backup mode and backup path are saved in the backup
service_metadata for use on restore and delete operations.

This commit includes some further refactoring based on pylint
feedback and system testing.

Implements: blueprint tsm-backup-driver-enhancement
Change-Id: Ic994a8c2f7302e59358dd858b50df746c9a7d76f
cinder/backup/drivers/tsm.py
cinder/tests/test_backup_tsm.py