Eric Fried c6266b5ab2 compute: autogenerate docs
$namespace = openstack.compute.v2

The subcommand documents for $namespace were hardcoded and thus prone to
drift over time. This commit removes the hardcoded content and uses the
autoprogram-cliff directive to generate them automatically from the
subcommand configuration classes.

Many of these were already being generated. Some were missing a few
sub-subcommands, so those are added.

Change-Id: I1aa4b2655bafd2f6a5d83b658742f65d180eb128
2019-11-05 07:09:05 -06:00

15 lines
298 B
ReStructuredText

==========
hypervisor
==========
Compute v2
.. NOTE(efried): have to list these out one by one; 'hypervisor *' pulls in
... stats.
.. autoprogram-cliff:: openstack.compute.v2
:command: hypervisor list
.. autoprogram-cliff:: openstack.compute.v2
:command: hypervisor show