Distributed data-plane performance testing tool
Go to file
Ilya Shakhat 4b041b2b38 Add Zuul job to build Docker image
The job runs in gate pipeline. It creates a new image
and pushes it into performa/shaker repo on Dockerhub.

Change-Id: I85d26a03c812657138b2ceb2a0496ceb7d015577
2018-11-09 09:31:01 +01:00
doc/source Add Zuul job to build Docker image 2018-11-09 09:31:01 +01:00
etc Enhance Shaker to provide the ability to define support templates 2018-11-05 11:12:14 -06:00
shaker Enhance Shaker to provide the ability to define support templates 2018-11-05 11:12:14 -06:00
tools Add Zuul job to build Docker image 2018-11-09 09:31:01 +01:00
.dockerignore Pack Shaker into container 2016-08-04 15:36:41 +03:00
.gitignore Switch to stestr 2018-07-06 10:33:13 +07:00
.gitreview Update .gitreview for new namespace 2015-10-17 22:38:47 +00:00
.stestr.conf Switch to stestr 2018-07-06 10:33:13 +07:00
.zuul.yaml Add Zuul job to build Docker image 2018-11-09 09:31:01 +01:00
config-generator.conf Fix config processing for oslo.log 2015-03-03 17:38:25 +03:00
Dockerfile Add Zuul job to build Docker image 2018-11-09 09:31:01 +01:00
LICENSE Initial commit 2015-01-28 18:56:01 +03:00
openstack-common.conf Use oslo.log lib instead of incunator code 2015-03-03 16:14:19 +03:00
README.rst Add Zuul job to build Docker image 2018-11-09 09:31:01 +01:00
readthedocs.yml Fix docs gate and rtd build 2016-12-14 12:51:10 +04:00
requirements.txt Enhance Shaker to provide the ability to define support templates 2018-11-05 11:12:14 -06:00
rtd-requirements.txt Fix docs gate and rtd build 2016-12-14 12:51:10 +04:00
setup.cfg Fix the ineffective links in shaker 2018-01-03 03:15:03 +00:00
setup.py Update requirements and pin pyzmq 2015-11-12 14:05:16 +03:00
test-requirements.txt Switch to stestr 2018-07-06 10:33:13 +07:00
tox.ini Add zuul job with integration testing 2018-10-22 15:03:38 +02:00

Shaker

The distributed data-plane testing tool built for OpenStack.

Shaker wraps around popular system network testing tools like iperf, iperf3 and netperf (with help of flent). Shaker is able to deploy OpenStack instances and networks in different topologies. Shaker scenario specifies the deployment and list of tests to execute. Additionally tests may be tuned dynamically in command-line.

Features

  • User-defined topology via Heat templates
  • Simultaneously test execution on multiple instances
  • Interactive report with stats and charts
  • Built-in SLA verification

Deployment Requirements

  • Shaker server routable from OpenStack cloud
  • Admin-user access to OpenStack API is preferable

Run in Python Environment

$ pip install pyshaker
$ . openrc
$ shaker-image-builder
$ shaker --server-endpoint <host:port> --scenario <scenario> --report <report.html>``
where:
  • host and port - host and port of machine where Shaker is deployed
  • scenario - the scenario to execute, e.g. openstack/perf_l2 ( catalog)
  • <report.html> - file to store the final report

Full list of parameters is available in documentation.

Shaker in Container

Shaker is available as container at Docker Hub at performa/shaker

$ docker run -p <port>:<port> -v <artifacts-dir>:/artifacts performa/shaker --scenario <scenario> --server-endpoint <host:port>
  --os-auth-url <os-auth-url> --os-username <os-username> --os-password <os-password> --os-project-name <os-project-name>
where:
  • host and port - host and port on machine where Shaker is deployed
  • artifacts-dir - where to store report and raw result
  • scenario - the scenario to execute, e.g. openstack/perf_l2 ( catalog)
  • os-XXX - OpenStack cloud credentials