[dts] [PATCH v2 00/19] *** Enable virtualization test for dts framework ***
Jiajia, Sun
sunx.jiajia at intel.com
Fri May 22 11:03:53 CEST 2015
From: sjiajiax <sunx.jiajia at 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
More information about the dts
mailing list