Support run cyclictest on BareMetal
[yardstick.git] / samples / background-task.yaml
1 ---
2 # Sample benchmark task config file
3 # Demonstrate use of background scenarios
4
5 schema: "yardstick:task:0.1"
6
7 scenarios:
8 -
9   type: CPUload
10   options:
11     interval: 1
12
13   host: zeus.demo
14
15   # This scenario is run as a background scenario and runs
16   # in parallel with other scenarios.
17   #
18   # Background scenarios are started before normal scenarios
19   # and are terminated when all normal scenarios have ended.
20   #
21   # A background scenario does not need a runner section as it
22   # will always use an infinite duration runner that are terminated
23   # when all normal scenarios have completed.
24   #
25   run_in_background: true   # default: false
26 -
27   type: Iperf3
28   options:
29   host: zeus.demo
30   target: hera.demo
31
32   runner:
33     type: Duration
34     duration: 60
35
36   sla:
37     bytes_per_second: 2900000000
38     action: monitor
39
40 context:
41   name: demo
42   image: yardstick-trusty-server
43   flavor: yardstick-flavor
44   user: ec2-user
45
46   placement_groups:
47     pgrp1:
48       policy: "availability"
49
50   servers:
51     zeus:
52       floating_ip: true
53       placement: "pgrp1"
54     hera:
55       floating_ip: true
56       placement: "pgrp1"
57
58   networks:
59     test:
60       cidr: '10.0.1.0/24'