[bugfix] no ansible requirements when build docker image
[yardstick.git] / samples / ping-heat-context.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
11 # measure network latency using ping
12
13 schema: "yardstick:task:0.1"
14
15 scenarios:
16 -
17   type: Ping
18   options:
19     packetsize: 200
20   host: athena.demo
21   target: ares.demo
22
23   runner:
24     type: Duration
25     duration: 60
26     interval: 1
27
28   sla:
29     max_rtt: 10
30     action: monitor
31
32 context:
33   type: Heat
34   name: demo
35   image: yardstick-image
36   flavor: yardstick-flavor
37   user: ubuntu
38
39   placement_groups:
40     pgrp1:
41       policy: "availability"
42
43   servers:
44     athena:
45       floating_ip: true
46       placement: "pgrp1"
47     ares:
48       placement: "pgrp1"
49
50   networks:
51     test:
52       cidr: '10.0.1.0/24'
53