3 Commits

Author SHA1 Message Date
Stephen Mulcahy
3447532ba6 Fix string representation of VolumeBackupsRestore
Change string representation of VolumeBackupsRestore to use
volume_id rather than non-existent VolumeBackupsRestore id.

Change-Id: I7b585d0de9b3b0511e7fd1a70b214090a17dfa93
Closes-Bug: #1255488
2013-11-27 11:05:42 +00:00
Alessio Ababilov
7c71fd318e Make ManagerWithFind abstract and fix its descendants
ManagerWithFind requires list() method in its descendants.
Make it abstract and fix its improper descendants that do
not implement list() (QuotaSetManager and others).

Change-Id: I691ca389b5fea4c1bb36499a264b578fa825bbbf
Fixes: bug #1180393
2013-05-19 18:25:20 +03:00
Stephen Mulcahy
cc8dd55264 Add support for volume backups
Implements support for the volume backup api added to cinder in
https://review.openstack.org/19468. This is a resubmit of the
expired change https://review.openstack.org/25299 with the
following changes:

* Added unit tests for backups (v1 and v2)
* Changed references in backup code to display_name and
  display_description to name and description respectively
* Removed links from backup-show output
* Added object_count to _translate_backup_keys
* Removed unneccesary items from _translate_backup_keys
* Fixed backups docstrings including removing references to swift.

Adds backup-create, backup-delete, backup-list, backup-restore
and backup-show to both the v1 and v2 clients, since the volume
backup extension is available via both APIs.

Change-Id: I197384f1c2fd2af641d207a5f4dba0dfbc5c681a
2013-04-26 14:05:58 +00:00