summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-01-13 14:48:25 +0000
committerJingLu5 <lvjing5@huawei.com>2017-02-13 02:27:00 +0000
commitcaf81bafc6132d79674f4c31bbd22d97f4aee961 (patch)
tree93a6375b2f77837ff1d0c618ec0c9fd4c4a4b0ee /samples
parentf7ee2a6dede65b4861ea78abaf15f9d9b11870dc (diff)
New reliability/availability testcase - IP datagram error rate and etc.
JIRA: YARDSTICK-534 This test case uses nstat to monitor network metrics provided by the kernel in a host and calculate IP datagram error rate, ICMP message error rate, TCP segment error rate and UDP datagram error rate. Change-Id: I2fe6457bb5c95d0446c1463991ae31cc664b09f8 Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/nstat.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/samples/nstat.yaml b/samples/nstat.yaml
new file mode 100644
index 000000000..0a5aa80c9
--- /dev/null
+++ b/samples/nstat.yaml
@@ -0,0 +1,35 @@
+---
+
+schema: "yardstick:task:0.1"
+
+description: >
+ Sample benchmark task config file;
+ Monitor network metrics provided by the kernel in a host and calculate
+ IP datagram error rate, ICMP message error rate, TCP segment error rate and
+ UDP datagram error rate.
+
+scenarios:
+-
+ type: Nstat
+ options:
+ duration: 60
+
+ host: poseidon.demo
+
+ runner:
+ type: Iteration
+ iterations: 1
+
+context:
+ name: demo
+ image: yardstick-image
+ flavor: yardstick-flavor
+ user: ubuntu
+
+ servers:
+ poseidon:
+ floating_ip: true
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'