Support run cyclictest on BareMetal
[yardstick.git] / samples / ping-hot.yaml
1 ---
2 # Sample benchmark task config file to measure network latency using ping
3 # An external HOT template (file) is configured in the context section using
4 # the heat_template attribute. Parameters for the template is specified with the
5 # heat_parameters attribute.
6
7 schema: "yardstick:task:0.1"
8
9 scenarios:
10 -
11   type: Ping
12   options:
13     packetsize: 200
14   host:
15     name: "server1.demo"
16     public_ip_attr: "server1_public_ip"
17   target:
18     name: "server2.demo"
19     private_ip_attr: "server2_private_ip"
20
21   runner:
22     type: Duration
23     duration: 60
24     interval: 1
25
26   sla:
27     max_rtt: 10
28     action: monitor
29
30 context:
31   name: demo
32   user: cirros
33   heat_template: /tmp/heat-templates/hot/servers_in_new_neutron_net.yaml
34   heat_parameters:
35     image: cirros-0.3.3
36     flavor: m1.tiny
37     key_name: yardstick
38     public_net: "660fc7c3-7a56-4faf-91e5-3c9ebdda0104"
39     private_net_name: "test"
40     private_net_cidr: "10.0.1.0/24"
41     private_net_gateway: "10.0.1.1"
42     private_net_pool_start: "10.0.1.2"
43     private_net_pool_end: "10.0.1.200"
44