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 D10C8A2F6B for ; Tue, 8 Oct 2019 04:22:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C96501C01F; Tue, 8 Oct 2019 04:22:35 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 910B61BF8C for ; Tue, 8 Oct 2019 04:22:34 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Oct 2019 19:22:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,269,1566889200"; d="scan'208";a="205266475" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 07 Oct 2019 19:22:33 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 7 Oct 2019 19:22:32 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 7 Oct 2019 19:22:32 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 7 Oct 2019 19:22:31 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.166]) by shsmsx102.ccr.corp.intel.com ([169.254.2.176]) with mapi id 14.03.0439.000; Tue, 8 Oct 2019 10:22:22 +0800 From: "Chen, Zhaoyan" To: "Mei, JianweiX" , "dts@dpdk.org" CC: "Ma, LihongX" , "Chen, Zhaoyan" Thread-Topic: [dts][PATCH V1 6/6] framework/virt_dut.py: add prefix list for virt dut Thread-Index: AQHVdRBoBjiNdFGqjkuI3Ni4TkRQgKdQFEhw Date: Tue, 8 Oct 2019 02:22:22 +0000 Message-ID: <9DEEADBC57E43F4DA73B571777FECECA41DD7381@SHSMSX104.ccr.corp.intel.com> References: <1569605698-316544-1-git-send-email-jianweix.mei@intel.com> <1569605698-316544-6-git-send-email-jianweix.mei@intel.com> In-Reply-To: <1569605698-316544-6-git-send-email-jianweix.mei@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Acked-by: Chen, Zhaoyan Regards, Zhaoyan Chen > -----Original Message----- > From: Mei, JianweiX > Sent: Saturday, September 28, 2019 1:35 AM > To: dts@dpdk.org > Cc: Chen, Zhaoyan ; Ma, LihongX ; > Mei, JianweiX > Subject: [dts][PATCH V1 6/6] framework/virt_dut.py: add prefix list for v= irt dut >=20 > From: meijx >=20 > add prefix_list for virt dut >=20 > Signed-off-by: meijx > --- > framework/virt_dut.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > 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 =3D None > self.ports_map =3D [] > self.virttype =3D virttype > + self.prefix_subfix =3D str(os.getpid()) + '_' + time.strftime("%= Y%m%d%H%M%S", > time.localtime()) > + self.prefix_list =3D [] >=20 > def init_log(self): > if hasattr(self.host_dut, "test_classname"): > -- > 1.8.3.1