[Verify] Deprecating --no-tempest-venv for rally verify [re]install

We should keep consistency in arguments between commands. So this patch
is intended to deprecate --no-tempest-venv in favor of --system-wide like
it is in `rally verify start`.

Now if we execute `rally verify [re]install --help`, we will see the following
warning:

  $ rally verify install --help
  ...

  --system-wide         Don't create a virtual env for Tempest. Take notice
                        that all Tempest requirements have to be already
                        installed in the local env!
  --no-tempest-venv     [Deprecated since Rally 0.2.0] Use --system-wide instead
  ...

Change-Id: I5c1a9c5f917d4dff95a79e826d598ed07ea3de19
This commit is contained in:
Yaroslav Lobankov 2015-12-29 11:49:41 +03:00
parent 17d0616211
commit ab4602e441

View File

@ -50,9 +50,9 @@ _rally()
OPTS["verify_detailed"]="--uuid --sort-by"
OPTS["verify_genconfig"]="--deployment --tempest-config --override"
OPTS["verify_import"]="--deployment --set --file --no-use"
OPTS["verify_install"]="--deployment --source --no-tempest-venv"
OPTS["verify_install"]="--deployment --source --system-wide"
OPTS["verify_list"]=""
OPTS["verify_reinstall"]="--deployment --tempest-config --source --no-tempest-venv"
OPTS["verify_reinstall"]="--deployment --tempest-config --source --system-wide"
OPTS["verify_results"]="--uuid --html --json --output-file"
OPTS["verify_show"]="--uuid --sort-by --detailed"
OPTS["verify_showconfig"]="--deployment"