From: "Jiajia, Sun" <sunx.jiajia@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH v2 00/19] *** Enable virtualization test for dts framework ***
Date: Fri, 22 May 2015 17:03:53 +0800 [thread overview]
Message-ID: <1432285452-14286-1-git-send-email-sunx.jiajia@intel.com> (raw)
From: sjiajiax <sunx.jiajia@intel.com>
This patch-set do many efforts to make dts framework to support
virtualization test. First, add a virt_base class to define the
base property and methods, then extend the base class by the specified
virtualization type, and add a virtual DUT to abstract the VM,
try many efforts to make the VM DUT like the general DUT there has
been the DUT on the framework.
And there is a test suite named as TestSuite_sriov_kvm.py to verify
the changed framework worked well.
sjiajiax (19):
Abstract the NIC device as the single class NetDevice
Add a base module for virtual test
Add QEMU KVM module based on virt_base module for KVM test cases
Add a module to manage the host resource
Add a module to instantiate the VM
Add a third-party module of qemu-guest-agent to manage VM
Move some general functions from dts.py to utils.py and settings.py
Add and move some functions because of the virtual tests and network
device instantiation
Change and add some functions to support virtual test
add some exceptions to support framwork to handle virtual test
exceptions
Add some codes to support virtual test log
Add some codes to make session to support virtual test
Add some base functions to get the device info in the testpmd
Change some codes to support network device instantiation and
virtualization test
Add some codes to support network instantiation in the tester module
Make test_case know its suite name
Add a global virtualization config and a config related to SRIOV KVM
suite
Add a test plan of how to test SRIOV on the KVM ENV
Add a test suite to verify the SRIOV feature on the KVM ENV
conf/sriov_kvm.cfg | 164 +++++
conf/virt_global.cfg | 24 +
dep/QMP/qemu-ga-client | 299 +++++++++
dep/QMP/qmp.py | 193 ++++++
framework/config.py | 170 ++++-
framework/crb.py | 126 ++--
framework/dts.py | 86 +--
framework/dut.py | 235 ++++++-
framework/exception.py | 69 ++
framework/logger.py | 69 +-
framework/net_device.py | 634 ++++++++++++++++++
framework/pmd_output.py | 92 +++
framework/project_dpdk.py | 29 +-
framework/qemu_kvm.py | 972 +++++++++++++++++++++++++++
framework/settings.py | 43 ++
framework/ssh_pexpect.py | 62 +-
framework/test_case.py | 3 +-
framework/tester.py | 51 +-
framework/utils.py | 100 +++
framework/virt_base.py | 321 +++++++++
framework/virt_dut.py | 202 ++++++
framework/virt_resource.py | 490 ++++++++++++++
test_plans/sriov_kvm_test_plan.rst | 756 +++++++++++++++++++++
tests/TestSuite_sriov_kvm.py | 1291 ++++++++++++++++++++++++++++++++++++
24 files changed, 6253 insertions(+), 228 deletions(-)
create mode 100644 conf/sriov_kvm.cfg
create mode 100644 conf/virt_global.cfg
create mode 100644 dep/QMP/qemu-ga-client
create mode 100644 dep/QMP/qmp.py
mode change 100755 => 100644 framework/config.py
create mode 100644 framework/net_device.py
create mode 100644 framework/qemu_kvm.py
create mode 100644 framework/utils.py
create mode 100644 framework/virt_base.py
create mode 100644 framework/virt_dut.py
create mode 100644 framework/virt_resource.py
create mode 100644 test_plans/sriov_kvm_test_plan.rst
create mode 100644 tests/TestSuite_sriov_kvm.py
--
1.9.3
next reply other threads:[~2015-05-22 9:04 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-22 9:03 Jiajia, Sun [this message]
2015-05-22 9:03 ` [dts] [PATCH v2 01/19] Abstract the NIC device as the single class NetDevice Jiajia, Sun
2015-05-22 9:03 ` [dts] [PATCH v2 02/19] Add a base module for virtual test Jiajia, Sun
2015-05-22 9:03 ` [dts] [PATCH v2 03/19] Add QEMU KVM module based on virt_base module for KVM test cases Jiajia, Sun
2015-05-22 9:03 ` [dts] [PATCH v2 04/19] Add a module to manage the host resource Jiajia, Sun
2015-05-22 9:03 ` [dts] [PATCH v2 05/19] Add a module to instantiate the VM Jiajia, Sun
2015-05-25 6:10 ` Qiu, Michael
2015-05-25 9:14 ` Jiajia, SunX
2015-05-26 9:07 ` Qiu, Michael
2015-05-27 1:36 ` Jiajia, SunX
2015-05-22 9:03 ` [dts] [PATCH v2 06/19] Add a third-party module of qemu-guest-agent to manage VM Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 07/19] Move some general functions from dts.py to utils.py and settings.py Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 08/19] Add and move some functions because of the virtual tests and network device instantiation Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 09/19] Change and add some functions to support virtual test Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 10/19] add some exceptions to support framwork to handle virtual test exceptions Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 11/19] Add some codes to support virtual test log Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 12/19] Add some codes to make session to support virtual test Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 13/19] Add some base functions to get the device info in the testpmd Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 14/19] Change some codes to support network device instantiation and virtualization test Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 15/19] Add some codes to support network instantiation in the tester module Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 16/19] Make test_case know its suite name Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 17/19] Add a global virtualization config and a config related to SRIOV KVM suite Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 18/19] Add a test plan of how to test SRIOV on the KVM ENV Jiajia, Sun
2015-05-22 9:04 ` [dts] [PATCH v2 19/19] Add a test suite to verify the SRIOV feature " Jiajia, Sun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1432285452-14286-1-git-send-email-sunx.jiajia@intel.com \
--to=sunx.jiajia@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).