From c4ae5554d4aa00431574fa86ec81843ed060a3c2 Mon Sep 17 00:00:00 2001 From: Yaroslav Lobankov Date: Sun, 20 Sep 2015 12:30:21 +0300 Subject: [PATCH] Moving commands for (re,un)instaling Tempest to "verify" category This patch moves (re,un)install commands for Tempest from "tempest" category to "verify" category. Now to (re,un)install Tempest we can execute the following commands: $ rally verify install $ rally verify uninstall $ rally verify reinstall In addition, missing unit tests were added. The corresponding changes were made in rally-verify.sh script to pass Jenkins check. Implements: blueprint improve-tempest-manage-cli Change-Id: Ibe6713b755982acf1f7e4b89b13fd2a0dad7c034 --- etc/rally.bash_completion | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/rally.bash_completion b/etc/rally.bash_completion index d5ec501e..87f5777f 100644 --- a/etc/rally.bash_completion +++ b/etc/rally.bash_completion @@ -53,10 +53,13 @@ _rally() OPTS["verify_compare"]="--uuid-1 --uuid-2 --csv --html --json --output-file --threshold" OPTS["verify_detailed"]="--uuid --sort-by" OPTS["verify_genconfig"]="--deployment --tempest-config --override" + OPTS["verify_install"]="--deployment --source" OPTS["verify_list"]="" + OPTS["verify_reinstall"]="--deployment --tempest-config --source" OPTS["verify_results"]="--uuid --html --json --output-file" OPTS["verify_show"]="--uuid --sort-by --detailed" OPTS["verify_start"]="--deployment --set --regex --tempest-config --no-use --system-wide-install" + OPTS["verify_uninstall"]="--deployment" OPTS["verify_use"]="--verification" for OPT in ${!OPTS[*]} ; do