[Verify] New command to uninstall Tempest plugins

This command allows us to uninstall a Tempest plugin.

E.g.
  $ rally verify uninstallplugin --repo-name hello-world-tempest-plugin

Also, the patch has the following changes:
1. Now Tempest is installed in the local env (without deps) when providing
   the --sistem-wide argument. It is needed to list plugins installed in the
   local env, not in Tempest virtual env.
2. Now plugins are installed in the 'plugins/system-wide' directory when
   providing the --system-wide argument. It is needed to separate plugins
   installed in the local env and in Tempest virtual env.

Change-Id: Ic30a2705edb321a8d5af70e9d2bf5d5d5d9e8781
This commit is contained in:
Yaroslav Lobankov 2016-07-13 20:55:20 +03:00
parent 2a08398705
commit 54ebdf4010

View File

@ -61,6 +61,7 @@ _rally()
OPTS["verify_showconfig"]="--deployment" OPTS["verify_showconfig"]="--deployment"
OPTS["verify_start"]="--deployment --set --regex --tests-file --skip-list --tempest-config --xfails-file --no-use --system-wide --concurrency --failing" OPTS["verify_start"]="--deployment --set --regex --tests-file --skip-list --tempest-config --xfails-file --no-use --system-wide --concurrency --failing"
OPTS["verify_uninstall"]="--deployment" OPTS["verify_uninstall"]="--deployment"
OPTS["verify_uninstallplugin"]="--deployment --repo-name --system-wide"
OPTS["verify_use"]="--uuid" OPTS["verify_use"]="--uuid"
for OPT in ${!OPTS[*]} ; do for OPT in ${!OPTS[*]} ; do