a17cffd760a46adeda43a42dc1222fdac446da28
[yardstick.git] / samples / pktgen.yaml
1 ---
2 # Sample benchmark task config file
3 # measure network throughput using pktgen
4
5 schema: "yardstick:task:0.1"
6
7 scenarios:
8 -
9   type: Pktgen
10   options:
11     packetsize: 60
12     number_of_ports: 10
13
14   host: client.demo
15   target: server.demo
16
17   runner:
18     type: Arithmetic
19     name: number_of_ports
20     stop: 100
21     step: 10
22
23   sla:
24     max_ppm: 1
25
26 context:
27   name: demo
28   image: yardstick-trusty-server
29   flavor: yardstick-flavor
30   user: ec2-user
31
32   servers:
33     client:
34       instances: 1
35       floating_ip: true
36     server:
37       floating_ip: true
38
39   networks:
40     test:
41       cidr: '10.0.1.0/24'
42       external_network: "net04_ext"
43