openstack-python-openstackc.../openstackclient/identity
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
..
v2_0 Merge "Use cliff formattable columns in identity commands" 2019-06-23 04:49:33 +00:00
v3 Add parent project filter for listing projects 2019-09-02 09:05:37 +09:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
client.py osc-lib: shell 2016-08-05 13:48:55 -05:00
common.py neutron: autogenerate docs 2019-11-01 14:24:30 -05:00