Commit Graph

3228 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
92c4052881 ap_asus.py renamed due to current convention
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:31 +05:30
Chuck SmileyRekiere
1812654643 lf_json_api.py : initial commit , performs python request to LANforge
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:31 +05:30
Nikita Yadav
0a1ec9236f lf_pcap.py: roam time and destination address unction added 2022-07-12 15:46:31 +05:30
Chuck SmileyRekiere
8444d8fad8 test_l3.py : updated log level
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:30 +05:30
Scott Wedge
e71c2b2c30 lf_radio_info.py: add logger log_level
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:30 +05:30
Logan Lipke
22b0ad7759 sta_connect.py: Added returns to compare_vals,
finish_test() now returns based on compare_vals returns
2022-07-12 15:46:30 +05:30
Logan Lipke
5283d236d5 sta_connect.py: Added pass/fail to wait_until_cxs_appear 2022-07-12 15:46:30 +05:30
Logan Lipke
8e37cd0d57 sta_connect.py: Changed pre-cleanup to call to remove_stations()
Changed remove stations to check ports disappeared and pass/fail tests depending on success
2022-07-12 15:46:30 +05:30
Logan Lipke
08e72ae32c sta_connect.py: Fixed call to
wait_until_ports_disappear
2022-07-12 15:46:30 +05:30
Logan Lipke
7373114812 sta_connect.py: Changed waitUntilPortsAdminUp to
pep8 compliant function call,
Added pass fail check to wait_until_ports_admin_up
2022-07-12 15:46:30 +05:30
Logan Lipke
83a44423d4 sta_connect.py:
Added return code check for wait_until_ports_disappear
2022-07-12 15:46:30 +05:30
amrit
7e5023b8f6 lf_we_can_wifi_capacity: Added wifi-capacity for WE-CAN real clients along with reporting
Signed-off-by: amrit <amrit.raj@candelatech.com>
2022-07-12 15:46:30 +05:30
amrit
927c92535b lf_we_can_scan.py: Added div break in reporting
Signed-off-by: amrit <amrit.raj@candelatech.com>
2022-07-12 15:46:30 +05:30
Scott Wedge
a8b12fbb21 lf_radio_info.py: change to snake_case, cap vif creation at 200
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:30 +05:30
Scott Wedge
3c08d513a7 lf_radio_info.py: add function for system radio list
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:30 +05:30
amrit
de94cc9f08 as requested by QA team to change the objective in the scan test report
Signed-off-by: amrit <amrit.raj@candelatech.com>
2022-07-12 15:46:30 +05:30
amrit
9a078a945b input ip address security radio and target ssid is being updatedin the report (form static to Dynamic)
Signed-off-by: amrit <amrit.raj@candelatech.com>
2022-07-12 15:46:30 +05:30
Chuck SmileyRekiere
1e265455d9 lf_we_can_scan.py : made file executable as user
lf_we_can_wifi_capacity : made file executable as user

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:30 +05:30
Chuck SmileyRekiere
ed2c50fc3e test_l3_longevity.py : comment updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:30 +05:30
Scott Wedge
67dfc96bb3 lf_radio_info.py: module unit test built
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:30 +05:30
amrit
ee8c0b57c7 lf_report.py: modified headers properly in neat and clean format
Signed-off-by: amrit <amrit.raj@candelatech.com>
2022-07-12 15:46:28 +05:30
Nikita Yadav
5c7a6e9371 all pyc files removed 2022-07-12 15:46:28 +05:30
Nikita Yadav
2c8d685c42 lf_hard_roam.py: more time delay after stop 2022-07-12 15:46:26 +05:30
Chuck SmileyRekiere
e44bd459cf lf_sniff_radio.py : added monitor_name and set_freq function
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:26 +05:30
Chuck SmileyRekiere
e6a6bfe054 test_ip_variable_time.py : User inputs will get in list format and traffic created for diff upstreams
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:26 +05:30
Chuck SmileyRekiere
16958c01a1 Revert "Getting user inputs like SSID, pwd, upstream, security and radio in list format, clients of different AP and L3 traffics on different upstreams"
This reverts commit 122f9b7e87419370b56b91b4af15fedf0b8a2865, reversing
changes made to 2a857b93107f43bebaaf5072d4c122b86007051f.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:26 +05:30
Chuck SmileyRekiere
dc09efd7e3 test_l4.py : updated notes in the header
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:26 +05:30
karthikaeyetea
7f3c2cd887 added monitor_name and set_freq function
Signed-off-by: karthikaeyetea <karthika.subramani@candelatech.com>
2022-07-12 15:46:25 +05:30
Logan Lipke
cdceb09982 Removed sleep 2022-07-12 15:46:25 +05:30
Logan Lipke
4908b80107 sta_connect.py:
Added return code check for run method
2022-07-12 15:46:25 +05:30
Logan Lipke
24171d2f11 sta_connect.py: Added kpi.csv generation,
reverted to older stop method,
renamed finish method to prevent conflict
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
630da2e77f test_l4.py : added setting the log_level, Also made check for value being
and empty string.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
4371e84cb2 removded setting the logger_config based on debug flag, logger is set
with set logger_config.set_level

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
8fdf318431 create_station.py : updated comments to reflect standard header
test_l4.py : updated header comments

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
05adb91372 Multiple files: COPYWRITE -> COPYRIGHT
cc_9800_3504.py:COPYWRITE
cc_module_9800_3504.py:COPYWRITE
cc_module_test.py:COPYWRITE
controller.py:COPYWRITE
lf_tx_power.py:COPYWRITE
py-scripts/lf_csv.py:COPYWRITE
py-scripts/lf_graph.py:COPYWRITE
py-scripts/lf_kpi_csv.py:COPYWRITE
py-scripts/lf_pcap.py:COPYWRITE
py-scripts/lf_report_test.py:COPYWRITE
py-scripts/lf_snp_test.py:COPYWRITE

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Nikita Yadav
097cb77062 lf_csv.py: open a file and attach data 2022-07-12 15:46:25 +05:30
Nikita Yadav
a08bd563ae lf_pcap.py: read_time 2022-07-12 15:46:25 +05:30
Scott Wedge
e7ce03e4dd test_ip_variable_time.py: add kpi and reporting for udp traffic
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:25 +05:30
Scott Wedge
861c1a6eb5 test_l4.py: fix url seconds subtest pass/fail check
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
0b45615f51 test_l4.py : specified ap ip address in argument
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
ddaaba8378 lf_check.py : ability to have flat directory structure on output. The
Suite directory structure is the default.
updated lf_report.py to have ability to retrieve a flat directory structure.
9166 added bssid to json

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
f153a8576b lf_atten_mod_test.py : port needs to be fully removed put in a work around
Added the logger information.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
4290da5f57 lf_atten_mod_test.py : modified example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Chuck SmileyRekiere
72cc1e54fa test_l3_longevity.py : add set log level.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Scott Wedge
f755c8d878 test_ip_variable_time.py: add kpi.csv and reporting features
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:24 +05:30
Chuck SmileyRekiere
35974884e1 lf_tx_power.py : updated to allow for html reporting.
test json updates

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:24 +05:30
Nikita Yadav
393f579214 lf_csv: read csv file row wise 2022-07-12 15:46:22 +05:30
Nikita Yadav
79bc8ea0ee lf_report.py: added generic method to create a directory and move data as file/folder 2022-07-12 15:46:17 +05:30
Nikita Yadav
2dafd03751 lf_csv.py: added functionality of reading csv file 2022-07-12 15:46:17 +05:30
Chuck SmileyRekiere
ddd105bcde lf_tx_power.py : shutdown radio to configure channel
ct_9166_dut.json : added BSSID
ct_9166_tx_power_tests.json : reduced the scripts run
2022-07-12 15:46:17 +05:30