rally-openstack/samples/tasks/scenarios/nova/boot-from-volume-snapshot.yaml
Lv Fumei 65bb33ed97 Add param volume_type when creating volume in nova scenarios
Volume_type can specify a certain volume type when there are
multiple backends.

Change-Id: Ifdc80f5bb6c0a05c64f0b0c6b28b536a2e46f714
2016-07-05 16:14:26 +08:00

21 lines
486 B
YAML
Executable File

{% set flavor_name = flavor_name or "m1.tiny" %}
{% set volume_type = volume_type or "" %}
---
NovaServers.boot_server_from_volume_snapshot:
-
args:
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*uec$"
volume_size: 10
volume_type: "{{volume_type}}"
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 3
users_per_tenant: 2