aboutsummaryrefslogtreecommitdiffstats
path: root/samples/ping-serial.yaml
diff options
context:
space:
mode:
authorPer Holmgren <per.q.holmgren@ericsson.com>2015-12-17 09:29:21 +0100
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-12-18 08:03:35 +0000
commit0c98e8f83d3548f4f2dc91cfc6e743833fb635c9 (patch)
tree8e8f013e809fd3658a0ba1d6a810089923cedab0 /samples/ping-serial.yaml
parent10594c003a2bc2e2b1ff45a2dff28911b9c2c8f5 (diff)
Changes Arithmetic runner to accept several step parameters
The Arithmetic runner is modified to accept several named parameters to iterate over in each scenario. Possible to chose either to iterate through them in a nested-for-loop fashion (default) or in a tupled loop fashion (combine i:th element of each input). Still possible to only provide one parameter to step/iterate over, as before. All existing yaml files with Arithmetic types have been modified to run the tests as before, and to provide same results as before this change. The only change is in sample file pktgen.yaml to provide a valid example of how to use this modification. It is also possible to step backwards, i.e. start > stop, with a negative step parameter value. (Noticed that tests are terminated when there is SLA error problems in "monitor" mode. Should be fixed in another commit) Change-Id: Ib2ebd24b71dd55d6817cee8e67026a0dd13a9e17 JIRA: -
Diffstat (limited to 'samples/ping-serial.yaml')
-rw-r--r--samples/ping-serial.yaml11
1 files changed, 6 insertions, 5 deletions
diff --git a/samples/ping-serial.yaml b/samples/ping-serial.yaml
index 37ea715a2..9c492e481 100644
--- a/samples/ping-serial.yaml
+++ b/samples/ping-serial.yaml
@@ -20,16 +20,17 @@ scenarios:
action: monitor
-
type: Ping
- options:
- packetsize: 100
host: apollo.demo
target: artemis.demo
runner:
type: Arithmetic
- name: packetsize
interval: 0.2
- stop: 6000
- step: 100
+ iterators:
+ -
+ name: packetsize
+ start: 100
+ stop: 6000
+ step: 100
context:
name: demo