From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AC1A6376E for ; Mon, 18 May 2015 07:07:34 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 17 May 2015 22:07:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,450,1427785200"; d="scan'208";a="727567644" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 17 May 2015 22:07:33 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t4I57VwZ022353; Mon, 18 May 2015 13:07:31 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t4I57SNu001348; Mon, 18 May 2015 13:07:30 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t4I57S0l001344; Mon, 18 May 2015 13:07:28 +0800 From: sjiajiax To: dts@dpdk.org Date: Mon, 18 May 2015 13:07:17 +0800 Message-Id: <1431925646-1314-1-git-send-email-sunx.jiajia@intel.com> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dts] =?utf-8?b?W+KAmGR0cy12MeKAmSAwLzld?= X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 05:07:35 -0000 This patch set includes some virtual modules in the framework and a suite to test the framework sjiajiax (9): Abstract the NIC device as the single class NetDevice Optimize ssh connection Add some params and functions related to the virtual test Add VM class and the virtual DUT class and the virtual resource module Add qemu-agent-guest for QEMU VM Add a global virtual configure add some pmd functions for tester to code the testpmd cases Add two tar files for ACL testing Add a suite to test SRIOV mirror with KVM conf/sriov_kvm.cfg | 77 +++ conf/virt_global.cfg | 24 + dep/QMP/qemu-ga-client | 299 +++++++++ dep/QMP/qmp.py | 193 ++++++ dep/aclpcap.tgz | Bin 0 -> 82103 bytes dep/aclrule.tgz | Bin 0 -> 161037 bytes framework/config.py | 171 ++++- framework/crb.py | 135 ++-- framework/dts.py | 92 +-- framework/dut.py | 268 +++++++- framework/exception.py | 27 + framework/logger.py | 69 +- framework/main.py | 7 +- framework/net_device.py | 600 +++++++++++++++++ framework/pmd_output.py | 104 ++- framework/project_dpdk.py | 62 +- framework/qemu_kvm.py | 912 +++++++++++++++++++++++++ framework/settings.py | 43 ++ framework/ssh_connection.py | 5 + framework/ssh_pexpect.py | 63 +- framework/test_case.py | 3 +- framework/tester.py | 51 +- framework/utils.py | 77 +++ framework/virt_base.py | 250 +++++++ framework/virt_dut.py | 239 +++++++ framework/virt_resource.py | 486 ++++++++++++++ test_plans/sriov_kvm_test_plan.rst | 756 +++++++++++++++++++++ tests/TestSuite_sriov_kvm.py | 1291 ++++++++++++++++++++++++++++++++++++ 28 files changed, 6062 insertions(+), 242 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 create mode 100644 dep/aclpcap.tgz create mode 100644 dep/aclrule.tgz 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.0