From 8be9df33f669253d698a1d3b1c6da63e608f539d Mon Sep 17 00:00:00 2001 From: Yaroslav Lobankov Date: Sat, 6 Aug 2016 13:48:36 +0300 Subject: [PATCH] [Verify] Adding 'add-options' arg to `rally verify genconfig` cmd Tempest supports a mechanism that allows us to plug in various tests as a Tempest plugin. Each plugin needs to be configured in the proper way. Rally cannot configure all plugins on the planet. We should add some option that will allow us to add extra configuration for plugins to Tempest config file. For example, if we want to run Ceilometer tests, the workflow will be as follows: $ rally verify install $ rally verify installplugin --source https://github.com/openstack/ceilometer.git $ rally verify genconfig --add-options /path/to/config/file/for/ceilometer/tests $ rally verify start --regex ceilometer where config file for Ceilometer tests is something like this: ... [service_available] ceilometer = True event_enabled = True ... Change-Id: Ida02a36e2757a742ca91919cc756846f137a23d3 --- etc/rally.bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rally.bash_completion b/etc/rally.bash_completion index b7676673..f7c47eb0 100644 --- a/etc/rally.bash_completion +++ b/etc/rally.bash_completion @@ -49,7 +49,7 @@ _rally() OPTS["verify_compare"]="--uuid-1 --uuid-2 --csv --html --json --output-file --threshold" OPTS["verify_detailed"]="--uuid --sort-by" OPTS["verify_discover"]="--deployment --pattern --system-wide" - OPTS["verify_genconfig"]="--deployment --tempest-config --override" + OPTS["verify_genconfig"]="--deployment --tempest-config --add-options --override" OPTS["verify_import"]="--deployment --set --file --no-use" OPTS["verify_install"]="--deployment --source --version --system-wide" OPTS["verify_installplugin"]="--deployment --source --version --system-wide"