python-openstackclient/doc/source/command-objects/volume-service.rst
Huanxuan Ao 81431d24a9 Add "volume service set" command
Add "volume service set" command in volume v1 and v2
(v1 is the same as v2) to disable or enable volume service.

Change-Id: Ibb2db7e93b24cb2e0d2a7c28b6fd8bcc851b8d2f
Closes-Bug: #1613597
2016-08-17 10:42:28 +08:00

66 lines
1.1 KiB
ReStructuredText

==============
volume service
==============
Volume v1, v2
volume service list
-------------------
List volume service
.. program:: volume service list
.. code:: bash
os volume service list
[--host <host>]
[--service <service>]
[--long]
.. _volume-service-list:
.. option:: --host <host>
List services on specified host (name only)
.. option:: --service <service>
List only specified service (name only)
.. option:: --long
List additional fields in output
volume service set
------------------
Set volume service properties
.. program:: volume service set
.. code:: bash
os volume service set
[--enable | --disable]
[--disable-reason <reason>]
<host> <service>
.. option:: --enable
Enable volume service
.. option:: --disable
Disable volume service
.. option:: --disable-reason <reason>
Reason for disabling the service (should be used with --disable option)
.. _volume-service-set:
.. describe:: <host>
Name of host
.. describe:: <service>
Name of service (Binary name)