aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/compute/qemu_migrate_benchmark.bash
diff options
context:
space:
mode:
authorNavya Bathula <navyax.bathula@intel.com>2017-11-30 21:46:15 +0000
committerNavya Bathula <navyax.bathula@intel.com>2017-11-30 21:52:43 +0000
commit3ca70b916c386b7ec4d9a7f2f9bb6fec2e917785 (patch)
treea20d7d050e11ebf63d9cd117e8c11b84aebfe6b7 /yardstick/benchmark/scenarios/compute/qemu_migrate_benchmark.bash
parent5a1f65d3e7d67488ee6f558dccfa5ca5581ddb65 (diff)
KVMFORNFV: Reverting LiveMigration changes
This patch consists of reverting the changes of patch 45227 and incudes redirecting the console output of the LiveMigration execution to /dev/null as the stdout contains only the statistics, i.e., totaltime, downtime and setuptime. This reverts commit 5a1f65d3e7d67488ee6f558dccfa5ca5581ddb65. Change-Id: I252b5a4045657cfa8362e9aae755249480cd3b77 Signed-off-by: Navya <navyax.bathula@intel.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/compute/qemu_migrate_benchmark.bash')
-rw-r--r--yardstick/benchmark/scenarios/compute/qemu_migrate_benchmark.bash20
1 files changed, 9 insertions, 11 deletions
diff --git a/yardstick/benchmark/scenarios/compute/qemu_migrate_benchmark.bash b/yardstick/benchmark/scenarios/compute/qemu_migrate_benchmark.bash
index 757553e8b..d95e91425 100644
--- a/yardstick/benchmark/scenarios/compute/qemu_migrate_benchmark.bash
+++ b/yardstick/benchmark/scenarios/compute/qemu_migrate_benchmark.bash
@@ -21,13 +21,6 @@ max_down_time=$6
OUTPUT_FILE=/tmp/output-qemu.log
-echo "To check the parameters:"
-echo "SRC: $src"
-echo "DST: $dst"
-echo "DST_IP: $dst_ip"
-echo "MIGRATE_PORT: $migrate_to_port"
-echo "DOWN_TIME: $max_down_time"
-
do_migrate()
{
echo "Execution of Live Migration"
@@ -49,7 +42,8 @@ do_migrate()
done
echo "End of Live Migration"
-}
+
+} > /dev/null
output_qemu()
{
@@ -74,14 +68,18 @@ echo -e "{ \
\"setuptime\":\"$setuptime\" \
}"
}
+
# main entry
main()
{
- echo "Perform LiveMigration"
+ # Perform LiveMigration
do_migrate
- echo "LiveMigration Status"
+
+ # LiveMigration Status
output_qemu
- echo "LiveMigration JSON output "
+
+ # LiveMigration JSON output
output_json
}
+
main