From 954c28dfa21be76b0522af051d71fb9470877a1a Mon Sep 17 00:00:00 2001 From: wuyuting Date: Sun, 5 Jun 2016 22:55:43 -0400 Subject: Add support for deleting volumes with associated snapshots OSC doesn't support deleting volumes with associated snapshots. This patch provides support for deleting volumes with associated snapshots by adding an optional argument. Change-Id: I7e74f251574993ff13a38e508fd2f9debeda8d0a Closes-Bug: #1589332 Co-Authored-By: Rui Chen --- doc/source/command-objects/volume.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/volume.rst b/doc/source/command-objects/volume.rst index a51d1117..021518be 100644 --- a/doc/source/command-objects/volume.rst +++ b/doc/source/command-objects/volume.rst @@ -88,13 +88,19 @@ Delete volume(s) .. code:: bash os volume delete - [--force] + [--force | --purge] [ ...] .. option:: --force Attempt forced removal of volume(s), regardless of state (defaults to False) +.. option:: --purge + + Remove any snapshots along with volume(s) (defaults to False) + + *Volume version 2 only* + .. _volume_delete-volume: .. describe:: -- cgit v1.2.1