summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/hypervisor.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/cli/command-objects/hypervisor.rst')
-rw-r--r--doc/source/cli/command-objects/hypervisor.rst39
1 files changed, 6 insertions, 33 deletions
diff --git a/doc/source/cli/command-objects/hypervisor.rst b/doc/source/cli/command-objects/hypervisor.rst
index 9db384a2..9ae82bf1 100644
--- a/doc/source/cli/command-objects/hypervisor.rst
+++ b/doc/source/cli/command-objects/hypervisor.rst
@@ -4,38 +4,11 @@ hypervisor
Compute v2
-hypervisor list
----------------
+.. NOTE(efried): have to list these out one by one; 'hypervisor *' pulls in
+ ... stats.
-List hypervisors
+.. autoprogram-cliff:: openstack.compute.v2
+ :command: hypervisor list
-.. program:: hypervisor list
-.. code:: bash
-
- openstack hypervisor list
- [--matching <hostname>]
- [--long]
-
-.. option:: --matching <hostname>
-
- Filter hypervisors using <hostname> substring
-
-.. option:: --long
-
- List additional fields in output
-
-hypervisor show
----------------
-
-Display hypervisor details
-
-.. program:: hypervisor show
-.. code:: bash
-
- openstack hypervisor show
- <hypervisor>
-
-.. _hypervisor_show-flavor:
-.. describe:: <hypervisor>
-
- Hypervisor to display (name or ID)
+.. autoprogram-cliff:: openstack.compute.v2
+ :command: hypervisor show