0e632aaaa292a368068469f188bcb6e2bdd6dd24
[yardstick.git] / samples / ping-parallel.yaml
1 ---
2 # Sample benchmark task config file
3 # Two scenarios run in parallel using different type of runners
4
5 schema: "yardstick:task:0.1"
6 run_in_parallel: true
7
8 scenarios:
9 -
10   type: Ping
11   options:
12     packetsize: 100
13   host: client.demo
14   target: server.demo
15   runner:
16     type: Duration
17     duration: 60
18     interval: 1
19   sla:
20     max_rtt: 15
21     action: monitor
22 -
23   type: Ping
24   options:
25     packetsize: 200
26   client: client.demo
27   server: server.demo
28   runner:
29     type: Duration
30     duration: 60
31     interval: 1
32   sla:
33     max_rtt: 20
34     action: monitor
35
36 context:
37   name: demo
38   image: cirros-0.3.3
39   flavor: m1.tiny
40   user: cirros
41
42   servers:
43     client:
44       floating_ip: true
45     server:
46
47   networks:
48     test:
49       cidr: '10.0.1.0/24'
50       external_network: "net04_ext"
51