rally-openstack/samples/tasks/scenarios/vm
Andrey Kurilin 6ed06f974f Deprecate 'command' argument of VMTasks.dd_load_test
VMTasks.dd_load_test appeared as an inheritor of
VMTasks.boot_runcommand_delete scenario with hardcoded script to
execute. Hardcoded script simplifies both user experience (they do not
need to prepare script itself or find it in our samples/source)
maintaining (we can ensure that VMTasks.dd_load_test always launchs the
latest version of ther script).

As like the logic, VMTasks.dd_load_test inherited all the arguments of
the parent which is not convinient when we talk about "command"
argument.

The "command" argument of VMTasks.boot_runcommand_delete is designed to
describe what and how the thing should be executed in the VM. For
example, the can be just a command or script which should be executed.

In VMTasks.dd_load_test we have hardcoded script to execute, so allowing
to setup "command" argument can mislead our customers. But anyway, we
still need to be able setup some part of it.
Despite the fact that we know the interpreter for which our script is
written, the VM can be launched from not trivial image which can use
alternative interpreter (some variety of /bin/sh like /bin/csh in
OpenBSD).

So this patch deprecates 'command' argument and replaces it with
'interpreter' (it defaults to /bin/sh).

Change-Id: Idbf45c71b66e55ce8eb43a6a913f7bf526712a0b
2017-09-28 19:16:29 +03:00
..
boot-runcommand-delete-custom-image.json Add sla section to samples 2017-08-03 04:31:30 -04:00
boot-runcommand-delete-custom-image.yaml Add sla section to samples 2017-08-03 04:31:30 -04:00
boot-runcommand-delete-script-inline.json Add sla section to samples 2017-08-03 04:31:30 -04:00
boot-runcommand-delete-script-inline.yaml Add sla section to samples 2017-08-03 04:31:30 -04:00
boot-runcommand-delete-with-disk.json Add sla section to samples 2017-08-03 04:31:30 -04:00
boot-runcommand-delete-with-disk.yaml Add sla section to samples 2017-08-03 04:31:30 -04:00
boot-runcommand-delete.json Add sla section to samples 2017-08-03 04:31:30 -04:00
boot-runcommand-delete.yaml Add sla section to samples 2017-08-03 04:31:30 -04:00
dd-load-test.json Deprecate 'command' argument of VMTasks.dd_load_test 2017-09-28 19:16:29 +03:00
dd-load-test.yaml Deprecate 'command' argument of VMTasks.dd_load_test 2017-09-28 19:16:29 +03:00