From 07ebaa230f2add964c6b0916745376aebca6f63d Mon Sep 17 00:00:00 2001 From: junboli Date: Sat, 5 Aug 2017 15:43:17 +0800 Subject: [PATCH] [Api-ref] Add force parameter to volume delete Delete with force was introduced in cinder [1], But it is not documented in the API docs. This patch is to add it in the API docs. [1] https://review.openstack.org/#/c/337814/ Change-Id: I42b63571dfa81142472e8e3dfaa5e2cffa101064 Closes-bug: #1708801 --- api-ref/source/v3/parameters.yaml | 8 ++++++++ api-ref/source/v3/volumes-v3-volumes.inc | 1 + 2 files changed, 9 insertions(+) diff --git a/api-ref/source/v3/parameters.yaml b/api-ref/source/v3/parameters.yaml index 0ec3a61924a..9cbe6dba119 100644 --- a/api-ref/source/v3/parameters.yaml +++ b/api-ref/source/v3/parameters.yaml @@ -897,6 +897,14 @@ force_4: in: body required: false type: boolean +force_5: + description: | + Indicates whether to force deletes a volume even if + the volume is in deleting or error_deleting. Default is ``false``. + in: body + required: false + type: boolean + min_version: 3.23 free_capacity: description: | The amount of free capacity for the back-end diff --git a/api-ref/source/v3/volumes-v3-volumes.inc b/api-ref/source/v3/volumes-v3-volumes.inc index eb82f96ab7f..b20a606a001 100644 --- a/api-ref/source/v3/volumes-v3-volumes.inc +++ b/api-ref/source/v3/volumes-v3-volumes.inc @@ -468,6 +468,7 @@ Request - project_id: project_id_path - volume_id: volume_id_path - cascade: cascade + - force: force_5