From 58136d49f486777190d948f67e84e66d469bbe19 Mon Sep 17 00:00:00 2001 From: Mark Vanderwiel Date: Thu, 10 Dec 2015 16:06:21 -0600 Subject: [PATCH] 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 --- bin/doc-tools-update-cli-reference | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/doc-tools-update-cli-reference b/bin/doc-tools-update-cli-reference index 2ac021b5..d6e9b4b4 100755 --- a/bin/doc-tools-update-cli-reference +++ b/bin/doc-tools-update-cli-reference @@ -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