Commit Graph

2742 Commits

Author SHA1 Message Date
Nikita Yadav
acbc768caf multipsk passwd correction 2022-01-24 18:42:22 +05:30
shivam
c0332e480d updated mesh test script
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-01-13 12:05:25 +05:30
shivamcandela
7d0a01eb32 Merge ../lanforge-scripts 2021-12-17 07:17:29 +05:30
shivamcandela
7d9c9fadaf Added layer3 cleanup logic which will run after test
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-12-17 07:16:37 +05:30
Matthew Stidham
a72233f504 regression_test: Add run_cv_scenario.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 16:42:37 -08:00
Matthew Stidham
b7838416c6 mine_regression_results: Improve output table so it has columns tallying the number of successes, errors, partial errors, partial failures specifically
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 15:43:18 -08:00
Matthew Stidham
d73df6d5c9 mine_regression_results: mine data from dingo
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 15:35:34 -08:00
Matthew Stidham
d6024b4198 sta_connect2: Fix logic on line 449, it needs to be upstream_resource = upstream_port[1], not args.upstream_port[1]
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 14:55:45 -08:00
Matthew Stidham
776c0955bc sta_connect2: Use name_to_eid to parse the upstream resource and upstream port
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 14:48:52 -08:00
Matthew Stidham
e1c33e033e sta_connect2: Use the default attribute in argparser, it is more robust
Explicitly declare the arguments in the intial call of StaConnect2 when possible, avoid if XXX: when possible

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 14:45:19 -08:00
Matthew Stidham
d170bfe4dd sta_connect2: We don't want to use is not None, because then if the value is an empty string by accident we will produce errors, so I've fixed this
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 14:32:31 -08:00
Matthew Stidham
d796415dd4 sta_connect: sta_connect.setup needs to not throw an error if the port does not exist.
It needs to quietly remove the old station and move on.

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 12:01:01 -08:00
Matthew Stidham
6f86f2aa05 regression_test: test_fileio macvlan IP will be on 10.40 network instead
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 09:46:19 -08:00
Matthew Stidham
865ea25964 sta_connect: Use explicit defaults in the argparser
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-12-16 08:50:20 -08:00
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
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
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