From ff3a1d3780486d98bd3205c8329576b396e8161f Mon Sep 17 00:00:00 2001 From: jichenjc Date: Fri, 19 Feb 2016 22:52:38 +0800 Subject: [compute] Add set host command set host command is missing, add it as SetHost class. Change-Id: I7acb94150718b7150598632cbebc3d85018a0d59 --- doc/source/command-objects/host.rst | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'doc/source/command-objects') 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-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:: + + The host (name or ID) + host show --------- -- cgit v1.2.1