rally/samples/tasks/scenarios/vm/boot-runcommand-delete.yaml
Alexander Maretskiy e8bc24e1c7 [Plugins] Improve scenario output from boot_runcommand_delete
Scenario VMTasks.boot_runcommand_delete now can populate
report tab "Scenario Data" with any allowed charts.
SSH command return value structure new reflects
Scenario.add_output() arguments.

Also, there is new shell script
samples/tasks/support/instance_test.sh which generates
different load on server and creates proper JSON output.

Old format of command output is also supported but marked
as deprecated.

Change-Id: I6a34b634ea7d9080f9ca08bf0f82d04fa69406d9
2016-06-16 11:04:49 +03:00

25 lines
595 B
YAML

{% set flavor_name = flavor_name or "m1.tiny" %}
---
VMTasks.boot_runcommand_delete:
-
args:
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*uec$"
floating_network: "public"
force_delete: false
command:
interpreter: "/bin/sh"
script_file: "samples/tasks/support/instance_test.sh"
username: "cirros"
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 3
users_per_tenant: 2
network: {}