Update release note for Danube.3.2
[yardstick.git] / samples / ping-hot.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 to measure network latency using ping
11 # An external HOT template (file) is configured in the context section using
12 # the heat_template attribute. Parameters for the template is specified with the
13 # heat_parameters attribute.
14
15 schema: "yardstick:task:0.1"
16
17 scenarios:
18 -
19   type: Ping
20   options:
21     packetsize: 200
22   host:
23     name: "server1.demo"
24     public_ip_attr: "server1_public_ip"
25   target:
26     name: "server2.demo"
27     private_ip_attr: "server2_private_ip"
28
29   runner:
30     type: Duration
31     duration: 60
32     interval: 1
33
34   sla:
35     max_rtt: 10
36     action: monitor
37
38 context:
39   name: demo
40   user: cirros
41   heat_template: /tmp/heat-templates/hot/servers_in_new_neutron_net.yaml
42   heat_parameters:
43     image: cirros-0.3.5
44     flavor: yardstick-flavor
45     key_name: yardstick
46     public_net: "660fc7c3-7a56-4faf-91e5-3c9ebdda0104"
47     private_net_name: "test"
48     private_net_cidr: "10.0.1.0/24"
49     private_net_gateway: "10.0.1.1"
50     private_net_pool_start: "10.0.1.2"
51     private_net_pool_end: "10.0.1.200"
52