mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
ct_9136_WLC1_lanforge.json : example for lanforge setup
ct_9136_dut.json : example for dut setup ct_9136_tx_power_tests.json : example for tx_power tests setup Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
committed by
shivam
parent
07a81118a8
commit
9ef0befa92
24
py-scripts/tools/ct_9136_WLC1_lanforge.json
Normal file
24
py-scripts/tools/ct_9136_WLC1_lanforge.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"ct_us_001":{
|
||||
"Notes":[
|
||||
"This json file describes LANforge system and test run configuration"
|
||||
]
|
||||
},
|
||||
"test_rig_parameters":{
|
||||
"TEST_BED": "CT-TB1-WLC1",
|
||||
"TEST_RIG": "CT-TB1-WLC1",
|
||||
"TEST_SERVER": "",
|
||||
"DATABASE_SQLITE": "/home/user/lanforge/html-reports/ct-us-9136/ct_9136_001.db",
|
||||
"LF_MGR_IP": "192.168.100.178",
|
||||
"LF_MGR_PORT": "8080",
|
||||
"LF_MGR_USER": "lanforge",
|
||||
"LF_MGR_PASS": "lanforge",
|
||||
"UPSTREAM_PORT": "1.1.eth2",
|
||||
"UPSTREAM_ALIAS": "eth2",
|
||||
"TEST_TIMEOUT": 180,
|
||||
"EMAIL_LIST_PRODUCTION": "chuck.rekiere@candelatech.com",
|
||||
"EMAIL_LIST_TEST": "chuck.rekiere@candelatech.com",
|
||||
"EMAIL_TITLE_TXT": "Lanforge Tx Power Testing CT-RM204-TB1",
|
||||
"EMAIL_TXT": "Lanforge Tx Power Testing CT-RM204-TB1 "
|
||||
}
|
||||
}
|
||||
23
py-scripts/tools/ct_9136_dut.json
Normal file
23
py-scripts/tools/ct_9136_dut.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"ct_9136I-B_dut":{
|
||||
"Notes":[
|
||||
"The dut related configuration is contained in this file",
|
||||
"DUT_SET_NAME is an input to wifi capacity, dataplane and ap_auto tests, for --set parameter",
|
||||
"The DUT_NAME must be part of DUT_SET_NAME"
|
||||
]
|
||||
},
|
||||
"test_dut":{
|
||||
"DUT_SET_NAME": "DUT_NAME ASUSRT-AX88U",
|
||||
"USE_DUT_NAME": "AP687D.B45C.2B24",
|
||||
"DUT_SW": "12345678",
|
||||
"DUT_HW": "9136I-B",
|
||||
"DUT_SN": "12345678",
|
||||
"wireless_network_dict":{
|
||||
"ssid_idx=0":{"ssid_idx":"0","SSID_USED":"24G-wpa2","SSID_PW_USED":"hello123","BSSID_TO_USE":"68:7d:b4:60:04:b0","SECURITY_USED":"wpa2","WLAN_ID_USED":"3"},
|
||||
"ssid_idx=1":{"ssid_idx":"1","SSID_USED":"5G-wpa2","SSID_PW_USED":"hello123","BSSID_TO_USE":"68:7d:b4:60:04:b0","SECURITY_USED":"wpa2","WLAN_ID_USED":"2"},
|
||||
"ssid_idx=2":{"ssid_idx":"2","SSID_USED":"6G-wpa3","SSID_PW_USED":"hello123","BSSID_TO_USE":"68:7d:b4:60:04:b0","SECURITY_USED":"wpa3","WLAN_ID_USED":"1"},
|
||||
"ssid_idx=3":{"ssid_idx":"3","SSID_USED":"open-wlan-6","SSID_PW_USED":"[BLANK]","BSSID_TO_USE":"68:7d:b4:60:04:b0","SECURITY_USED":"open","WLAN_ID_USED":"6"}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
190
py-scripts/tools/ct_9136_tx_power_tests.json
Normal file
190
py-scripts/tools/ct_9136_tx_power_tests.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"ct_wifi_capacity_test":{
|
||||
"Notes":[
|
||||
"This json file describes tests to be run by LANforge system",
|
||||
"Batch channel : 1 33 65 97 129 161 193",
|
||||
"Batch channel bandwidth : 20 40 80 160 ",
|
||||
"Batch nss : 1 2 ",
|
||||
"Batch tx power (optional, can run all passed in on command line) : 1 2 3 4 5 6 7 8 "
|
||||
]
|
||||
},
|
||||
"test_suites":{
|
||||
"suite_tx_power":{
|
||||
"tx_power_create_station_6g":{
|
||||
"NOTE":"Set the AP mode to auto from abgnAX",
|
||||
"enabled":"FALSE",
|
||||
"load_db":"skip",
|
||||
"timeout":"180",
|
||||
"command":"lf_tx_power.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --scheme ssh --dest localhost --port 8887 --user admin --passwd Cisco123 --prompt WLC1 --series 9800",
|
||||
" --band 6g --module cc_module_9800_3504 --timeout 3 ",
|
||||
" --ap USE_DUT_NAME --ap_slot 4 --ap_band_slot_6g 3 ",
|
||||
" use_ssid_idx=2 --wlan 6G-wpa3-AP3 --wlan_id 15 --wlan_ssid SSID_USED",
|
||||
" --tag_policy RM204-TB1-AP4 --policy_profile default-policy-profile",
|
||||
" use_ssid_idx=2 --radio wiphy2 --create_station --station sta0000 --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
|
||||
" --pathloss 59 --antenna_gain 6",
|
||||
" --lfmgr LF_MGR_IP --upstream_port eth2 --lfresource 1",
|
||||
" --vht160 --ieee80211w required --wifi_mode auto --channel 1 --bandwidth \"20\" ",
|
||||
" --nss 2 --txpower \"3\" --outfile tx_power_2B24 --no_cleanup --testbed_id Cisco-WLC1-AP4",
|
||||
" --local_lf_report_dir REPORT_PATH"
|
||||
]
|
||||
},
|
||||
"tx_power_create_wlan_and_station_6g":{
|
||||
"enabled":"FALSE",
|
||||
"load_db":"skip",
|
||||
"timeout":"180",
|
||||
"command":"lf_tx_power.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --scheme ssh --dest localhost --port 8887 --user admin --passwd Cisco123 --prompt WLC1 --series 9800",
|
||||
" --band 6g --module cc_module_9800_3504 --timeout 3 ",
|
||||
" --ap USE_DUT_NAME --ap_slot 4 --ap_band_slot_6g 3 ",
|
||||
" use_ssid_idx=2 --create_wlan --wlan SSID_USED --wlan_id 1 --wlan_ssid SSID_USED",
|
||||
" --tag_policy RM204-TB1-AP5 --policy_profile default-policy-profile",
|
||||
" use_ssid_idx=2 --radio wiphy2 --create_station --station ax210a --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
|
||||
" --pathloss 59 --antenna_gain 6",
|
||||
" --lfmgr LF_MGR_IP --upstream_port eth2 --lfresource 1",
|
||||
" --vht160 --ieee80211w required --wifi_mode abgnAX --channel 65 --bandwidth \"20\" ",
|
||||
" --nss 2 --txpower \"3\" --outfile tx_power_2B24 --no_cleanup_station --no_cleanup --testbed_id Cisco-WLC1-AP5",
|
||||
" --local_lf_report_dir REPORT_PATH"
|
||||
]
|
||||
},
|
||||
"tx_power_create_wlan_and_station_5g_wiphy4":{
|
||||
"NOTES":"This test will create a wlan and create a station ",
|
||||
"enabled":"FALSE",
|
||||
"load_db":"skip",
|
||||
"timeout":"180",
|
||||
"command":"lf_tx_power.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --scheme ssh --dest localhost --port 8887 --user admin --passwd Cisco123 --prompt WLC1 --series 9800",
|
||||
" --band 5g --module cc_module_9800_3504 --timeout 3 ",
|
||||
" --ap USE_DUT_NAME --ap_slot 4 --ap_band_slot_5g 1 ",
|
||||
" use_ssid_idx=1 --create_wlan --wlan SSID_USED --wlan_id WLAN_ID_USED --wlan_ssid SSID_USED",
|
||||
" --tag_policy RM204-TB1-AP5 --policy_profile default-policy-profile",
|
||||
" use_ssid_idx=1 --radio wiphy4 --create_station --station mt7915e --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
|
||||
" --pathloss 59 --antenna_gain 6",
|
||||
" --lfmgr LF_MGR_IP --upstream_port eth2 --lfresource 1",
|
||||
" --vht160 --ieee80211w disabled --wifi_mode abgnAX --channel 36 --bandwidth \"20\" ",
|
||||
" --nss 2 --txpower \"3\" --outfile tx_power_2B24 --no_cleanup_station --no_cleanup --testbed_id Cisco-WLC1-AP5",
|
||||
" --local_lf_report_dir REPORT_PATH"
|
||||
]
|
||||
},
|
||||
|
||||
"tx_power_use_existing_wlan_and_station_5g_wiphy4":{
|
||||
"NOTES":"This test will create a wlan and create a station ",
|
||||
"enabled":"FALSE",
|
||||
"load_db":"skip",
|
||||
"batch_channel":"100",
|
||||
"batch_nss":"2",
|
||||
"batch_bandwidth":"160",
|
||||
"timeout":"180",
|
||||
"command":"lf_tx_power.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --scheme ssh --dest localhost --port 8887 --user admin --passwd Cisco123 --prompt WLC1 --series 9800",
|
||||
" --band 5g --module cc_module_9800_3504 --timeout 3 ",
|
||||
" --ap USE_DUT_NAME --ap_slot 4 --ap_band_slot_5g 1 ",
|
||||
" use_ssid_idx=3 --wlan SSID_USED --wlan_id 6 --wlan_ssid SSID_USED",
|
||||
" --tag_policy RM204-TB1-AP5 --policy_profile default-policy-profile",
|
||||
" use_ssid_idx=3 --radio wiphy4 --station mt7915e --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
|
||||
" --pathloss 59 --antenna_gain 6",
|
||||
" --lfmgr LF_MGR_IP --upstream_port UPSTREAM_ALIAS --lfresource 1",
|
||||
" --vht160 --ieee80211w disabled --wifi_mode abgnAX",
|
||||
" --channel USE_BATCH_CHANNEL --bandwidth USE_BATCH_BANDWIDTH --nss USE_BATCH_NSS --txpower '3 5'",
|
||||
" --outfile tx_power_2B24 --no_cleanup_station --no_cleanup --testbed_id Cisco-WLC1-AP5",
|
||||
" --local_lf_report_dir REPORT_PATH",
|
||||
" --test_tag 'tx_power C9136I-B AP687D.B45C.2B24'",
|
||||
" --dut_hw_version DUT_HW --dut_sw_version DUT_SW --dut_model_num USE_DUT_NAME --dut_serial_num DUT_SN",
|
||||
" --test_priority 4",
|
||||
"--enable_all_bands"
|
||||
|
||||
]
|
||||
},
|
||||
|
||||
"tx_power_batch":{
|
||||
"enabled":"TRUE",
|
||||
"load_db":"skip",
|
||||
"timeout":"180",
|
||||
"iterations":"1",
|
||||
"batch_channel":"1",
|
||||
"batch_nss":"2",
|
||||
"batch_bandwidth":"20",
|
||||
"command":"lf_tx_power.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --scheme ssh --dest localhost --port 8887 --user admin --passwd Cisco123 --prompt WLC1 --series 9800",
|
||||
" --band 6g --module cc_module_9800_3504 --timeout 3 ",
|
||||
" --ap USE_DUT_NAME --ap_slot 4 --ap_band_slot_6g 3 ",
|
||||
" use_ssid_idx=2 --wlan SSID_USED --wlan_id WLAN_ID_USED --wlan_ssid SSID_USED",
|
||||
" --tag_policy RM204-TB1-AP5 --policy_profile default-policy-profile",
|
||||
" use_ssid_idx=2 --radio wiphy2 --create_station --station sta0000 --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
|
||||
" --pathloss 59 --antenna_gain 6",
|
||||
" --lfmgr LF_MGR_IP --upstream_port UPSTREAM_ALIAS --lfresource 1",
|
||||
" --vht160 --ieee80211w required --wifi_mode abgnAX",
|
||||
" --channel USE_BATCH_CHANNEL --nss USE_BATCH_NSS --bandwidth USE_BATCH_BANDWIDTH --txpower '3'",
|
||||
" --outfile tx_power_2B24 --no_cleanup --no_cleanup_station --testbed_id Cisco-WLC1-AP5",
|
||||
" --local_lf_report_dir REPORT_PATH",
|
||||
" --test_tag 'tx_power C9136I-B AP687D.B45C.2B24'",
|
||||
" --dut_hw_version DUT_HW --dut_sw_version DUT_SW --dut_model_num USE_DUT_NAME --dut_serial_num DUT_SN",
|
||||
" --test_priority 4"
|
||||
|
||||
]
|
||||
},
|
||||
"tx_power_batch_2":{
|
||||
"enabled":"TRUE",
|
||||
"load_db":"skip",
|
||||
"timeout":"180",
|
||||
"iterations":"1",
|
||||
"batch_channel":"1",
|
||||
"batch_nss":"2",
|
||||
"batch_bandwidth":"20",
|
||||
"command":"lf_tx_power.py",
|
||||
"args":"",
|
||||
"args_list":[
|
||||
" --scheme ssh --dest 192.168.100.239 --port 22 --user admin --passwd Cisco123 --prompt WLC1 --series 9800",
|
||||
" --band 6g --module cc_module_9800_3504 --timeout 3 ",
|
||||
" --ap USE_DUT_NAME --ap_slot 4 --ap_band_slot_6g 3 ",
|
||||
" use_ssid_idx=2 --wlan SSID_USED --wlan_id WLAN_ID_USED --wlan_ssid SSID_USED",
|
||||
" --tag_policy RM204-TB1-AP5 --policy_profile default-policy-profile",
|
||||
" use_ssid_idx=2 --radio wiphy2 --create_station --station sta0000 --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
|
||||
" --pathloss 59 --antenna_gain 6",
|
||||
" --lfmgr LF_MGR_IP --upstream_port UPSTREAM_ALIAS --lfresource 1",
|
||||
" --vht160 --ieee80211w required --wifi_mode abgnAX",
|
||||
" --channel USE_BATCH_CHANNEL --nss USE_BATCH_NSS --bandwidth USE_BATCH_BANDWIDTH --txpower '3'",
|
||||
" --outfile tx_power_2B24 --no_cleanup --no_cleanup_station --testbed_id Cisco-WLC1-AP5",
|
||||
" --local_lf_report_dir REPORT_PATH",
|
||||
" --test_tag 'tx_power C9136I-B AP687D.B45C.2B24'",
|
||||
" --dut_hw_version DUT_HW --dut_sw_version DUT_SW --dut_model_num USE_DUT_NAME --dut_serial_num DUT_SN",
|
||||
" --test_priority 4"
|
||||
|
||||
]
|
||||
},
|
||||
|
||||
"lf_qa":{
|
||||
"enabled":"FALSE",
|
||||
"timeout":"600",
|
||||
"load_db":"skip",
|
||||
"command":"./tools/lf_qa.py",
|
||||
"args":"",
|
||||
"NOTE":"Only set server when not viewing results on local system",
|
||||
"args_list":[
|
||||
"--server http://localhost/ --path REPORT_PATH --store --png --database DATABASE_SQLITE"
|
||||
]
|
||||
},
|
||||
"lf_qa2":{
|
||||
"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