summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/volume-service.rst
blob: 0499fb90627b3134355d326b9a1294831bc68db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
==============
volume service
==============

Block Storage v1, v2

volume service list
-------------------

List volume service

.. program:: volume service list
.. code:: bash

    openstack volume service list
        [--host <host>]
        [--service <service>]
        [--long]

.. 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

    openstack 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 :option:`--disable` option)

.. _volume_service_set-host:
.. describe:: <host>

    Name of host

.. describe:: <service>

    Name of service (Binary name)