mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
lf_qa.py debug information on the DUT information
1. The naming for the empty DUT strings changed. The DUT is taken from the kpi, this is a step closer to a fix of wanting the latest DUT information from the Database yet not full proof. Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -78,11 +78,20 @@ class csv_sqlite_dash():
|
||||
def get_dut_info(self):
|
||||
dut_info_df = pd.DataFrame()
|
||||
#try:
|
||||
print("DUT: {DUT} SW:{SW} HW:{HW} SN:{SN}"
|
||||
.format(DUT=self.dut_model_num_list,SW=self.dut_sw_version_list,HW=self.dut_hw_version_list,SN=self.dut_serial_num_list))
|
||||
|
||||
dut_info_df['DUT'] = self.dut_model_num_list[0]
|
||||
dut_info_df['SW version'] = self.dut_sw_version_list[0]
|
||||
dut_info_df['HW version'] = self.dut_hw_version_list[0]
|
||||
dut_info_df['Serial'] = self.dut_serial_num_list[0]
|
||||
print("DUT: {df}".format(df=dut_info_df))
|
||||
print("DUT: {DUT} SW:{SW} HW:{HW} SN:{SN}"
|
||||
.format(DUT=self.dut_model_num_list,SW=self.dut_sw_version_list,HW=self.dut_hw_version_list,SN=self.dut_serial_num_list))
|
||||
|
||||
print("DUT df_na: {df}".format(df=dut_info_df))
|
||||
dut_info_df = dut_info_df.dropna()
|
||||
print("DUT df: {df}".format(df=dut_info_df))
|
||||
|
||||
#except:
|
||||
# dut_info_df['DUT'] = 'NA'
|
||||
# dut_info_df['SW version'] = 'NA'
|
||||
|
||||
Reference in New Issue
Block a user