[docs] Updated baremetal instalation instructions
[yardstick.git] / samples / ping-serial.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Ericsson AB 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 # Two scenarios run serially using different types of runners
12
13 schema: "yardstick:task:0.1"
14
15 scenarios:
16 -
17   type: Ping
18   options:
19     packetsize: 100
20   host: apollo.demo
21   target: artemis.demo
22   runner:
23     type: Duration
24     duration: 20
25     interval: 1
26   sla:
27     max_rtt: 10
28     action: monitor
29 -
30   type: Ping
31   host: apollo.demo
32   target: artemis.demo
33   runner:
34     type: Arithmetic
35     interval: 0.2
36     iterators:
37     -
38       name: packetsize
39       start: 100
40       stop: 6000
41       step: 100
42
43 context:
44   name: demo
45   image: yardstick-image
46   flavor: yardstick-flavor
47   user: ubuntu
48
49   servers:
50     apollo:
51       floating_ip: true
52     artemis:
53
54   networks:
55     test:
56       cidr: '10.0.1.0/24'
57