]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Backup object
authorMichal Dulko <michal.dulko@intel.com>
Wed, 3 Jun 2015 12:25:26 +0000 (14:25 +0200)
committerMichal Dulko <michal.dulko@intel.com>
Thu, 18 Jun 2015 08:17:53 +0000 (10:17 +0200)
commit0e76126136e465d3f96dcdf46c1513a507521445
tree5c632fd4f85a1b37a5e48d9f88c39aea60ebd503
parent703ce63c1acd7c710dba867992ee8465022e1490
Backup object

This patch adds VersionedObjects abstraction layer to volume backups.
The object derives from CinderObjectDictCompat, so it supports both
object (obj.prop) and dict (obj['prop']) syntax to access properties.
Complete move to object notation will be made in a follow up clean up
patch.

Co-Authored-By: Grzegorz Grasza <grzegorz.grasza@intel.com>
Change-Id: Icff37261b367463b71a1268be16f9c97f595bf0c
Partial-Implements: blueprint cinder-objects
22 files changed:
cinder/api/contrib/backups.py
cinder/backup/api.py
cinder/backup/chunkeddriver.py
cinder/backup/drivers/ceph.py
cinder/backup/drivers/tsm.py
cinder/backup/manager.py
cinder/backup/rpcapi.py
cinder/cmd/backup.py
cinder/cmd/manage.py
cinder/objects/__init__.py
cinder/objects/backup.py [new file with mode: 0644]
cinder/tests/unit/api/contrib/test_admin_actions.py
cinder/tests/unit/api/contrib/test_backups.py
cinder/tests/unit/backup/drivers/test_backup_nfs.py
cinder/tests/unit/objects/test_backup.py [new file with mode: 0644]
cinder/tests/unit/test_backup.py
cinder/tests/unit/test_backup_ceph.py
cinder/tests/unit/test_backup_driver_base.py
cinder/tests/unit/test_backup_swift.py
cinder/tests/unit/test_backup_tsm.py
cinder/tests/unit/test_cmd.py
tools/lintstack.py