]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Return volume name from backup_restore
authorlisali <xiaoyan.li@intel.com>
Thu, 9 Jul 2015 05:57:45 +0000 (13:57 +0800)
committerlisali <xiaoyan.li@intel.com>
Fri, 14 Aug 2015 02:16:56 +0000 (10:16 +0800)
commit48fb9c56952ed03d09fb6b251e372efd40676af2
tree23abd6746ea412fc4f41084bfec3155a4eeeb94b
parent742026723c6bc5024b35317a87f9faf8d4f8fabc
Return volume name from backup_restore

Currently volume id and backup id are returned, the change is
to return volume_name also, which is consistent in style with
cinder backup-create.

The related change in python-cinderclient is
https://review.openstack.org/#/c/199846/

APIImpact
It will return additional info "volume_name": volume name when
restoring backup.

Change-Id: I9f5d8ded993fcf1d351d4c65b6806929693b15d6
Closes-Bug: #1472493
cinder/api/contrib/backups.py
cinder/api/views/backups.py
cinder/backup/api.py
cinder/tests/unit/api/contrib/test_backups.py