Commit Graph

3242 Commits

Author SHA1 Message Date
Jed Reynolds
b73395646a lfcli_base.py: moves comments from sandbox about LF_USE_AUTOGEN to here
this is the appropriate file to have that comment in

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:31 +05:30
Jed Reynolds
bbdf98235b jbr_jag_test.py: updated to work with agreed pathing
- corrects import statements to work from sandbox directory
- corrects renamed debug parameters
- now uses LFSession

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:31 +05:30
Scott Wedge
e5474dfbb2 lf_radio_info.py: add function for wifi-radio driver
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:31 +05:30
Chuck SmileyRekiere
c12be1e4bf sta_connect2.py : added set log_level to arguments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:31 +05:30
sushant
780df3f4d5 - refactored description and added use case of this script
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-07-12 15:46:31 +05:30
sushant
3ef7d3adfc - Added Description
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-07-12 15:46:31 +05:30
Sushant Bawiskar
2150853686 - test_ip_variable_time2.py can be used to run multiple instance of script at same time (This was ask from one of the customers).
- Currently script does not store any kpis or csv values or reports
- still working on optimizing and refactoring of this script

Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-07-12 15:46:31 +05:30
sushant
639bd6778f - Added code to check if file exists, if not then only creating the file
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-07-12 15:46:31 +05:30
sushant
913e4e30d2 - To make script work on existing stations
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-07-12 15:46:31 +05:30
Logan Lipke
e6beb7c4ed sta_connect.py: Updated file with autopep8 2022-07-12 15:46:31 +05:30
Logan Lipke
ba8d2dd319 sta_connect.py: Removed todo for exit codes 2022-07-12 15:46:31 +05:30
Chuck SmileyRekiere
69bcbebf3b sta_connect2.py : updated comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:31 +05:30
amrit
3a0d227fa8 removed average of Rx and Tx speed
Signed-off-by: amrit <amrit.raj@candelatech.com>
2022-07-12 15:46:31 +05:30
Nikita Yadav
f0b0e5ca9b lf_pcap.py: return empty if packet length None 2022-07-12 15:46:31 +05:30
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