summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorshravani <shravani.p@tcs.com>2016-10-19 04:15:36 -0700
committershravani <shravani.p@tcs.com>2016-10-19 04:22:01 -0700
commita5808cbda1855d72a3c360c85980c4fdd9d1ffc0 (patch)
tree867e68eaa94e4f95e99f3eb4b85aecbf0b646db3 /tests
parent16cd1036c486ffb3649e3c79332ce4cd6499002a (diff)
This patch contains scripts to update the measurement name as
kvmfornfv_cyclictest_idle_idle in influxdb Change-Id: I70c5e06e38410cde83a1809393a4f783215b36ad Signed-off-by: Shravani <shravani.p@tcs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/kvmfornfv_cyclictest_idle_idle.yaml51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/kvmfornfv_cyclictest_idle_idle.yaml b/tests/kvmfornfv_cyclictest_idle_idle.yaml
new file mode 100644
index 000000000..f3c84c856
--- /dev/null
+++ b/tests/kvmfornfv_cyclictest_idle_idle.yaml
@@ -0,0 +1,51 @@
+---
+# Sample benchmark task config file
+# Measure system high resolution by using Cyclictest
+#
+# For this sample just like running the command below on the test vm and
+# getting latencies info back to the yardstick.
+#
+# sudo bash cyclictest -a 1 -i 1000 -p 99 -l 1000 -t 1 -h 90 -m -n -q
+#
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: Cyclictest
+ options:
+ affinity: 1
+ interval: 1000
+ priority: 99
+ loops: 600000
+ threads: 1
+ histogram: 90
+ host: kvm.LF
+ runner:
+ type: Duration
+ duration: 1
+ interval: 1
+ tc: "kvmfornfv_cyclictest-node-context"
+ sla:
+ max_min_latency: 50
+ max_avg_latency: 100
+ max_max_latency: 1000
+ action: monitor
+ setup_options:
+ rpm_dir: "/opt/rpm"
+ script_dir: "/opt/scripts"
+ image_dir: "/opt/image"
+ host_setup_seqs:
+ - "host-setup0.sh"
+ - "reboot"
+ - "host-setup1.sh"
+ - "host-run-qemu.sh"
+ guest_setup_seqs:
+ - "guest-setup0.sh"
+ - "reboot"
+ - "guest-setup1.sh"
+
+context:
+ type: Node
+ name: LF
+ file: /opt/scripts/pod.yaml