From 4b14f3d0cb26dc89d7b62c70302eefaabc7cf2e3 Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Tue, 18 Oct 2016 14:59:28 +0800 Subject: Add "--type" and "--retype-policy" options to "volume set" command Add "--type" and "--retype-policy" options to "volume set" command in volume v2 (v2 only) to support changing the volume type for a volume Change-Id: I0153abdb967aee790586a57cef31930e32005c1b Implements: bp cinder-command-support --- doc/source/command-objects/volume.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/volume.rst b/doc/source/command-objects/volume.rst index abd433b6..df4d6880 100644 --- a/doc/source/command-objects/volume.rst +++ b/doc/source/command-objects/volume.rst @@ -254,6 +254,8 @@ Set volume properties [--property [...] ] [--image-property [...] ] [--state ] + [--type ] + [--retype-policy ] [--bootable | --non-bootable] [--read-only | --read-write] @@ -274,6 +276,20 @@ Set volume properties Set a property on this volume (repeat option to set multiple properties) +.. option:: --type + + New volume type (name or ID) + + *Volume version 2 only* + +.. option:: --retype-policy + + Migration policy while re-typing volume + ("never" or "on-demand", default is "never" ) + (available only when "--type" option is specified) + + *Volume version 2 only* + .. option:: --bootable Mark volume as bootable -- cgit v1.2.1