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 D512FA04F0; Fri, 27 Dec 2019 08:30:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1E041BFF8; Fri, 27 Dec 2019 08:30:09 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 303151BFEE for ; Fri, 27 Dec 2019 08:30:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2019 23:30:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,362,1571727600"; d="scan'208";a="243166498" Received: from dpdk-lihong-ub1604.sh.intel.com ([10.67.118.203]) by fmsmga004.fm.intel.com with ESMTP; 26 Dec 2019 23:30:07 -0800 From: lihong To: dts@dpdk.org Cc: zhaoyan.chen@intel.com, lihong Date: Fri, 27 Dec 2019 08:03:06 +0800 Message-Id: <1577404987-1369-3-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1577404987-1369-1-git-send-email-lihongx.ma@intel.com> References: <1577404987-1369-1-git-send-email-lihongx.ma@intel.com> Subject: [dts] [PATCH V1 3/4] framework/config: read config value of snapshot_load_side 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" Signed-off-by: lihong --- framework/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/config.py b/framework/config.py index 7a8ca48..4b6c2ba 100644 --- a/framework/config.py +++ b/framework/config.py @@ -266,7 +266,8 @@ class CrbsConf(UserConf): 'pass': '', 'tester IP': '', 'tester pass': '', IXIA: None, 'memory channels': 4, PKTGEN: None, - 'bypass core0': True, 'dut_cores': ''} + 'bypass core0': True, 'dut_cores': '', + 'snapshot_load_side': 'tester'} def __init__(self, crbs_conf=CRBCONF): self.config_file = crbs_conf @@ -324,6 +325,8 @@ class CrbsConf(UserConf): crb['dut arch'] = value elif key == 'dut_cores': crb['dut_cores'] = value + elif key == 'snapshot_load_side': + crb['snapshot_load_side'] = value.lower() self.crbs_cfg.append(crb) return self.crbs_cfg -- 2.7.4