diff options
author | JingLu5 <lvjing5@huawei.com> | 2016-07-19 12:15:20 +0800 |
---|---|---|
committer | JingLu5 <lvjing5@huawei.com> | 2016-07-19 17:21:50 +0800 |
commit | 54c77207b0340c89eb3476bd42ba9f9980c8224d (patch) | |
tree | a8405e7a243a69df62ab53cc012e48ef7cbda6ee /samples | |
parent | 3a3ccbd79d47333ce7626674c68a4cdfac44020d (diff) |
Add Network Utilization Scenario
This scenario reads network interface utilization stats and data sent/receive
rate using "sar -n".
Change-Id: I9c69f03c017bc2f8a5d87a4de286af147e8a086a
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/netutilization.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/samples/netutilization.yaml b/samples/netutilization.yaml new file mode 100644 index 000000000..598a5af15 --- /dev/null +++ b/samples/netutilization.yaml @@ -0,0 +1,32 @@ +--- +# Sample benchmark task config file +# Reading network interface utilization statistics + +schema: "yardstick:task:0.1" + +scenarios: +- + type: NetUtilization + options: + interval: 1 + count: 1 + + host: apollo.demo + + runner: + type: Iteration + interval: 1 + +context: + name: demo + image: yardstick-trusty-server + flavor: yardstick-flavor + user: ubuntu + + servers: + apollo: + floating_ip: true + + networks: + test: + cidr: '10.0.1.0/24' |