Add rally integration point

This folder is used to define the rally tests scenarios
run for Kuryr gate job.
This also allow to create Kuryr specific rally plugins
and use them in scenarios in the gate job.

implements blueprint: rally-kuryr-testing

Change-Id: I73078fffbf5707740a58be70902d5cb5a95fc074
This commit is contained in:
Gal Sagie 2015-12-09 13:55:04 +02:00
parent 16894b1c29
commit f90577d15d
5 changed files with 63 additions and 0 deletions

31
rally-jobs/README.rst Normal file
View File

@ -0,0 +1,31 @@
Rally job related files
=======================
This directory contains rally tasks and plugins that are run by OpenStack CI.
Structure
---------
* plugins - directory where you can add rally plugins. Almost everything in
Rally is a plugin. Benchmark context, Benchmark scenario, SLA checks, Generic
cleanup resources, ....
* extra - all files from this directory will be copy pasted to gates, so you
are able to use absolute paths in rally tasks.
Files will be located in ~/.rally/extra/*
* kuryr.yaml is a task that is run in gates against OpenStack with
Kuryr and Neutron deployed
Useful links
------------
* More about Rally: https://rally.readthedocs.org/en/latest/
* Rally release notes: https://rally.readthedocs.org/en/latest/release_notes.html
* How to add rally-gates: https://rally.readthedocs.org/en/latest/gates.html
* About plugins: https://rally.readthedocs.org/en/latest/plugins.html
* Plugin samples: https://github.com/openstack/rally/tree/master/samples/plugins

View File

@ -0,0 +1,6 @@
Extra files
===========
All files from this directory will be copy pasted to gates, so you are able to
use absolute path in rally tasks. Files will be in ~/.rally/extra/*

17
rally-jobs/kuryr.yaml Normal file
View File

@ -0,0 +1,17 @@
---
NeutronNetworks.create_and_list_networks:
-
runner:
type: "constant"
times: 40
concurrency: 20
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
neutron:
network: -1
sla:
failure_rate:
max: 0

View File

@ -0,0 +1,9 @@
Rally plugins
=============
All *.py modules from this directory will be auto-loaded by Rally and all
plugins will be discoverable. There is no need of any extra configuration
and there is no difference between writing them here and in rally code base.
Note that it is better to push all interesting and useful benchmarks to Rally
code base, this simplifies administration for Operators.

View File