summaryrefslogtreecommitdiffstats
path: root/samples/ping-parallel.yaml
diff options
context:
space:
mode:
authorHans Feldt <hans.feldt@ericsson.com>2015-06-03 18:04:31 +0200
committerHans Feldt <hans.feldt@ericsson.com>2015-06-04 16:01:17 +0200
commit662efbb518793a268fb7e82057ccd9b8c197b386 (patch)
tree313175a69f4291b99fab3652f34b4c0c4555bf17 /samples/ping-parallel.yaml
parenta6f7294eadf66e54a65edd629513b2841136e924 (diff)
fix exit status at SLA assertion
tested by changing SLA action to assert and lower rtt, yardstick command should exit non zero Change-Id: I2dd091941fb4359add849f218cacc04f364142cd JIRA: YARDSTICK-25 Signed-off-by: Hans Feldt <hans.feldt@ericsson.com>
Diffstat (limited to 'samples/ping-parallel.yaml')
-rw-r--r--samples/ping-parallel.yaml14
1 files changed, 10 insertions, 4 deletions
diff --git a/samples/ping-parallel.yaml b/samples/ping-parallel.yaml
index 0e632aaaa..1924e76f4 100644
--- a/samples/ping-parallel.yaml
+++ b/samples/ping-parallel.yaml
@@ -17,14 +17,14 @@ scenarios:
duration: 60
interval: 1
sla:
- max_rtt: 15
- action: monitor
+ max_rtt: 10
+ action: assert
-
type: Ping
options:
packetsize: 200
- client: client.demo
- server: server.demo
+ host: client.demo
+ target: server.demo
runner:
type: Duration
duration: 60
@@ -39,10 +39,16 @@ context:
flavor: m1.tiny
user: cirros
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+
servers:
client:
floating_ip: true
+ placement: "pgrp1"
server:
+ placement: "pgrp1"
networks:
test: