From 9599ffe65d9dcd4b3aa780d346eccd1e760890bf Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 13 Jun 2017 15:55:33 -0400 Subject: reorganize existing documentation according to the new standard layout Move existing content around based on the doc-migration specification. Replace :doc: markup with :ref: to have sphinx keep track of where the files move and generate valid hyperlinks. Add a few toctrees and index pages for the new directories. Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454 Change-Id: I253ee8f89d3ec40e39310c18bb87ed1d3d5de330 Signed-off-by: Doug Hellmann --- doc/source/cli/command-objects/host.rst | 72 +++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 doc/source/cli/command-objects/host.rst (limited to 'doc/source/cli/command-objects/host.rst') diff --git a/doc/source/cli/command-objects/host.rst b/doc/source/cli/command-objects/host.rst new file mode 100644 index 00000000..cbf34398 --- /dev/null +++ b/doc/source/cli/command-objects/host.rst @@ -0,0 +1,72 @@ +==== +host +==== + +Compute v2 + +The physical computer running a hypervisor. + +host list +--------- + +List hosts + +.. program:: host list +.. code:: bash + + openstack host list + [--zone ] + +.. option:: --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-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 to modify (name only) + +host show +--------- + +Display host details + +.. program:: host show +.. code:: bash + + openstack host show + + +.. describe:: + + Name of host -- cgit v1.2.1