]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Backups: allow name to be specified during restore
authorAbhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Mon, 8 Jun 2015 11:14:22 +0000 (16:44 +0530)
committerJohn Griffith <john.griffith8@gmail.com>
Fri, 17 Jul 2015 15:28:55 +0000 (15:28 +0000)
commitb515ecc4916715bde2c2b790a7ec2762457ec55a
treed46062295e75933b17531d6b0081d9ebc4bbcd59
parenta5c988f93eda5581899ad67c514ed1cb5666ac27
Backups: allow name to be specified during restore

This commit adds the ability to specify a `name` attribute during backup
restore. This will create a volume with the specified name during
restore, instead of the default pattern of the form
`restore-backup-<id>`. In case volume id is specified the `name`
attribute is ignored.

DocImpact
APIImpact
Implements: blueprint backup-restore-display-name
Change-Id: I23730834058d88e30be62624ada3b24cdaeaa6f3
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
cinder/api/contrib/backups.py
cinder/backup/api.py
cinder/tests/unit/api/contrib/test_backups.py