summaryrefslogtreecommitdiffstats
path: root/samples/memload.yaml
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2016-05-06 09:58:41 +0800
committerJingLu5 <lvjing5@huawei.com>2016-05-23 08:22:33 +0800
commit69b286f790fbf90b58b25c1ca14b8e66b9bc67b8 (patch)
tree1d58c8e6ce36bfdf0126ab0c2063d711110a6e21 /samples/memload.yaml
parent185d7639da2afb8ea78771f78e7347cb7e03eea1 (diff)
add memory_load scenario
JIRA: YARDSTICK-259 This scenario reads memory usage statistics on a Linux host. memory usage statistics are read using the utility 'free'. Signed-off-by: JingLu5 <lvjing5@huawei.com> Change-Id: I677aa65ca264dc77a963bf8b6913a729fbf031be
Diffstat (limited to 'samples/memload.yaml')
-rw-r--r--samples/memload.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/samples/memload.yaml b/samples/memload.yaml
new file mode 100644
index 000000000..0acba21b1
--- /dev/null
+++ b/samples/memload.yaml
@@ -0,0 +1,32 @@
+---
+# Sample benchmark task config file
+# Reading memory load/statistics
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: MEMORYload
+ options:
+ interval: 1
+ count: 1
+
+ host: kratos.demo
+
+ runner:
+ type: Duration
+ duration: 60
+
+context:
+ name: demo
+ image: yardstick-trusty-server
+ flavor: yardstick-flavor
+ user: ubuntu
+
+ servers:
+ kratos:
+ floating_ip: true
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'