lf_tx_power.py : updated header information in xlsx to include AP for xlsx

ct_9136_tx_power_test.json - updated Notes in json
This commit is contained in:
Chuck SmileyRekiere
2022-04-12 05:51:59 -06:00
committed by shivam
parent c27c2cea79
commit 36ef2a7622
2 changed files with 18 additions and 17 deletions

View File

@@ -547,12 +547,13 @@ def main():
outfile_path = report.get_report_path()
current_time = time.strftime("%m_%d_%Y_%H_%M_%S", time.localtime())
test_name = ('Tx Power: ' + 'Band: ' + args.band + ', Channel: ' + args.channel
test_name = ('Tx Power: ' + 'AP: ' + args.ap + ', Band: ' + args.band + ', Channel: ' + args.channel
+ ', NSS: ' + args.nss
+ ', BW: ' + args.bandwidth
+ ', Tx Power: ' + args.txpower)
if (args.outfile):
outfile_tmp = (outfile_path + '/' + current_time + '_' + args.outfile
+ '_AP_' + args.ap
+ '_band_' + args.band
+ '_ch_' + args.channel.replace(' ', '_')
+ '_nss_' + args.nss.replace(' ', '_')
@@ -560,6 +561,7 @@ def main():
+ '_tx_pw_' + args.txpower.replace(' ', '_'))
else:
outfile_tmp = (outfile_path + '/' + current_time + '_' + 'tx_power'
+ '_AP_' + args.ap
+ '_band_' + args.band
+ '_ch_' + args.channel.replace(' ', '_')
+ '_nss_' + args.nss.replace(' ', '_')

View File

@@ -8,24 +8,24 @@
"Batch nss : 1 2 ",
"Batch tx power (optional, can run all passed in on command line) : 1 2 3 4 5 6 7 8 ",
"sample command from tools directory:",
" ./lf_check.py --json_rig ./ct_rig_json/ct_9136_WLC1_lanforge.json --json_dut ./ct_dut_json/ct_9136_dut.json --json_test ./ct_tests_json/ct_9136_tx_power_tests.json --suite suite_tx_power --path '/home/lanforge/html-reports/ct-us-9136"
" ./lf_check.py --json_rig ./ct_rig_json/ct_9136_WLC1_lanforge.json --json_dut ./ct_dut_json/ct_9136_dut.json --json_test ./ct_tests_json/ct_9136_tx_power_tests.json --suite suite_tx_power --path /home/lanforge/html-reports/ct-us-9136"
]
},
"test_suites":{
"suite_tx_power":{
"tx_power_24g_AX210":{
"NOTE":["Basic script 24g use existing station, ",
"Batches are ignored if values entered on command line",
"USE_BATCH_CHANNEL for channel batch",
"USE_BATCH_NSS for nss batch",
"USE_BATCH_BANDWIDTH for bandwidth batch",
"USE_BATCH_TX_POWER for tx_power batch"],
"enabled":"FALSE",
"Batch needs to be removed if command line parameter entered",
"USE_BATCH_CHANNEL for channel batch: 1 2 3 4 5 6 7 8 9 10 11 ",
"USE_BATCH_NSS for nss batch: 1 2",
"USE_BATCH_BANDWIDTH for bandwidth batch: 20",
"USE_BATCH_TX_POWER for tx_power batch: 1 2 3 4 5 6 7 8"],
"enabled":"True",
"load_db":"skip",
"batch_channel":"1 2 3 4 5 6 7 8 9 10 11",
"batch_nss":"1 2",
"batch_channel":"11",
"batch_nss":"2",
"batch_bandwidth":"20",
"batch_tx_power":"1 2 3 4 5 6 7 8",
"batch_tx_power":"4",
"timeout":"180",
"command":"lf_tx_power.py",
"args":"",
@@ -36,13 +36,12 @@
" --timeout 3 --ap USE_DUT_NAME --ap_band_slot_24g 0",
" use_ssid_idx=0 --wlan SSID_USED --wlan_id 3 --wlan_ssid SSID_USED",
" --tag_policy RM204-TB1-AP5 --policy_profile default-policy-profile",
" --create_station",
" use_ssid_idx=0 --radio wiphy3 --station sta0002 --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
" --pathloss 59 --antenna_gain 0",
" --lfmgr LF_MGR_IP --upstream_port eth2 --lfresource 1",
" --vht160 --ieee80211w optional --wifi_mode auto",
" --pathloss 59 --antenna_gain 0 --lfmgr LF_MGR_IP ",
" --upstream_port UPSTREAM_ALIAS --lfresource 1",
" use_ssid_idx=0 --radio wiphy3 --create_station --station sta0002 --ssid SSID_USED --ssidpw SSID_PW_USED --security SECURITY_USED",
" --vht160 --ieee80211w optional",
" --channel USE_BATCH_CHANNEL --nss USE_BATCH_NSS --bandwidth USE_BATCH_BANDWIDTH --txpower USE_BATCH_TX_POWER",
" --outfile tx_power_24g_2B24 --no_cleanup_station --no_cleanup",
" --outfile tx_power --no_cleanup_station --no_cleanup",
" --testbed_id Cisco-WLC1-AP5 --testbed_location RM204-TB1-AP5",
" --local_lf_report_dir REPORT_PATH"
]