Add lmbench scenario and sample
[yardstick.git] / samples / ping-multiple-context.yaml
1 ---
2 # Sample benchmark task config file to measure network latency using ping
3 # Client/server parts are located in different contexts(stacks)
4 # => longer communication path and higher latency
5
6 schema: "yardstick:task:0.1"
7
8 scenarios:
9 -
10   type: Ping
11   options:
12     packetsize: 100
13   host: athena.demo1
14   target: hades.demo2
15   runner:
16     type: Duration
17     duration: 60
18     interval: 1
19   sla:
20     max_rtt: 15
21     action: monitor
22
23 contexts:
24 -
25   name: demo1
26   image: cirros-0.3.3
27   flavor: m1.tiny
28   user: cirros
29   placement_groups:
30     pgrp1:
31       policy: "availability"
32   servers:
33     athena:
34       floating_ip: true
35       placement: "pgrp1"
36   networks:
37     test:
38       cidr: '10.0.1.0/24'
39       external_network: "net04_ext"
40 -
41   name: demo2
42   image: cirros-0.3.3
43   flavor: m1.tiny
44   user: cirros
45   placement_groups:
46     pgrp1:
47       policy: "availability"
48   servers:
49     hades:
50       floating_ip: true
51       placement: "pgrp1"
52   networks:
53     test:
54       cidr: '10.0.1.0/24'
55       external_network: "net04_ext"
56