valli03 b3f4329ea3 Adding Browbeat workload - Sysbench with CPU test
Sysbench is an open source benchmarking tool used to evaluate the system
performance. Currently, the Sysbench CPU test is being integrated into
the Rally workload.

Change-Id: I032d4bc5621d598c0c8ebc6b6367bdd50a15d929
2018-07-24 12:14:17 -04:00

46 lines
1.2 KiB
YAML

{% set image_name = image_name or 'browbeat-sysbench' %}
{% set flavor_name = flavor_name or 'm1.small' %}
{% set password = password or 'None' %}
{% set net_id = net_id or 'None' %}
{% set sla_max_avg_duration = sla_max_avg_duration or 60 %}
{% set sla_max_failure = sla_max_failure or 0 %}
{% set sla_max_seconds = sla_max_seconds or 60 %}
---
BrowbeatPlugin.sysbench:
-
args:
image:
name: '{{image_name}}'
flavor:
name: '{{flavor_name}}'
external:
name: '{{external_network}}'
user: '{{user}}'
test_name: '{{test_name}}'
cpu_max_prime: '{{cpu_max_prime}}'
password: '{{password}}'
network_id: '{{net_id}}'
runner:
concurrency: 1
times: 1
type: "constant"
context:
users:
tenants: 1
users_per_tenant: 1
quotas:
neutron:
network: -1
port: -1
router: -1
subnet: -1
nova:
instances: -1
cores: -1
ram: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}