summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-06-04 09:11:46 +0200
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2015-06-09 13:03:20 +0000
commit508e01d81a96c8ede773e6d0dd332892e9600ea7 (patch)
treefae75cc00148d3dbc2f814353b470af4e7cb6bf3 /samples
parent662efbb518793a268fb7e82057ccd9b8c197b386 (diff)
add pktgen scenario and sample
Supports measuring network throughput UDP. SLA can be verified for packet lost per million packets (ppm) Change-Id: Ie5972f189bbe58b39a2fae98630b2f117c176ae5 JIRA: YARDSTICK-5 Signed-off-by: Jorgen Karlsson <jorgen.w.karlsson@ericsson.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/pktgen.yaml14
1 files changed, 11 insertions, 3 deletions
diff --git a/samples/pktgen.yaml b/samples/pktgen.yaml
index a17cffd76..000a7cd92 100644
--- a/samples/pktgen.yaml
+++ b/samples/pktgen.yaml
@@ -17,11 +17,13 @@ scenarios:
runner:
type: Arithmetic
name: number_of_ports
- stop: 100
+ # run twice with values 10 and 20
+ stop: 20
step: 10
sla:
- max_ppm: 1
+ max_ppm: 1000
+ action: monitor
context:
name: demo
@@ -29,15 +31,21 @@ context:
flavor: yardstick-flavor
user: ec2-user
+ placement_groups:
+ pgrp1:
+ policy: "availability"
+
servers:
client:
- instances: 1
floating_ip: true
+ placement: "pgrp1"
server:
floating_ip: true
+ placement: "pgrp1"
networks:
test:
cidr: '10.0.1.0/24'
external_network: "net04_ext"
+