rally-openstack/samples/tasks/scenarios/cinder/create-snapshot-and-attach-volume.yaml
astaroverov 4cc7edcb30 Move 'volume_type_exists' scenario to '../validators.py'
Change-Id: I8028b8a8b3b9d7ff43df00ca80eb95e73c0674c6
2017-06-09 17:17:25 +03:00

46 lines
996 B
YAML

{% set flavor_name = flavor_name or "m1.tiny" %}
---
CinderVolumes.create_snapshot_and_attach_volume:
-
args:
volume_type: "lvmdriver-1"
size:
min: 1
max: 5
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 1
servers:
image:
name: "^cirros.*-disk$"
flavor:
name: "{{flavor_name}}"
servers_per_tenant: 2
-
args:
volume_type: "test"
size:
min: 1
max: 5
runner:
type: "constant"
times: 4
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 1
servers:
image:
name: "^cirros.*-disk$"
flavor:
name: "{{flavor_name}}"
servers_per_tenant: 2
volume_types:
- "test"