From 75f93c362f8cde64b02e243d26bf9061f48adc34 Mon Sep 17 00:00:00 2001 From: shravani Date: Fri, 9 Dec 2016 17:57:27 +0530 Subject: This patch includes scripts to create multiple yaml file for different environments and run cyclictest. Also contains updated interface scripts to trigger packetforwarding and cyclictest stress scripts. Change-Id: Ibb8694746f8b19d605e50ea07c2be8b2bd141ec0 Co-Authored-By: Y Rajitha Co-Authored-By: Gundarapu Kalyan Reddy Signed-off-by: Shravani --- tests/cyclictest-node-context.yaml | 51 ------------------------ tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml | 51 ++++++++++++++++++++++++ tests/kvmfornfv_cyclictest_idle_idle.yaml | 51 ------------------------ 3 files changed, 51 insertions(+), 102 deletions(-) delete mode 100644 tests/cyclictest-node-context.yaml create mode 100644 tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml delete mode 100644 tests/kvmfornfv_cyclictest_idle_idle.yaml (limited to 'tests') diff --git a/tests/cyclictest-node-context.yaml b/tests/cyclictest-node-context.yaml deleted file mode 100644 index f3c84c856..000000000 --- a/tests/cyclictest-node-context.yaml +++ /dev/null @@ -1,51 +0,0 @@ ---- -# 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 diff --git a/tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml b/tests/kvmfornfv_cyclictest_hostenv_guestenv.yaml new file mode 100644 index 000000000..f3c84c856 --- /dev/null +++ b/tests/kvmfornfv_cyclictest_hostenv_guestenv.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 diff --git a/tests/kvmfornfv_cyclictest_idle_idle.yaml b/tests/kvmfornfv_cyclictest_idle_idle.yaml deleted file mode 100644 index f3c84c856..000000000 --- a/tests/kvmfornfv_cyclictest_idle_idle.yaml +++ /dev/null @@ -1,51 +0,0 @@ ---- -# 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 -- cgit