Improve OVS-DPDK boot process
[yardstick.git] / samples / ping-ext-ip.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
11 # Measure network latency using ping, destination is an external server
12 # Make sure servers have internet access before running this test.
13 # For example using virtual MOS do something this on the host:
14 # sudo iptables -t nat -A POSTROUTING -s 172.16.0.0/24 \! -d 172.16.0.0/24 -j MASQUERADE
15 #
16
17 schema: "yardstick:task:0.1"
18
19 scenarios:
20 -
21   type: Ping
22   host: hermes.demo
23   target: 8.8.8.8
24   runner:
25     type: Duration
26     duration: 60
27     interval: 1
28   sla:
29     max_rtt: 10
30     action: monitor
31
32 context:
33   name: demo
34   image: yardstick-image
35   flavor: yardstick-flavor
36   user: ubuntu
37   servers:
38     hermes:
39       floating_ip: true
40   networks:
41     test:
42       cidr: '10.0.1.0/24'
43