############################################################################## # Copyright (c) 2017 Ericsson AB and others. # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## --- # 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.5 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"