Browse Source

Add additional openstack client plugins

There are many OpenStack client plugins available now.
(https://github.com/openstack/python-openstackclient/blob/master/doc/source/commands.rst#plugin-objects)

Update the generation script to include a more up to date list.

This is related to the work for the bp below.
Blueprint: heat-support-python-openstackclient

Change-Id: I0b41bc72cf597fe6e9ba27c1d07005567594bfd1
changes/17/256117/1
Mark Vanderwiel 5 years ago
parent
commit
58136d49f4
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      bin/doc-tools-update-cli-reference

+ 6
- 2
bin/doc-tools-update-cli-reference View File

@ -54,10 +54,14 @@ else
pip install --upgrade python-${project}client
fi
# python-openstackclient has plugin interface.
# It needs to install plugin package
# It needs to install plugin packages
# (i.e. python-ironicclient).
osc_plugins = (congress cue designate ironic heat mistral sahara tuskar)
if [[ $project == 'openstack' ]]; then
pip install --upgrade python-ironicclient
for p in "${osc_plugins[@]}"
do
pip install --upgrade python-${p}client
done
fi
rm -rf output


Loading…
Cancel
Save