Commit Graph

2756 Commits

Author SHA1 Message Date
anil-tegala
794faa060d uncommented wifi monitor functionality in lf_pcap
Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
2022-03-31 00:09:52 +05:30
anil-tegala
242787c163 packet dissection method return values modified
Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
2022-03-29 21:13:13 +05:30
anil-tegala
7cc2b43354 wlan mgt status code and get packet info methods were added
Signed-off-by: anil-tegala <anil.tegala@candelatech.com>
2022-03-24 19:54:12 +05:30
shivam
08d7f3dd52 Fixed the csv_to_influx : no attribute RecordInflux error and InfluxRequest needs time in utc format and not in string format
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-03-21 23:17:48 +05:30
jitendracandela
93cee54dfb Merge branch 'master' of https://github.com/Telecominfraproject/wlan-lanforge-scripts 2022-03-16 21:49:36 +05:30
jitendracandela
2ec9e58ab8 Added try and except in start method
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-03-16 21:47:52 +05:30
anil-tegala
a6c7c77d8e display filters modified and other he capabilities pcap methods added 2022-03-15 17:04:14 +05:30
Amrit Raj
c738ff2001 wait for time has reduced from 120 sec to 60 sec
Signed-off-by: Amrit Raj <amrit.raj@candelatech.com>
2022-03-11 16:16:28 +05:30
anil-tegala
dcce0e90c7 host and port are added as parameters for WifiMonitor 2022-03-08 21:06:06 +05:30
Shivam Thakur
28ee6ddea9 added the fix for eap tls auth 2022-03-05 12:23:20 +05:30
anil-tegala
3e36c8da73 Wifi Monitor added to Pcap library 2022-02-24 12:09:37 +05:30
anil-tegala
cd4b70a6bc lf pcap library added to py-scripts 2022-02-23 13:45:25 +05:30
jitendracandela
6e827a6a8b commented self.exit_fail() 2022-02-17 21:24:31 +05:30
Nikita Yadav
ab83ffbf9a changed radio input 2022-01-24 18:57:21 +05:30
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