Commit Graph

1131 Commits

Author SHA1 Message Date
jitendracandela
55b8754f64 Fixed list index out of range issue for cv close dialog
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-12-07 00:04:55 +05:30
jitendracandela
5b4e4bcf8b Added 6GHz channel and freq
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-11-07 22:42:27 +05:30
jitendracandela
890b772e67 Removed Not reporting to kpi file
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-10-18 10:08:01 +05:30
jitendracandela
243f8f6bfd Removed license contents found statement from logger
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-08-17 00:52:28 +05:30
shivam
800b8c0920 Fixed dut creation and update
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-08-16 22:58:10 +05:30
jitendracandela
83796ed236 Improved client connectivity and added methods for get station data
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-08-06 15:28:11 +05:30
jitendracandela
6991f3c956 Added dummy function
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-07-22 11:01:05 +05:30
jitendracandela
f4fdeab48a Resolved conflicts
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-07-21 17:22:21 +05:30
jitendracandela
710f78889e Added profile_utility library
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-07-20 02:01:22 +05:30
shivam
a6673ee2de added methods to load db and read the scenario details from the saved db
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-07-14 11:55:50 +05:30
Logan Lipke
48811bcd40 gen_cxprofile.py: Added fix for error caused by single
station in test
2022-07-12 15:46:33 +05:30
Logan Lipke
9525466662 gen_cxprofile.py: Made changes for pep8 specs 2022-07-12 15:46:33 +05:30
Scott Wedge
ce10967ac5 l3_cxprofile.py: create monitor parameter for lf_test_max_association.py json get
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:33 +05:30
Scott Wedge
f09f0d4a91 port_probe.py: account for empty port data list
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:32 +05:30
Scott Wedge
2767776997 realm.py: adjust logger output
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:32 +05:30
Scott Wedge
e20ac33709 l3_cxprofile.py: account for empty lists
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
722e24593a lfcli_base.py : Chamberview tests will snow 0 results which is not an error
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
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
Chuck SmileyRekiere
941119713f vap_profile.py : added back in the modify method
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +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
Sushant Bawiskar
b90151f42c - added function in l3_cxprofile.py to avoid disturbing other monitors
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
2022-07-12 15:46:31 +05:30
Chuck SmileyRekiere
3007815cb1 LFRequest.py : modified the http.client._MAXHEADERS from 100 -> 300 in
LFRequest.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:25 +05:30
Nikita Yadav
5086a25d01 realm.py: added 191 channel option to chan_to_freq 2022-07-12 15:46:16 +05:30
Jed Reynolds
ccb0025639 add_sta.py: whitespace
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
0dc1fe4a83 logger.debug , changed passing two strings to passing a single string.
-                logger.debug("jsonGet asked for " + _req_url)
+                logger.debug("jsonGet asked for {_req_url} ".format(_req_url=_req_url))

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
7618d9d139 lfcli_base.py : updated logger.debug to print out the license block.
logger.debug takes a single string removed the string addition.

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
Chuck SmileyRekiere
61ed43c258 lfcli_base.py : added back in --port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
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
Nikita Yadav
eb36a829e9 create method doesnt supports all option previously, added all to atten_idx 2022-07-12 15:46:15 +05:30
Chuck SmileyRekiere
19117b2ece refactored scripts to use --no_cleanup
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:15 +05:30
Jed Reynolds
581d248c79 port_probe.py: fixes typo that halts test_ip_variable_time.py
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:46:02 +05:30
Chuck SmileyRekiere
4ffb8c3935 lfcli_base.py base args parser supports --lfmgr and --port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:02 +05:30
Chuck SmileyRekiere
5f95f38731 mac_vlan_profile.py : print to logger
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:02 +05:30
Chuck SmileyRekiere
db06254aa3 lfdata.py : prints to logger
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:02 +05:30
Ben Greear
fb48980ee1 vap-profile: Improve logging and use some base class code.
More changes all around regression test logic related to the
vap profile.  Move some open-coded admin_up/admin_down calls
to base class.

regression test takes the .rc file as primary input,
and cmd-line args will override that.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:46:02 +05:30
Ben Greear
548167d7af Improve lf_ap_auto_test
Some untested changes to regression test script to allow passing more
info in on cmd line.

Use correct DUT name when starting ap-auto test.

Run connection test only at this time, it is fast when it works,
and proves basic ability to launch the test.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:46:00 +05:30
Ben Greear
4129f01860 lf_multipsk: Improve logging and add some TODOs
Add some more notes about external dependencies for this
script.  It is meant to run with already-created vlans,
for instance.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:45:53 +05:30
Jed Reynolds
0004047dc6 lfcli_base.py: adds debugging around what pass results are
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:45:49 +05:30
Jed Reynolds
2b13166a4a LFUtils.py: comments out debug on object that only provides memory address as output
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:45:49 +05:30
Jed Reynolds
0ca2007d62 LFRequest.py: re-formats debug output so that it is less likely to wrap
On a narrow terminal it is difficult to follow the output. This merges a
series of message lines into one debug output call to help legibility

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:45:49 +05:30
Jed Reynolds
ea9fda9c60 LFUtils.py: formats debug output json for pull port listing
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:45:49 +05:30
Ben Greear
b7d42bce04 lfcli-base: consider test passed if there are no failures.
Previous code also insisted that there was at least one success,
but that means that code doing not pass/fail tests would
fail.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:45:49 +05:30
Chuck SmileyRekiere
0059bcca96 lf_attenmod.py prints changed to logger
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:45:49 +05:30
Jed Reynolds
d07c61ebc3 lfcli_base.py: updates check_connect() method to provide bold warning when detecting expired licenses.
Also generates warning about licences expiring within 30 days.

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:45:49 +05:30
Jed Reynolds
addc19deaa station_profile.py: improves debug formatting
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:45:49 +05:30
Jed Reynolds
1d67c30d1a LFRequest.py: raise ValueError when provided a highly improbable URL/PATH combination.
This was triggered by a call to admin_up() that was passing self.lfclient_url as an un-named parameter, creating
unanswerable requests formatted like http://localhost:8080/http:/localhost:8080/. There should really only be
one http[s]*:// pattern in a URL, and further instances of colons should be URL encoded to %3A.

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:45:49 +05:30
Jed Reynolds
554e3f22fc realm.py: add debugging parameters to admin_up()
This is a logical place to find license exceptions when using ath10k without valid license

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2022-07-12 15:45:49 +05:30
Chuck SmileyRekiere
dad88f2c94 fio_endp_profile.py : prints to logger
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:45:46 +05:30