[dts] [PATCH 2/9] framework config: add concept for dut board

Marvin Liu yong.liu at intel.com
Thu Aug 4 07:38:15 CEST 2016


Signed-off-by: Marvin Liu <yong.liu at intel.com>

diff --git a/framework/config.py b/framework/config.py
index 8d564a6..6c3a3b0 100644
--- a/framework/config.py
+++ b/framework/config.py
@@ -187,7 +187,7 @@ class PortConf(UserConf):
 
 
 class CrbsConf(UserConf):
-    DEF_CRB = {'IP': '', 'name': 'CrownPassCRB1', 'user': '',
+    DEF_CRB = {'IP': '', 'board': 'default', 'user': '',
                'pass': '', 'tester IP': '', 'tester pass': '',
                IXIA: None, 'memory channels': 4,
                'bypass core0': True}
@@ -236,6 +236,8 @@ class CrbsConf(UserConf):
                         crb['bypass core0'] = True
                     else:
                         crb['bypass core0'] = False
+                elif key == 'board':
+                    crb['board'] = value
 
             self.crbs_cfg.append(crb)
         return self.crbs_cfg
-- 
1.9.3



More information about the dts mailing list