Distributed data-plane performance testing tool
1a65fba420
Rename field 'agent_id' into 'agent' to stay similar to other references Change-Id: Iad9c6d189200fefcbff119fba0f778d18079114c |
||
---|---|---|
doc/source | ||
etc | ||
scenarios | ||
shaker | ||
tests | ||
tools | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
config-generator.conf | ||
LICENSE | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Shaker
Shake VMs with our sheer-class tests!
Installation
The tool consists of a single server running on master node and set of dynamically provisioned agents. In order to run the server needs to know OpenStack parameters (credentials, auth_url), they can be set via environment (e.g. by sourcing openrc file) or via parameters.
- To install:
-
git clone git://git.openstack.org/stackforge/shaker
python setup.py install
- installs the tool and all its python dependenciesshaker-image-builder
- builds image for agent VMs inside OpenStack
Note: image builder is able to create Nova flavor optimized for the
image and this requires admin user privileges. However if the flavor is
already exists then it can be provided via flavor-name
config parameter and the tool executed from an ordinary user.
How to run
shaker --server-endpoint <host>:<port> --scenario <scenario-file> --report <report-file>
During the run the tool deploys topology, spawns instances, distributes tasks among instances and generates report in HTML format.
Links
- Launchpad - https://launchpad.net/shaker/
- Docs - http://shaker-docs.readthedocs.org/
- PyPi - https://pypi.python.org/pypi/pyshaker/