[V1,03/10] framework/config: save the serial port connection info of imc and acc to the self.crb

Message ID 20230716090753.1590148-4-jin.ling@intel.com (mailing list archive)
State New
Headers
Series add functions to test MEV |

Commit Message

Jin Ling July 16, 2023, 9:07 a.m. UTC
  Signed-off-by: Jin Ling <jin.ling@intel.com>
---
 framework/config.py | 10 ++++++++++
 1 file changed, 10 insertions(+)
  

Patch

diff --git a/framework/config.py b/framework/config.py
index 2cd95ff2..cc5d9041 100644
--- a/framework/config.py
+++ b/framework/config.py
@@ -294,6 +294,16 @@  class CrbsConf(UserConf):
                     crb["pass"] = value
                 elif key == "os":
                     crb["OS"] = value
+                elif key == "dut_acc_port":
+                    crb["ACC PORT"] = value
+                elif key == "dut_acc_baudrate":
+                    crb["ACC BAUDRATE"] = value
+                elif key == "dut_imc_port":
+                    crb["IMC PORT"] = value
+                elif key == "dut_imc_baudrate":
+                    crb["IMC BAUDRATE"] = value
+                elif key == "dut_imc_ip":
+                    crb["IMC IP"] = value
                 elif key == "tester_ip":
                     crb["tester IP"] = value
                 elif key == "tester_passwd":