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
This commit is contained in:
Mark Vanderwiel 2015-12-10 16:06:21 -06:00
parent 00e4f6e3d5
commit 58136d49f4
1 changed files with 6 additions and 2 deletions

View File

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