Yardsitck Gambia Release 7.2.0 release notes.
[yardstick.git] / samples / ping-multiple-vm.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd 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 measure network latency using ping
11 # between mutiple virtual machines
12
13
14 schema: "yardstick:task:0.1"
15
16 scenarios:
17 -
18   type: Ping
19   options:
20     packetsize: 200
21   host: athena.demo
22   # key 'targets' for multiple targets
23   targets:
24   - ares.demo
25   - kratos.demo
26
27   runner:
28     type: Duration
29     duration: 60
30     interval: 1
31
32   sla:
33     max_rtt: 10
34     action: monitor
35
36 context:
37   name: demo
38   image: yardstick-image
39   flavor: yardstick-flavor
40   user: ubuntu
41
42   servers:
43     athena:
44       floating_ip: true
45     ares:
46     kratos:
47
48   networks:
49     test:
50       cidr: '10.0.1.0/24'