Merge "add ping6 to nosdn-nofeature-ha scenario"
[yardstick.git] / samples / pktgen.yaml
1 ---
2 # Sample benchmark task config file
3 # measure network throughput using pktgen
4 # with 2 stepping parameters. One stepping
5 # in positive and the other in negative direction
6
7 schema: "yardstick:task:0.1"
8
9 scenarios:
10 -
11   type: Pktgen
12   options:
13     duration: 20
14
15   host: demeter.demo
16   target: poseidon.demo
17
18   runner:
19     type: Arithmetic
20     interval: 2
21     iter_type: nested_for_loops
22     # run with packetsize/number_of_ports: 60,20; 60,10; ... 70,10
23     iterators:
24       -
25        name: packetsize
26        start: 60
27        stop: 70
28        step: 5
29       -
30        name: number_of_ports
31        start: 20
32        stop: 10
33        step: -10
34
35   sla:
36     max_ppm: 1000
37     action: monitor
38
39 context:
40   name: demo
41   image: yardstick-trusty-server
42   flavor: yardstick-flavor
43   user: ubuntu
44
45   placement_groups:
46     pgrp1:
47       policy: "availability"
48
49   servers:
50     demeter:
51       floating_ip: true
52       placement: "pgrp1"
53     poseidon:
54       floating_ip: true
55       placement: "pgrp1"
56
57   networks:
58     test:
59       cidr: '10.0.1.0/24'
60
61