This patch is used to add grafana config to opnfv dashboard for
[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 -
40   name: demo2
41   image: cirros-0.3.3
42   flavor: m1.tiny
43   user: cirros
44   placement_groups:
45     pgrp1:
46       policy: "availability"
47   servers:
48     hades:
49       floating_ip: true
50       placement: "pgrp1"
51   networks:
52     test:
53       cidr: '10.0.1.0/24'
54