From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 65DA3A0613 for ; Fri, 27 Sep 2019 10:49:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5EB6D2C4F; Fri, 27 Sep 2019 10:49:00 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E14C82E8F for ; Fri, 27 Sep 2019 10:48:56 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 01:48:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,554,1559545200"; d="scan'208";a="219706402" Received: from unknown (HELO dpdk-meijianwei-tester.sh.intel.com) ([10.240.179.33]) by fmsmga002.fm.intel.com with ESMTP; 27 Sep 2019 01:48:55 -0700 From: Jianwei Mei To: dts@dpdk.org Cc: zhaoyan.chen@intel.com, lihongx.ma@intel.com, meijx Date: Sat, 28 Sep 2019 01:34:58 +0800 Message-Id: <1569605698-316544-6-git-send-email-jianweix.mei@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1569605698-316544-1-git-send-email-jianweix.mei@intel.com> References: <1569605698-316544-1-git-send-email-jianweix.mei@intel.com> Subject: [dts] [PATCH V1 6/6] framework/virt_dut.py: add prefix list for virt dut 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: meijx add prefix_list for virt dut Signed-off-by: meijx --- framework/virt_dut.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/virt_dut.py b/framework/virt_dut.py index b6f40d8..599ddca 100644 --- a/framework/virt_dut.py +++ b/framework/virt_dut.py @@ -73,6 +73,8 @@ class VirtDut(DPDKdut): self.ports_info = None self.ports_map = [] self.virttype = virttype + self.prefix_subfix = str(os.getpid()) + '_' + time.strftime("%Y%m%d%H%M%S", time.localtime()) + self.prefix_list = [] def init_log(self): if hasattr(self.host_dut, "test_classname"): -- 1.8.3.1