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:
parent
00e4f6e3d5
commit
58136d49f4
|
@ -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…
Reference in New Issue