Integrate vsperf in Tgen mode 79/35379/10
authorJing Zhang <jing.c.zhang@nokia.com>
Thu, 25 May 2017 22:41:00 +0000 (18:41 -0400)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 15 Aug 2017 00:59:22 +0000 (00:59 +0000)
commit39494c01b49cafd893982d74e030b9b96b5fa821
treeb0358147876cd263385eb348d62021d2ccfc015b
parent4f842b4a7cedcc5ba89542955bf2b64c3451361d
Integrate vsperf in Tgen mode

Problem:
Running Vsperf in Tgen mode is supported but the integration is not complete at the code level
i.e. not ready-to-use, and dpdk loopback is not supported inside the VM.

Solution:
(1) Completely automates VM image generation and supports 1G huge pages.
(2) Adds a new test scenario VsperfDPDK for testpmd based loopback inside the VM.

Update 1-2: Fixed "line too long" issues not reported by local run_tests.sh (why?)
Update 3: Per comment change to use SSH.from_node() and add unit test cases
Update 4: Add more unit test cases for coverage and ready the code for merge

JIRA: YARDSTICK-661

Change-Id: Iea3014d4c83e1b0c079019a4ed27771d40a7eed8
Signed-off-by: Jing Zhang <jing.c.zhang@nokia.com>
tests/unit/benchmark/scenarios/networking/test_vsperf_dpdk.py [new file with mode: 0644]
tests/vsperf/pvp_rfc2544_throughput_dpdk.yaml [new file with mode: 0644]
tools/vsperf-img-finalize.sh [new file with mode: 0755]
tools/vsperf-img-modify.sh [new file with mode: 0755]
tools/vsperf_install.yml [new file with mode: 0644]
yardstick/benchmark/scenarios/networking/testpmd_vsperf.bash [new file with mode: 0644]
yardstick/benchmark/scenarios/networking/vsperf_dpdk.py [new file with mode: 0644]