browbeat/rally/cinder/cinder-create-and-attach-volume-cc.yml
Alex Krzos 2e4696180a Add sla_max_avg_duration
Change-Id: I5211b805b5756cc5db94b4ddd4cb135fb19ed333
2016-02-19 11:10:50 -05:00

39 lines
1018 B
YAML

{% set image_name = image_name or "centos7" %}
{% set flavor_name = flavor_name or "m1.small" %}
{% 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 %}
---
CinderVolumes.create_and_attach_volume:
-
args:
size: 1
image:
name: {{image_name}}
flavor:
name: {{flavor_name}}
runner:
concurrency: {{concurrency}}
times: {{times}}
type: "constant"
context:
users:
tenants: 2
users_per_tenant: 2
quotas:
neutron:
network: -1
port: -1
nova:
instances: -1
cores: -1
ram: -1
cinder:
gigabytes: -1
volumes: -1
sla:
max_avg_duration: {{sla_max_avg_duration}}
max_seconds_per_iteration: {{sla_max_seconds}}
failure_rate:
max: {{sla_max_failure}}