Rally-Vagrant allows to run scenarios on an OpenStack deployed with Discovery-Vagrant.
Where to find Discovery-Vagrant.
- Get a scenario from rally on this page
- Launch benchmarking with
python rally.py config.json "pathtoscenario"
You can also test several scenarios :
python rally.py config.json scenario1 scenario2...
It is also possible to make a file with scenarios paths as scenarios.txt
. You must then use it as follows:
python rally.py config.json --file scenarios.txt
- Also, you can choose to first deploy a Discovery-Vagrant machine as follows:
python rally.py --vagrant config.json "pathtoscenario"
Add the -m
option if you want to use my version of Discovery-Vagrant, and --mlog
to enable the logging.
Wrapper for Rally to use with Discovery-Vagrant
Usage:
rally.py [--vagrant | --vagrant [-m|--mlog]] <config> ( --file=<file> | <file>... ) [-h | --help][--version]
Options:
-h --help Show this screen
--version Show version
--vagrant Deploys a Discovery-Vagrant machine before executing tests (about an hour execution)
-m Uses my version of Discovery-Vagrant
--mlog Uses my version of Discovery-Vagrant with logs
--file=<file> Uses a file containing a list of scenarios
Arguments:
<config> The config file to use
<file> The scenarios Rally will use