5a48323531
Adding some common scenarios for stressing glance. + Create and list images + Create and delete images + Create image and boot instances off it + List images by placing image in context Also adding a separate configuration file for glance only. Change-Id: I5327e9c65cb1b045f686e442e88b3e71f73ac5cf
26 lines
756 B
YAML
26 lines
756 B
YAML
{% 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 %}
|
|
---
|
|
GlanceImages.list_images:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: {{times}}
|
|
concurrency: {{concurrency}}
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
images:
|
|
image_url: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"
|
|
image_type: "qcow2"
|
|
image_container: "bare"
|
|
images_per_tenant: 4
|
|
sla:
|
|
max_avg_duration: {{sla_max_avg_duration}}
|
|
max_seconds_per_iteration: {{sla_max_seconds}}
|
|
failure_rate:
|
|
max: {{sla_max_failure}}
|
|
|