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 85F0CA0613 for ; Fri, 27 Sep 2019 10:48:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7888B2C57; Fri, 27 Sep 2019 10:48:53 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 73D622BE9 for ; Fri, 27 Sep 2019 10:48:51 +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:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,554,1559545200"; d="scan'208";a="219706373" 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:49 -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:54 +0800 Message-Id: <1569605698-316544-2-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 2/6] framework/config.py: deal with dut_cores parameter 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 deal with new parameter in config.py Signed-off-by: meijx --- framework/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/config.py b/framework/config.py index abb1469..7a8ca48 100644 --- a/framework/config.py +++ b/framework/config.py @@ -266,7 +266,7 @@ class CrbsConf(UserConf): 'pass': '', 'tester IP': '', 'tester pass': '', IXIA: None, 'memory channels': 4, PKTGEN: None, - 'bypass core0': True} + 'bypass core0': True, 'dut_cores': ''} def __init__(self, crbs_conf=CRBCONF): self.config_file = crbs_conf @@ -322,6 +322,8 @@ class CrbsConf(UserConf): crb['board'] = value elif key == 'dut_arch': crb['dut arch'] = value + elif key == 'dut_cores': + crb['dut_cores'] = value self.crbs_cfg.append(crb) return self.crbs_cfg -- 1.8.3.1