summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/host.rst
blob: cbf34398272edabd8474095feedea1c49157b2cc (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
67
68
69
70
71
72
====
host
====

Compute v2

The physical computer running a hypervisor.

host list
---------

List hosts

.. program:: host list
.. code:: bash

    openstack host list
        [--zone <availability-zone>]

.. option:: --zone <availability-zone>

    Only return hosts in the availability zone

host set
--------

Set host properties

.. program:: host set
.. code:: bash

    openstack host set
        [--enable | --disable]
        [--enable-maintenance | --disable-maintenance]
        <host>

.. _host-set:
.. option:: --enable

    Enable the host

.. option:: --disable

    Disable the host

.. _maintenance-set:
.. option:: --enable-maintenance

    Enable maintenance mode for the host

.. option:: --disable-maintenance

    Disable maintenance mode for the host

.. describe:: <host>

    Host to modify (name only)

host show
---------

Display host details

.. program:: host show
.. code:: bash

    openstack host show
        <host>

.. describe:: <host>

    Name of host