From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 626CDC450 for ; Thu, 18 Jun 2015 05:06:53 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 17 Jun 2015 20:06:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,636,1427785200"; d="scan'208";a="748738913" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga002.jf.intel.com with ESMTP; 17 Jun 2015 20:06:51 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t5I36miq008931; Thu, 18 Jun 2015 11:06:48 +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 t5I36kZ8016882; Thu, 18 Jun 2015 11:06:48 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t5I36kQM016878; Thu, 18 Jun 2015 11:06:46 +0800 From: Yong Liu To: dts@dpdk.org Date: Thu, 18 Jun 2015 11:06:35 +0800 Message-Id: <1434596804-16846-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [dts 0/9] Support virtual scenarios 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: Thu, 18 Jun 2015 03:06:53 -0000 From: Marvin Liu This patch set will support virtualization scenario creation and destroy. All scenarios will be based on scenerio configuration file. And there're three typical virtual scenarios configurations supplied in this patch set. Marvin Liu (9): Optimize config load module with proper execption raised Implement virtual scenario module Support virtual scenario in dts main process Optimize network topology discovery routine in virtual scenario Optimize set_target function for virtual scenario Support auto_map and set_target flag in vm initialization Optimize VF devices creation and network devices pass-through function Optimize ssh_pexpect and virt_resource module Add three typical virtual scenario configuration files conf/scene/pf_passthrough.cfg | 25 ++ conf/scene/vf_passthrough.cfg | 28 +++ conf/scene/vf_passthrough_1.cfg | 27 +++ framework/config.py | 17 +- framework/dts.py | 45 +++- framework/dut.py | 10 +- framework/exception.py | 6 + framework/project_dpdk.py | 5 +- framework/qemu_kvm.py | 12 +- framework/settings.py | 11 + framework/ssh_pexpect.py | 7 +- framework/test_case.py | 5 +- framework/virt_base.py | 51 +++-- framework/virt_dut.py | 122 ++++++++-- framework/virt_resource.py | 4 + framework/virt_scene.py | 495 ++++++++++++++++++++++++++++++++++++++++ 16 files changed, 812 insertions(+), 58 deletions(-) create mode 100644 conf/scene/pf_passthrough.cfg create mode 100644 conf/scene/vf_passthrough.cfg create mode 100644 conf/scene/vf_passthrough_1.cfg create mode 100644 framework/virt_scene.py -- 1.9.3