diff options
| author | jichenjc <jichenjc@cn.ibm.com> | 2016-02-19 22:52:38 +0800 |
|---|---|---|
| committer | jichenjc <jichenjc@cn.ibm.com> | 2016-02-26 05:05:46 +0800 |
| commit | ff3a1d3780486d98bd3205c8329576b396e8161f (patch) | |
| tree | 69a9371806db5e347c1112c033dd66dd2707c360 /doc/source | |
| parent | 8787ad2b49cdb1043a6c5c5b6bad10e54068aeaf (diff) | |
| download | python-openstackclient-ff3a1d3780486d98bd3205c8329576b396e8161f.tar.gz | |
[compute] Add set host command
set host command is missing, add it as SetHost class.
Change-Id: I7acb94150718b7150598632cbebc3d85018a0d59
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/command-objects/host.rst | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/source/command-objects/host.rst b/doc/source/command-objects/host.rst index 680efcc2..ede62c56 100644 --- a/doc/source/command-objects/host.rst +++ b/doc/source/command-objects/host.rst @@ -21,6 +21,41 @@ List all hosts Only return hosts in the availability zone +host set +-------- + +Set host command + +.. program:: host set +.. code:: bash + + os 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> + + The host (name or ID) + host show --------- |
