Api-ref:Add target volume preconditions for backup restore.

the status of volume must be available.
the size of the volume must be equal to or greater than
the backup size.

Change-Id: I89bb72741aec5e73789a5a5cec1bc363f79c766c
This commit is contained in:
shaoxj 2018-02-23 18:32:17 +08:00 committed by Xianjin Shao
parent 72c8dc744b
commit 690357e224

@ -182,6 +182,10 @@ Restores a Block Storage backup to an existing or new Block Storage volume.
The name parameter will work only if a new volume is created.
If UUID is specified, the backup will be restored to the specified volume.
The specified volume has the following requirements:
* the specified volume status is ``available``.
* the size of specified volume must be equal to or greater than the size of backup.
If no existing volume UUID is provided, the backup will be restored to a
new volume matching the size and name of the originally backed up volume.