mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 20:27:54 +00:00
json file checkin for QA
ct_002_AX12_dut.json - for Netgear ct_003_LANforge_dut.json - for LANforge testing ct_us_002_rig.json - remove dut info from the rig ct_us_004_tests.json updates for AP testing Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
26
py-scripts/tools/ct_002_AX12_dut.json
Normal file
26
py-scripts/tools/ct_002_AX12_dut.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"ct_AX12_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 Netgear-AX12",
|
||||
"dut_name": "Netgear-AX12",
|
||||
"dut_bssid_2g": "94:a6:7e:54:d4:31",
|
||||
"dut_bssid_5g": "94:a6:7e:54:d4:33",
|
||||
"dut_sw": "3.0.0.4.386_44266",
|
||||
"ssid_5g_used": "NETGEAR59",
|
||||
"ssid_5g_pw_used": "crispynest798",
|
||||
"security_5g_used": "wpa2",
|
||||
"ssid_2g_used": "NETGEAR59-5G",
|
||||
"ssid_2g_pw_used": "crispynest798",
|
||||
"security_2g_used": "wpa2"
|
||||
}
|
||||
}
|
||||
|
||||
26
py-scripts/tools/ct_003_LANforge_dut.json
Normal file
26
py-scripts/tools/ct_003_LANforge_dut.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"ct_AX12_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 Netgear-AX12",
|
||||
"dut_name": "Netgear-AX12",
|
||||
"dut_bssid_2g": "94:a6:7e:54:d4:31",
|
||||
"dut_bssid_5g": "94:a6:7e:54:d4:33",
|
||||
"dut_sw": "3.0.0.4.386_44266",
|
||||
"ssid_5g_used": "NETGEAR59",
|
||||
"ssid_5g_pw_used": "crispynest798",
|
||||
"security_5g_used": "wpa2",
|
||||
"ssid_2g_used": "NETGEAR59-5G",
|
||||
"ssid_2g_pw_used": "crispynest798",
|
||||
"security_2g_used": "wpa2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"custom_db": "DFLT_ETH1_GEN",
|
||||
"email_list_production": "konikofi@candelatech.com,greearb@candelatech.com,erin.grimes@candelatech.com,logan.lipke@candelatech.com,dipti.dhond@candelatech.com,chuck.rekiere@candelatech.com,matthew@candelatech.com,iain.davidson@candelatech.com,jreynolds@candelatech.com",
|
||||
"host_ip_production": "192.168.100.153",
|
||||
"email_list_test": "erin.grimes@candelatech.com,chuck.rekiere@candelatech.com",
|
||||
"email_list_test": "chuck.rekiere@candelatech.com",
|
||||
"host_ip_test": "192.168.100.153",
|
||||
"email_title_txt": "Lanforge QA Testing CT-US-001",
|
||||
"email_txt": "Lanforge QA Testing CT-US-001 "
|
||||
|
||||
@@ -20,9 +20,6 @@
|
||||
"lf_mgr_pass": "lanforge",
|
||||
"upstream_port": "1.1.eth2",
|
||||
"dut_set_name": "DUT_NAME NETGEAR59-5G",
|
||||
"dut_name": "NETGEAR-AX12",
|
||||
"dut_bssid_2g": "94:a6:7e:54:d4:31",
|
||||
"dut_bssid_5g": "94:a6:7e:54:d4:33",
|
||||
"test_timeout": 600,
|
||||
"load_blank_db": false,
|
||||
"load_factory_default_db": true,
|
||||
|
||||
@@ -516,7 +516,7 @@
|
||||
"args_list":[
|
||||
" --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user lanforge --lf_password lanforge",
|
||||
" --instance_name ap-auto-instance --config_name test_con --upstream UPSTREAM_PORT",
|
||||
" --dut5_0 'DUT_NAME lanforge DUT_BSSID_5G (1)' --dut2_0 'DUT_NAME lanforge DUT_BSSID_5G (1)'",
|
||||
" --dut5_0 'DUT_NAME lanforge DUT_BSSID_5G (1)' --dut2_0 'DUT_NAME lanforge DUT_BSSID_2G (1)'",
|
||||
" --max_stations_2 32 --max_stations_5 32 --max_stations_dual 100 --radio2 1.1.wiphy1",
|
||||
" --radio5 1.1.wiphy2 --set 'Basic Client Connectivity' 1",
|
||||
" --set 'Multi Band Performance' 0 --set 'Stability' 0 --set 'Multi-Station Throughput vs Pkt Size' 0,",
|
||||
@@ -537,6 +537,61 @@
|
||||
]
|
||||
}
|
||||
|
||||
},
|
||||
"suite_ap":{
|
||||
"CT-US-004_create_chamberview_dut_2":{
|
||||
"enabled":"TRUE",
|
||||
"load_db":"skip",
|
||||
"command":"create_chamberview_dut.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --lfmgr LF_MGR_IP --port LF_MGR_PORT --dut_name DUT_NAME",
|
||||
" --ssid 'ssid_idx=0 ssid=asus11ax-2 security=WPA2 password=hello123 bssid=DUT_BSSID_2G'",
|
||||
" --ssid 'ssid_idx=1 ssid=asus11ax-5 security=WPA2 password=hello123 bssid=DUT_BSSID_5G'",
|
||||
" --sw_version DUT_SW --hw_version DUT_HW --serial_num DUT_SERIAL --model_num DUT_NAME"
|
||||
]},
|
||||
"CT-US-004_create_chamberview_ap":{
|
||||
"enabled":"TRUE",
|
||||
"load_db":"skip",
|
||||
"command":"create_chamberview.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --lfmgr LF_MGR_IP --port LF_MGR_PORT --delete_scenario",
|
||||
" --create_scenario ap-004 ",
|
||||
" --raw_line \"profile_link 1.1 STA-abgn-AC 4 'DUT: DUT_NAME Radio-0' NA wiphy1,AUTO -1 NA\" ",
|
||||
" --raw_line \"profile_link 1.1 STA-AC 2 'DUT: DUT_NAME Radio-1' NA wiphy4,AUTO -1 NA\" ",
|
||||
" --raw_line \"profile_link 1.1 upstream-dhcp 1 NA NA UPSTREAM_PORT,AUTO -1 NA \" "
|
||||
]
|
||||
},
|
||||
"CT-US-004_lf_ap_auto_test": {
|
||||
"enabled": "TRUE",
|
||||
"command": "lf_ap_auto_test.py",
|
||||
"timeout":"1200",
|
||||
"iterations":"1",
|
||||
"args": "",
|
||||
"args_list":[
|
||||
" --mgr LF_MGR_IP --port LF_MGR_PORT --lf_user lanforge --lf_password lanforge",
|
||||
" --instance_name ap-auto-instance --config_name test_con --upstream UPSTREAM_PORT",
|
||||
" --dut5_0 'DUT_NAME lanforge DUT_BSSID_5G (1)' --dut2_0 'DUT_NAME lanforge DUT_BSSID_2G (1)'",
|
||||
" --max_stations_2 4 --max_stations_5 2 --max_stations_dual 100 --radio2 1.1.wiphy0",
|
||||
" --radio5 1.1.wiphy1 --set 'Basic Client Connectivity' 1",
|
||||
" --set 'Multi Band Performance' 0 --set 'Stability' 0 --set 'Multi-Station Throughput vs Pkt Size' 0,",
|
||||
" --set 'Throughput vs Pkt Size' 0 --set 'Capacity' 0 --set 'Band-Steering' 0 --set 'Skip 2.4 Ghz Tests' 1",
|
||||
" --pull_report --local_lf_report_dir REPORT_PATH --test_tag 'ATH10K(9984)'",
|
||||
" --test_rig TEST_RIG",
|
||||
" --set DUT_SET_NAME"
|
||||
]
|
||||
},
|
||||
"CT-US-004_QA":{
|
||||
"enabled":"TRUE",
|
||||
"timeout":"600",
|
||||
"load_db":"skip",
|
||||
"command":"./tools/lf_qa.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --path REPORT_PATH --store --png --database DATABASE_SQLITE"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user