openstack-python-openstackc.../openstackclient
Eric Fried cd6c285cc6 neutron: autogenerate docs
$namespace = openstack.network.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.

This one turned out to be quite involved, because we support both
neutron and nova-network. When running in a real cloud, the command
classes detect whether the neutron service is present, assume
nova-network if that service is not found, and only add parser options
relevant to the detected service. But the docs need to present both sets
of options. This was easy enough when they were hardcoded, but required
a bit of additional infrastructure for generated docs.

Change-Id: I426261eb1d86bcc68656aabd61f10b7f082da402
2019-11-01 14:24:30 -05:00
..
api Remove token_endpoint auth type 2019-08-27 11:08:50 -05:00
common versions: Fix 'versions show' help message 2019-11-01 11:25:40 +01:00
compute Merge "Add 'openstack server migrate (confirm|revert)' commands" 2019-10-03 11:19:48 +00:00
identity neutron: autogenerate docs 2019-11-01 14:24:30 -05:00
image Use cliff formattable columns in image commands 2019-06-22 13:36:46 -05:00
locale/tr_TR/LC_MESSAGES Imported Translations from Zanata 2018-03-01 07:25:50 +00:00
network neutron: autogenerate docs 2019-11-01 14:24:30 -05:00
object Use cliff formattable columns in object storage commands 2019-06-22 18:44:27 +00:00
tests Fix functional tests for py3 2019-10-31 00:17:35 +00:00
volume Default to Cinder v3 API 2019-09-09 09:35:44 -05:00
__init__.py Clean up W503 and E402 pep8 errors 2018-04-15 12:23:06 +09:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Clean up app initialization and config 2019-09-09 14:01:57 +00:00