mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
lf_check.py : if the radio dictionary is empty to not error.
ct_us_003_tests.json updated for ASUS AP ct_003_AX88U_dut.json : added the ASUS AP configuration Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
26
py-scripts/tools/ct_003_AX88U_dut.json
Normal file
26
py-scripts/tools/ct_003_AX88U_dut.json
Normal file
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
"args": "",
|
"args": "",
|
||||||
"args_list": [
|
"args_list": [
|
||||||
" --mgr LF_MGR_IP",
|
" --mgr LF_MGR_IP",
|
||||||
" --resource 3",
|
" --resource 1",
|
||||||
" --ssid SSID_5G_USED",
|
" --ssid SSID_5G_USED",
|
||||||
" --password SSID_5G_PW_USED",
|
" --password SSID_5G_PW_USED",
|
||||||
" --security wpa2",
|
" --security wpa2",
|
||||||
|
|||||||
@@ -760,6 +760,7 @@ NOTE: Diagrams are links in dashboard""".format(ip_qa=ip,qa_url=qa_url)
|
|||||||
print(self.test_dict)
|
print(self.test_dict)
|
||||||
|
|
||||||
# loop through radios (For future functionality based on radio)
|
# loop through radios (For future functionality based on radio)
|
||||||
|
if self.radio_dict:
|
||||||
for radio in self.radio_dict:
|
for radio in self.radio_dict:
|
||||||
# This has been changed to reflect the Radio configuriaton of LANforge, for now print
|
# 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(
|
print("rig json config: RADIO: {radio} DRIVER: {driver} CAPABILITIES {cap} MAX_STA {max_sta} MAX_VAP {max_vap} MAX_VIFS {max_vif}".format(
|
||||||
|
|||||||
Reference in New Issue
Block a user