Support run cyclictest on BareMetal
[yardstick.git] / samples / ping-ext-ip.yaml
1 ---
2 # Sample benchmark task config file
3 # Measure network latency using ping, destination is an external server
4 # Make sure servers have internet access before running this test.
5 # For example using virtual MOS do something this on the host:
6 # sudo iptables -t nat -A POSTROUTING -s 172.16.0.0/24 \! -d 172.16.0.0/24 -j MASQUERADE
7 #
8
9 schema: "yardstick:task:0.1"
10
11 scenarios:
12 -
13   type: Ping
14   host: hermes.demo
15   target: 8.8.8.8
16   runner:
17     type: Duration
18     duration: 60
19     interval: 1
20   sla:
21     max_rtt: 10
22     action: monitor
23
24 context:
25   name: demo
26   image: cirros-0.3.3
27   flavor: m1.tiny
28   user: cirros
29   servers:
30     hermes:
31       floating_ip: true
32   networks:
33     test:
34       cidr: '10.0.1.0/24'
35