]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement a basic backup-volume-to-swift service
authorDuncan Thomas <duncan.thomas@gmail.com>
Wed, 20 Feb 2013 18:07:55 +0000 (18:07 +0000)
committerDuncan Thomas <duncan.thomas@gmail.com>
Thu, 21 Feb 2013 00:00:30 +0000 (00:00 +0000)
commitf50c8cbed1012aac86df2309a944d0e56707b4d6
tree825ec223b8750657cb95178d591dca412896afcf
parent17753db4d02bc48f902c3962e631480ca17bd72b
Implement a basic backup-volume-to-swift service

Implements: blueprint volume-backups

This patch adds the new service, api and basic unit tests

Change-Id: Ibe02c680c5e9201d208c92e796e86ad76b4b54b3
30 files changed:
.gitignore
bin/cinder-backup [new file with mode: 0755]
bin/cinder-manage
cinder/api/contrib/backups.py [new file with mode: 0644]
cinder/api/views/backups.py [new file with mode: 0644]
cinder/backup/__init__.py [new file with mode: 0644]
cinder/backup/api.py [new file with mode: 0644]
cinder/backup/manager.py [new file with mode: 0755]
cinder/backup/rpcapi.py [new file with mode: 0644]
cinder/backup/services/__init__.py [new file with mode: 0644]
cinder/backup/services/swift.py [new file with mode: 0644]
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/db/sqlalchemy/migrate_repo/versions/008_add_backup.py [new file with mode: 0644]
cinder/db/sqlalchemy/models.py
cinder/exception.py
cinder/flags.py
cinder/tests/api/contrib/test_backups.py [new file with mode: 0644]
cinder/tests/backup/__init__.py [new file with mode: 0644]
cinder/tests/backup/fake_service.py [new file with mode: 0644]
cinder/tests/backup/fake_swift_client.py [new file with mode: 0644]
cinder/tests/fake_flags.py
cinder/tests/test_backup.py [new file with mode: 0644]
cinder/tests/test_backup_swift.py [new file with mode: 0644]
cinder/tests/test_migrations.py
cinder/volume/api.py
cinder/volume/driver.py
cinder/volume/drivers/lvm.py
etc/cinder/cinder.conf.sample
tools/pip-requires