diff --git a/py-scripts/tools/ct_003_AX88U_dut.json b/py-scripts/tools/ct_003_AX88U_dut.json new file mode 100644 index 00000000..56165911 --- /dev/null +++ b/py-scripts/tools/ct_003_AX88U_dut.json @@ -0,0 +1,26 @@ +{ + "ct_AX88U_dut":{ + "Notes":[ + "This json file is used as an input to the ./lf_check.py file", + "The variables that are all capitalized below are replaced with configuration", + "from the json file. so LF_MGR_IP in the test below is replaced by the json lf_mgr_ip", + "The replacement is loosely coupled so the upper and lower case convention is used", + "to identify replaced strings in the lf_check.py code.", + "The dut related configuration is contained in this file" + ] + }, + "test_dut":{ + "dut_set_name": "DUT_NAME ASUSRT-AX88U", + "dut_name": "ASUSRT-AX88U", + "dut_bssid_2g": "d4:5d:64:a0:7f:78", + "dut_bssid_5g": "d4:5d:64:a0:7f:7c", + "dut_sw": "3.0.0.4.386_44266", + "ssid_5g_used": "asus11ax-5", + "ssid_5g_pw_used": "hello123", + "security_5g_used": "wpa2", + "ssid_2g_used": "asus11ax-2", + "ssid_2g_pw_used": "hello123", + "security_2g_used": "wpa2" + } +} + \ No newline at end of file diff --git a/py-scripts/tools/ct_us_003_tests.json b/py-scripts/tools/ct_us_003_tests.json index d645977e..49f6afc3 100644 --- a/py-scripts/tools/ct_us_003_tests.json +++ b/py-scripts/tools/ct_us_003_tests.json @@ -17,7 +17,7 @@ "args": "", "args_list": [ " --mgr LF_MGR_IP", - " --resource 3", + " --resource 1", " --ssid SSID_5G_USED", " --password SSID_5G_PW_USED", " --security wpa2", diff --git a/py-scripts/tools/lf_check.py b/py-scripts/tools/lf_check.py index e1ac1b5d..d9b2d3ad 100755 --- a/py-scripts/tools/lf_check.py +++ b/py-scripts/tools/lf_check.py @@ -760,9 +760,10 @@ NOTE: Diagrams are links in dashboard""".format(ip_qa=ip,qa_url=qa_url) print(self.test_dict) # loop through radios (For future functionality based on radio) - for radio in self.radio_dict: - # This has been changed to reflect the Radio configuriaton of LANforge, for now print - print("rig json config: RADIO: {radio} DRIVER: {driver} CAPABILITIES {cap} MAX_STA {max_sta} MAX_VAP {max_vap} MAX_VIFS {max_vif}".format( + if self.radio_dict: + for radio in self.radio_dict: + # This has been changed to reflect the Radio configuriaton of LANforge, for now print + print("rig json config: RADIO: {radio} DRIVER: {driver} CAPABILITIES {cap} MAX_STA {max_sta} MAX_VAP {max_vap} MAX_VIFS {max_vif}".format( radio=self.radio_dict[radio]['RADIO'],driver=self.radio_dict[radio]['DRIVER'],cap=self.radio_dict[radio]['CAPABILITIES'], max_sta=self.radio_dict[radio]['MAX_STA'],max_vap=self.radio_dict[radio]['MAX_VAP'],max_vif=self.radio_dict[radio]['MAX_VIFS']))