From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0166DA00BE; Fri, 11 Mar 2022 03:00:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E70D441140; Fri, 11 Mar 2022 03:00:52 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id B47AB40042 for ; Fri, 11 Mar 2022 03:00:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646964051; x=1678500051; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8W/t1PmfJFPttBztXk6uJCKjpsVsEHZ0rbPPnn171Uo=; b=EL7KRd0MlEk3qi8k6c1KxrBayPXXucJqf1yhe5n3uQCikVyVKmZjaRex pmmNx41OqG1dHPcXgmAcUvjN5KJdZXeOrIMWhV0eyjrfGivbsqC3LA0jZ hdhcb/Xs5Ptuw9DuJHH8WfT+RSeOivlweIjbrMEEivEcylb4KQ8z5Dtud Uy2IVCxRl5tIsU0M3MXKvh8JwZyT1xkm+bIVVVEw2pWLcRsvQEIBGcQJz dUKqwMAoQy3xyyW29v2jQsOuktcn0HAbF2DOORHwSpWXiPRlh5l4RrfyX 5B+asYIAcsHP8oKGuwABijltdXnHYsazJICvC4dg8e0aJoihKLYDiGL2n Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10282"; a="255421856" X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="255421856" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 18:00:31 -0800 X-IronPort-AV: E=Sophos;i="5.90,172,1643702400"; d="scan'208";a="633256316" Received: from shwdenpg197.ccr.corp.intel.com ([10.253.109.70]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 18:00:29 -0800 From: Jun Dong To: dts@dpdk.org, ohilyard@iol.unh.edu Cc: lijuan.tu@intel.com, qingx.sun@intel.com, junx.dong@intel.com Subject: [dts] [V1 1/5] framework/ixia_network/ixnet: fix pylama errors Date: Fri, 11 Mar 2022 10:00:17 +0800 Message-Id: <20220311020022.6678-2-junx.dong@intel.com> X-Mailer: git-send-email 2.33.1.windows.1 In-Reply-To: <20220311020022.6678-1-junx.dong@intel.com> References: <20220311020022.6678-1-junx.dong@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 Pylama found the following errors: framework/ixia_network/ixnet.py:703: [E] E1101 Instance of 'IxnetTrafficGenerator' has no 'OUTPUT_DIR' member [pylint] Signed-off-by: Jun Dong --- framework/ixia_network/ixnet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/ixia_network/ixnet.py b/framework/ixia_network/ixnet.py index 479b4448..4e066216 100644 --- a/framework/ixia_network/ixnet.py +++ b/framework/ixia_network/ixnet.py @@ -68,6 +68,7 @@ class IxnetTrafficGenerator(object): # initialize ixNetwork self.new_blank_config() self.tg_vports = self.assign_ports(self.tg_ports) + self.OUTPUT_DIR = None def get_session_id(self, api_server): url = '{server}/api/v1/sessions'.format(server=api_server) -- 2.25.1