Bugfix: interface down HA tc050 attack and monitor logistic wrong
[yardstick.git] / samples / lmbench.yaml
1 ##############################################################################
2 # Copyright (c) 2017 kristian.hunt@gmail.com and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 ---
10 # Sample benchmark task config file
11 # measure memory read latency and memory bandwidth using lmbench
12
13 schema: "yardstick:task:0.1"
14
15 scenarios:
16 -
17   type: Lmbench
18   options:
19     test_type: "latency"
20     stop_size: 32.0
21
22   host: demeter.demo
23
24   runner:
25     type: Arithmetic
26     iterators:
27     -
28       name: stride
29       start: 64
30       stop: 128
31       step: 64
32
33   sla:
34     max_latency: 35
35     action: monitor
36 -
37   type: Lmbench
38   options:
39     test_type: "bandwidth"
40     benchmark: "wr"
41
42   host: demeter.demo
43
44   runner:
45     type: Arithmetic
46     iterators:
47     -
48       name: size
49       start: 500
50       stop: 2000
51       step: 500
52
53   sla:
54     min_bandwidth: 10000
55     action: monitor
56
57 context:
58   name: demo
59   image: yardstick-image
60   flavor: yardstick-flavor
61   user: ubuntu
62
63   placement_groups:
64     pgrp1:
65       policy: "availability"
66
67   servers:
68     demeter:
69       floating_ip: true
70       placement: "pgrp1"
71
72   networks:
73     test:
74       cidr: '10.0.1.0/24'
75
76