rally-openstack/samples/tasks/scenarios/cinder/create-and-update-volume.yaml
Kun Huang 99f165395a unify *_kwargs name in scenarios
When running a scenario, `kwargs` is used as default key-word arguments.
But in some scenarios, there are more and one services being called, and
we use xxx_kwargs for this case.

However, some xxx_kwargs are not unifed for same usage[0]. Unifying
these could avoid midleading for end users. Another improvement is to
add xxx_kwargs with empty settings for scenario config files.

[0] http://paste.openstack.org/show/489505/

Change-Id: I80f49be5c1cd21812d6b2d56b0f4279f0cf4f402
2016-03-09 08:57:05 +08:00

18 lines
390 B
YAML

---
CinderVolumes.create_and_update_volume:
-
args:
update_volume_kwargs:
display_name: "name_updated"
display_description: "desc_updated"
create_volume_kwargs: {}
size: 1
runner:
type: "constant"
times: 3
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1