From 71e6d444767a29664821ab190e0736088d8ccfba Mon Sep 17 00:00:00 2001 From: "jiahui.qiang" Date: Mon, 21 Nov 2016 05:47:48 +0800 Subject: Add "volume host set" command Add "volume host set" command in volume v2 to support freeze(disable) and thaw(enable) the specified cinder-volume host Change-Id: Iee1604d72f9eccd9e327b0ef8d345909a733a647 Implements: bp cinder-command-support --- doc/source/command-objects/volume-host.rst | 30 ++++++++++++++++++++++++++++++ doc/source/commands.rst | 1 + 2 files changed, 31 insertions(+) create mode 100644 doc/source/command-objects/volume-host.rst (limited to 'doc/source') diff --git a/doc/source/command-objects/volume-host.rst b/doc/source/command-objects/volume-host.rst new file mode 100644 index 00000000..956fce52 --- /dev/null +++ b/doc/source/command-objects/volume-host.rst @@ -0,0 +1,30 @@ +=========== +volume host +=========== + +Volume v2 + +volume host set +--------------- + +Set volume host properties + +.. program:: volume host set +.. code:: bash + + os volume host set + [--enable | --disable] + + +.. option:: --enable + + Thaw and enable the specified volume host + +.. option:: --disable + + Freeze and disable the specified volume host + +.. _volume-host-set: +.. describe:: + + Name of volume host diff --git a/doc/source/commands.rst b/doc/source/commands.rst index f7ef3eaa..795dfd53 100644 --- a/doc/source/commands.rst +++ b/doc/source/commands.rst @@ -144,6 +144,7 @@ referring to both Compute and Volume quotas. * ``user role``: (**Identity**) roles assigned to a user * ``volume``: (**Volume**) block volumes * ``volume backup``: (**Volume**) backup for volumes +* ``volume host``: (**Volume**) the physical computer for volumes * ``volume qos``: (**Volume**) quality-of-service (QoS) specification for volumes * ``volume snapshot``: (**Volume**) a point-in-time copy of a volume * ``volume type``: (**Volume**) deployment-specific types of volumes available -- cgit v1.2.1