4862 Commits

Author SHA1 Message Date
Matthew Stidham
1cf362be8a sta_connect: Improve logic
Replace if XXX is None with if not XXX because we want to fail if the variable is blank or 0
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 08:47:41 -08:00
Matthew Stidham
849deb89c2 sta_connect: Make logic more verbose
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 08:36:06 -08:00
Matthew Stidham
114e561605 test_ipv4_ttls: Fix incorrect call for self.use_existing_sta
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 08:29:19 -08:00
Matthew Stidham
8303d2b467 test_ipv4_ttls: Fix incorrect call for cx_profile
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 08:27:37 -08:00
Matthew Stidham
8a93649b0a sta_scan_test: Use a more robust cleanup method at the beginning of the test so we avoid false negatives
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 08:25:18 -08:00
Chuck SmileyRekiere
25b2fdbfb8 lf_check.py : add Server Host name, Server ip , Python3 Version Python3 Executable
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-15 18:15:48 -07:00
Matthew Stidham
1f0b3e7ff1 mac_vlan_profile and test_fileio: Allow user to specify resource and shelf for eth ports
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 15:52:08 -08:00
Jed Reynolds
a82db47ee9 check_large_files.bash: cleans up dangling etc/grub.d/50_candela_X files; rebuilds grub menu
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-12-15 15:48:35 -08:00
Matthew Stidham
94d15d1800 Use name_to_eid to parser parent name if it includes resource and shelf information
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 15:43:50 -08:00
Matthew Stidham
1e942b30fa test_fileio: if BLANK is not None is not desirable. if BLANK is better.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 15:39:56 -08:00
Matthew Stidham
af19c13649 mine_regression_results: add badger to regression results csv
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 14:47:07 -08:00
Logan Lipke
aae9a34cea lf_webpage.py: Added separate arguments for 2.4G and 5G wifi configurations, graphing fixes(WIP) 2021-12-15 13:07:40 -08:00
Chuck SmileyRekiere
40986001ce ct_us_scripts.json : syntax fix
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-15 12:09:53 -07:00
Chuck SmileyRekiere
f3fc3c850c ct_us_scripts.json : additional test scripts added
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-15 12:07:04 -07:00
Matthew Stidham
f2c7fd3f82 mac_vlan_profile: cleanup whitespace and bad logic
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 10:43:40 -08:00
Matthew Stidham
9d85bd8b8a test_fileio: Fix whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 10:14:01 -08:00
Matthew Stidham
9475269b7b test_fileio: Import from realm, don't use local_realm, it just adds unnecessary imports
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 10:12:18 -08:00
shivamcandela
0df163cf90 Merge ../lanforge-scripts 2021-12-15 23:33:41 +05:30
Matthew Stidham
49840e0802 sta_connect2: Remove unused imports
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 10:01:45 -08:00
Matthew Stidham
92bdf1c44f sta_connect2: Update logic to be in line with the rest of the library
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 10:00:38 -08:00
Matthew Stidham
0426c3b0a5 sta_connect2: Cleanup pre-existing stations when test starts
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 09:51:31 -08:00
Matthew Stidham
2852c5e593 test_ipv4_ttls: cleanup stations upon creation and at end of program
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-15 09:51:31 -08:00
Chuck SmileyRekiere
7e0563ac21 ct_us_scripts.json : changed suite_scipte_r to suite_scripts
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-15 09:57:10 -07:00
Chuck SmileyRekiere
64774a4cd0 ct_us_XXX_rig.json added candela email.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-15 08:48:53 -07:00
Chuck SmileyRekiere
ca2dfeeda1 test_l3_powersave_traffic.py : updated for single interface,
ct_us_scripts.json updated scripts to test

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-15 07:48:51 -07:00
Matthew Stidham
638894a277 sta_connect.py: Don't spout an error if trying to remove a station which doesn't exist
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-14 16:18:05 -08:00
Matthew Stidham
330eeabf8f sta_connect and sta_connect_example: Improve port removal logic
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-14 15:12:42 -08:00
Logan Lipke
77c80f7cc7 test_l3_powersave_traffic.py: Added command line arguments for choosing radios to use in station and monitor creation 2021-12-14 11:49:55 -08:00
Logan Lipke
289a41325b lf_webpage.py: line length fixes for pep8 compliance 2021-12-14 11:49:55 -08:00
Matthew Stidham
40a9a68981 regression_test: more debug
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-14 11:43:20 -08:00
Matthew Stidham
c7ea081bd1 regression_test: Better command line echoing
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-14 10:28:36 -08:00
Matthew Stidham
4bba61d9e9 regression_test: Print ERROR in status column if stations could not acquire IPs
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-14 10:26:26 -08:00
Matthew Stidham
e724113a5f regression_test: Test sta_connect2.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-14 09:02:18 -08:00
Matthew Stidham
679f4bf6b5 sta_connect: Fix create function
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-14 09:02:18 -08:00
Chuck SmileyRekiere
aba356c1ad ct_us_scripts.json : added test_ipv4_ps , test_ipv4_ttls , tests turned off
place holders when bridge is worked out.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-14 07:21:29 -07:00
Chuck SmileyRekiere
66b33ce9fe test_ipv4_ttls.py : pass up upstream_port configuraiton,
ct_us_scripts.json updated test added cleanup.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-14 06:18:16 -07:00
Chuck SmileyRekiere
8a3dc2221e ct_us_scripts.json: regression updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-14 06:18:16 -07:00
Chuck SmileyRekiere
de3683f220 lf_cleanup.py : pep8 cleanup
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-14 05:05:53 -07:00
Chuck SmileyRekiere
78bffdbbf0 ct_us_scripts.json : initial checkin - attempt to include more regression
lf_cleanup.py : added the cleanup of moni with sta

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-14 05:01:38 -07:00
Jed Reynolds
254681a205 regression_test.sh: adds sorting to bottom, fixes missing tbody end tag
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-12-13 20:22:46 -08:00
Matthew Stidham
8c1bf88b05 sta_connect: Use name_to_eid for upstream port
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-13 17:22:03 -08:00
Matthew Stidham
5d89b48f8f sta_connect: name_to_eid
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-13 17:11:42 -08:00
Matthew Stidham
2982bf3e49 sta_connect: Use name_to_eid to parse name of upstream port
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-13 17:10:55 -08:00
Matthew Stidham
4a871c9516 sta_connect.py: Use name_to_eid to parse name of radio
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-13 17:05:23 -08:00
Chuck SmileyRekiere
0687cc1b27 Revert "Revert "sta_connect: Fix whitespace""
This reverts commit 354ebaefeb.
2021-12-13 17:33:59 -07:00
Chuck SmileyRekiere
98e96523fc Revert "Revert "sta_connect: sta_connect works now""
This reverts commit 2f198da3d1.
2021-12-13 17:33:37 -07:00
Chuck SmileyRekiere
bb9735a9c9 Revert "sta_connect.py : added back in the older functionality for configuation."
This reverts commit f6e33994da.
2021-12-13 17:33:19 -07:00
Chuck SmileyRekiere
f6e33994da sta_connect.py : added back in the older functionality for configuation.
This script uses the json calles directly so will be helpful in working
with the auto generated library : work in progress

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-13 17:13:20 -07:00
Chuck SmileyRekiere
2f198da3d1 Revert "sta_connect: sta_connect works now"
This reverts commit 4d7451a287.
2021-12-13 17:13:20 -07:00
Chuck SmileyRekiere
354ebaefeb Revert "sta_connect: Fix whitespace"
This reverts commit 25f537a027.
2021-12-13 17:13:20 -07:00