]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Export and import backup service metadata
authorRonen Kat <ronenkat@il.ibm.com>
Thu, 23 Jan 2014 09:58:58 +0000 (11:58 +0200)
committerRonen Kat <ronenkat@il.ibm.com>
Thu, 27 Feb 2014 10:38:10 +0000 (12:38 +0200)
commit1d6235cc3fb3c7806c2c4671f1c5b03022136008
treea638fdfb454e7ec3e0a0a94c4170372f865e1db9
parent97c7c7f2c6270cc65f3f97ac7c9e40fb5c76aa9e
Export and import backup service metadata

Add new admin API for backup-export and backup-import.
The new commands export the backup details (not actual backup) to
a string that can be imported again in another OpenStack cloud or
if the backup database was corrupted.
The code includes a default backup driver implementation.
Backup test code converted to use mock.

blueprint cinder-backup-recover-api
DocImpact new admin API calls backup-import and backup-export

Change-Id: I564194929962e75c67630e73d8711ee6587706d4
cinder/api/contrib/backups.py
cinder/api/views/backups.py
cinder/backup/api.py
cinder/backup/driver.py
cinder/backup/manager.py
cinder/backup/rpcapi.py
cinder/tests/api/contrib/test_backups.py
cinder/tests/policy.json
cinder/tests/test_backup.py
cinder/tests/test_backup_driver_base.py
etc/cinder/policy.json