Merge "Add Testcase for Prox Standalone SRIOV." into stable/gambia
[yardstick.git] / samples / ping-parallel.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 in parallel using different type of runners
12
13 schema: "yardstick:task:0.1"
14 run_in_parallel: true
15
16 scenarios:
17 -
18   type: Ping
19   options:
20     packetsize: 100
21   host: athena.demo
22   target: hades.demo
23   runner:
24     type: Duration
25     duration: 60
26     interval: 1
27   sla:
28     max_rtt: 10
29     action: assert
30 -
31   type: Ping
32   options:
33     packetsize: 200
34   host: athena.demo
35   target: hades.demo
36   runner:
37     type: Duration
38     duration: 60
39     interval: 1
40   sla:
41     max_rtt: 20
42     action: monitor
43
44 context:
45   name: demo
46   image: yardstick-image
47   flavor: yardstick-flavor
48   user: ubuntu
49
50   placement_groups:
51     pgrp1:
52       policy: "availability"
53
54   servers:
55     athena:
56       floating_ip: true
57       placement: "pgrp1"
58     hades:
59       placement: "pgrp1"
60
61   networks:
62     test:
63       cidr: '10.0.1.0/24'
64