Commit Graph

3267 Commits

Author SHA1 Message Date
Scott Wedge
47ba3a3ee1 lf_test_max_association.py: add report objective and test info, add stop function
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:32 +05:30
Nikita Yadav
100c47ad2a lf_hard_roam.py: correction to 1 dbm 2022-07-12 15:46:32 +05:30
Nikita Yadav
87bc462a00 lf_hard_roam_test.py: added soft roam logic 2022-07-12 15:46:32 +05:30
Scott Wedge
6d4e1c4bfc lf_test_max_association.py: add objective, fix kpi logic
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:32 +05:30
Scott Wedge
28f3808e1d lf_test_max_association.py: add precleanup, add kpi subtest logic
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:32 +05:30
Scott Wedge
5701561cfc lf_test_max_association.py: initial commit
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
5e09a02324 sta_connect2.py : output the location of the results dowards end of test.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
1c4461b6bf Revert "Revert "modify_vap.py : removed import of LFUtils , as vap_modify inherits from Realm""
This reverts commit 54f6009f7afebc3715456ab5069f58f97a27f534.
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
33b4028980 Revert "modify_vap.py : removed import of LFUtils , as vap_modify inherits from Realm"
This reverts commit f8c08304ac485707471507581e3b0327e426aaa2.
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
1c2018c486 modify_vap.py : removed import of LFUtils , as vap_modify inherits from Realm
which imports LFUtils

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
9a5bf473c3 LFRequest.py : allow for debug to be enable at enstanciation o the LFRequest.py and passed in
vap_profile.py updated to allow the mac address to be used and pass in
debug state on enstanciation of LFRequest
modify_vap.py : added logging, pass debug flag to base classes

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
erinnerim
06168e0803 Add lf_modify_radio.py for varying spatial streams of a radio. 2022-07-12 15:46:32 +05:30
erinnerim
e6dcee47b5 Quick fix for modify_vap.py to see the shelf and resource;
TODO make sure to check code in vap_profile.py for duplicate;
name_to_eid should be handled by vap_profile.
2022-07-12 15:46:32 +05:30
erinnerim
b149935922 Add channel argument to lf_modify_radio.py;
Miscellaneous fixes
2022-07-12 15:46:32 +05:30
erinnerim
e49e92a28c Add lf_modify_radio.py for varying spatial streams of a radio. 2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
4614e35216 sta_connect2.py : updated column headings
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
88a9d8a968 sta_connect2.py : updated the pdf layout
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
e9fca61ed1 sta_connect2.py : table label updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
bd383f9028 sta_connect2.py : added test_input_info to the reporting
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
2a4b037c3d sta_connect2.py : added test_input_info to the reporting
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
07495c4729 sta_connect2.py : changed logger message to 'running traffic'
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
21d9ad06b4 lf_check.py update local report local in email results
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Nikita Yadav
b083553873 added comments 2022-07-12 15:46:31 +05:30
Chuck SmileyRekiere
7252cc3588 lf_json_api.py : sample post example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:31 +05:30
Jed Reynolds
7e96ebefe2 jbr_jag_test.py: removes incorrect debug parameter
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:31 +05:30
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