From: lihong <lihongx.ma@intel.com>
To: dts@dpdk.org
Cc: zhaoyan.chen@intel.com, lihong <lihongx.ma@intel.com>
Subject: [dts] [PATCH V1 3/4] framework/config: read config value of snapshot_load_side
Date: Fri, 27 Dec 2019 08:03:06 +0800 [thread overview]
Message-ID: <1577404987-1369-3-git-send-email-lihongx.ma@intel.com> (raw)
In-Reply-To: <1577404987-1369-1-git-send-email-lihongx.ma@intel.com>
Signed-off-by: lihong <lihongx.ma@intel.com>
---
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
next prev parent reply other threads:[~2019-12-27 7:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-27 0:03 [dts] [PATCH V1 1/4] conf/crbs: add param which can config the dpdk tar side lihong
2019-12-27 0:03 ` [dts] [PATCH V1 2/4] framework/ssh: add params to ssh scp function lihong
2020-01-02 3:23 ` Chen, Zhaoyan
2019-12-27 0:03 ` lihong [this message]
2020-01-02 3:23 ` [dts] [PATCH V1 3/4] framework/config: read config value of snapshot_load_side Chen, Zhaoyan
2019-12-27 0:03 ` [dts] [PATCH V1 4/4] framework/project_dpdk: add judge of the value about snapshot_load_side lihong
2020-01-02 3:23 ` Chen, Zhaoyan
2019-12-31 6:43 ` [dts] [PATCH V1 1/4] conf/crbs: add param which can config the dpdk tar side Chen, Zhaoyan
2020-01-02 3:28 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1577404987-1369-3-git-send-email-lihongx.ma@intel.com \
--to=lihongx.ma@intel.com \
--cc=dts@dpdk.org \
--cc=zhaoyan.chen@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).