aboutsummaryrefslogtreecommitdiffstats
path: root/samples/ping-hot.yaml
blob: 1619a561f3ccdeb754d641462adf8a949653f746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
# Sample benchmark task config file to measure network latency using ping
# An external HOT template (file) is configured in the context section using
# the heat_template attribute. Parameters for the template is specified with the
# heat_parameters attribute.

schema: "yardstick:task:0.1"

scenarios:
-
  type: Ping
  options:
    packetsize: 200
  host:
    name: "server1.demo"
    public_ip_attr: "server1_public_ip"
  target:
    name: "server2.demo"
    private_ip_attr: "server2_private_ip"

  runner:
    type: Duration
    duration: 60
    interval: 1

  sla:
    max_rtt: 10
    action: monitor

context:
  name: demo
  user: cirros
  heat_template: /tmp/heat-templates/hot/servers_in_new_neutron_net.yaml
  heat_parameters:
    image: cirros-0.3.3
    flavor: yardstick-flavor
    key_name: yardstick
    public_net: "660fc7c3-7a56-4faf-91e5-3c9ebdda0104"
    private_net_name: "test"
    private_net_cidr: "10.0.1.0/24"
    private_net_gateway: "10.0.1.1"
    private_net_pool_start: "10.0.1.2"
    private_net_pool_end: "10.0.1.200"