Commit Graph

3291 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
fb46a2ea64 test_l4.py : updated to ip_test.exit_fail()
test_l3.py : added exit_fail(), exit_success()

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
bf0570fcf1 test_l4.py : updated to use lfcli_base.py exit_success() and exit_fail()
logic

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b6ee7a731c *.json : moved to ct_test_json, ct_rig_json, ct_dut_json
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
a3a9fd4afd ct_dut_json: created directory
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
2856590adf test_l3_longevity.py : prints to logger functionality.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Nikita Yadav
cdf7b90d1f lf_pcap.py: filter ption to get_status_code method and get_packet_info 2022-07-12 15:46:16 +05:30
Scott Wedge
0dcd5d51bd lf_cleanup.py: add variable resource cleanup to sta,sanitize,br,and misc
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
bbb9a4adce lf_cleanup.py: add back loop iterations, add port-type to bridge_clean
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
5ea4d6148f lf_cleanup.py: modify while loop logic in functions
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Ben Greear
8c68811228 csv-convert: Tweak output to meet customer's goals.
Remove some columns from the bottom section, add 'Mean' to column in top
section.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b1ca68ed39 lf_check.py : corrected return code logic
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
a06a6cf66c lf_cleanup.py: add logger module, add --sanitize command switch logic
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b695d916b0 lf_check.py : checks for script return codes, individual messages for 1 script
reported failure , 2 argument failure, if 0 then check logs for error messages
anything else print out the return code.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b0a9d764f6 test_l3.py : changed wifi_setting_keys not enabled to info from error
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
43c6fc72a4 ct_us_001_test.json : removed --ap_read and --ap_test_mode from test json
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f0c7d21503 lf_check.py : read out the script return code.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
cabed1cea7 lf_check.py : added check for IndexError. Comment where to check the script
output.
ct_us_001_tests.json : updated for test_l3.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
45d7790f35 sta_connect2.py : added exit(1) for fail, exit(0) for pass
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
fcf7c22bc9 sta_connect2.py : wkhtmltopdf not working on windows ,
check platform.system() if 'Linux' then generate the pdf.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
c6a8627240 l3_cxprofile.py : added quiesce_cx option to allow the cx to drain then stop
realm.py : added drain_stop_cx (could not get quiesce_cx name to work)
test_l3.py : added quiesce_cx

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Ben Greear
309e2411d2 csv-parser: Support joining two csv files.
So that we can get beacon RSSI and phy-rate info.
2022-07-12 15:46:16 +05:30
Ben Greear
8d8313e9d0 csv-convert: Add additional phy-rate columns requested by customer.
To get the new values, you need to parse the text-csv-0.csv file
since it holds the phy-rate info.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
4ec17a26f1 test_l3.py : autopep8
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
0356f5f9b2 test_l3.py : port supports ul and dl rx drop %, added ata start offset
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
62b335d4e9 test_l3.py : added --sta_start_number, --no_pre_cleanup --no_cleanup , --no_stop_traffic
so tests runs may be additive.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
anil-tegala
80e07bceb9 methods added to get status code and to get pcap info 2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
d5f1799cfd test_l3.py : comments and logging updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
e97052f46c sta_connect2.py : moved the args.debug prior to the lf_logger_config_json
as json config will take presidence

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
17254d65a6 lf_atten_mode_test.py : the script does not need --port except that the script
inherits from Realm which requires a port.  the --port in the script conflicted
with the base args parser so the base args parser will be used.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
87291c7803 ct_us_004_tests.json update the nightly script for ap_auto
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
497c16a93d sta_connect2.py: add test ability for resource greater than 1
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
bb65003775 sta_connect2.py: fix end-of-test cleanup
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
9e0765f69c test_l3.py : removed unused command
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
77c6b64146 sta_connect2.py : set logger level to debug when --debug passed in
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Logan Lipke
e3a7450269 sta_connect.py: Added new docstring to fit with scripting templates 2022-07-12 15:46:16 +05:30
Logan Lipke
b1f0363979 sta_connect.py: Fixed command line option issues 2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f7fae8f381 lfcli_base.py: changed --port in lfcli_base to --lf_port , this addition of
--port created a conflict with lf_attend_mod_test.py The --port was introduced
a month ago. Will look for other conflicts in the regressions.
Changed lf_attend_mod_test.py to add back in --port

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
f38170b77b lf_atten_mod_test.py : base_argsparse had a --port option so script will
use that one to avoid conflict

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
b383a7c6c3 create_l3_stations.py --no_cleanup , changed to using switch from base args
parser

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
e828cf59c4 qa dut json moved to ct_qa_json
ct_001_AX88U_dut.json
ct_002_AX12_dut.json
ct_003_AX88U_dut.json
ct_004_AX88U_dut.json
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
a056ea2fc6 moved json for tx_power to tx_power_json folder
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
a9d258d41a ap_ctl.py : updates to use mux_client
lf_report.py : added traceback for exceptions

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:15 +05:30
Chuck SmileyRekiere
1da36b43cf lf_check.py : added example for using curl
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:15 +05:30
Chuck SmileyRekiere
79c774ffe3 ap_ctl.py : initial commit for using mux_serial
lf_tx_power.py: TODO for adding the AP module
ct_9136_tx_power_tests.json : using batch mode.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:15 +05:30
Chuck SmileyRekiere
479adbb30c ct_9136_dut.json : updated dut name
ct_9136_tx_power_tests.json : example for channel widths on command line

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:15 +05:30
Scott Wedge
10b39c0992 test_l4.py: modify kpi.csv short-description
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:15 +05:30
Scott Wedge
73d1516d28 test_l4.py: add kpi.csv & report functionality, modify script example commands
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:15 +05:30
Chuck SmileyRekiere
9ef0befa92 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>
2022-07-12 15:46:15 +05:30
Chuck SmileyRekiere
07a81118a8 lf_dash.py updates to remove deprecated modules
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:15 +05:30
Chuck SmileyRekiere
5a9540d907 lf_tx_power.py : temporary work around for admin down and up AP
lf_check.py : email input is now optional
lf_qa.py : added to the help

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:15 +05:30