Commit Graph

82 Commits

Author SHA1 Message Date
jitendra-kushavah
7f28a6e363 Enhanced OWE feature
Signed-off-by: jitendra-kushavah <jitendra.kushavah@candelatech.com>
2025-10-15 17:59:11 +00:00
jitendra-kushavah
8b7a48a6ec Added OWE support
Signed-off-by: jitendra-kushavah <jitendra.kushavah@candelatech.com>
2025-10-14 02:17:08 +00:00
jitendracandela
1375642194 Replaced logging with logger
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2025-03-13 12:33:55 +05:30
jitendracandela
7f6cea6dfb Added retry logic if the AP value is empty
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2025-03-12 20:52:04 +05:30
shivam
d2940b6e35 Fixed upstream resource issue in staconnect2
Signed-off-by: shivam <shivam.thakur@candelatech.com>
2022-09-08 17:41:47 +05:30
Chuck SmileyRekiere
71ae95234c sta_connect2.py : allow mode setting on station profile
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:32 +05:30
Chuck SmileyRekiere
721de51f9a sta_connect2.py : added epilog which contains a basic example
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@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
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
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
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
Chuck SmileyRekiere
45d7790f35 sta_connect2.py : added exit(1) for fail, exit(0) for pass
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
fcf7c22bc9 sta_connect2.py : wkhtmltopdf not working on windows ,
check platform.system() if 'Linux' then generate the pdf.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
e97052f46c sta_connect2.py : moved the args.debug prior to the lf_logger_config_json
as json config will take presidence

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
497c16a93d sta_connect2.py: add test ability for resource greater than 1
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
bb65003775 sta_connect2.py: fix end-of-test cleanup
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:16 +05:30
Chuck SmileyRekiere
77c6b64146 sta_connect2.py : set logger level to debug when --debug passed in
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:16 +05:30
Scott Wedge
e590895364 sta_connect2.py: add pass/fail and subtest data to kpi.csv, add pdu value to tcp test traffic
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:15 +05:30
Scott Wedge
0140612c4e sta_connect2.py: modify --no_cleanup logic, modify output pass/fail
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:15 +05:30
Scott Wedge
4e317e6471 sta_connect2.py: add --no_cleanup logic
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:15 +05:30
Scott Wedge
739282f306 sta_connect2.py: add local_lf_report_dir and test runtime feature
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:15 +05:30
Scott Wedge
d5521f85ef sta_connect2.py: add test result report feature
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:15 +05:30
Scott Wedge
436a22b0c8 sta_connect2.py: add logger module and kpi.csv features
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:15 +05:30
Scott Wedge
b7ef70f4f1 sta_connect2.py: add logger module, fix bug in start()
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:46:04 +05:30
Matthew Stidham
b7236d5007 sta_connect2: wait_until_ports_appear needs list of ports
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:45 +05:30
Matthew Stidham
199dcb7ca1 sta_connect2: debug needs to be done as store_true, just like the rest of lanforge_scripts
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:33 +05:30
Matthew Stidham
07f6bf3ca6 sta_connect2: Pass debug argument to wait_until_ports_disappear
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:33 +05:30
Matthew Stidham
35e21fdd68 sta_connect2: use debug argument flag and pass on to functions
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:33 +05:30
Matthew Stidham
0a3ce42238 sta_connect2: Set station_profile.sta_prefix
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:32 +05:30
Scott Wedge
9b180069d6 sta_connect2.py: update help output, text and whitespace updates
Signed-off-by: Scott Wedge <wedges@candelatech.com>
2022-07-12 15:44:27 +05:30
Matthew Stidham
d0ce85cbdc sta_connect2: Query for the correct l3_cx name
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:44:26 +05:30
Matthew Stidham
ddccafa600 sta_connect2.py: The pre-cleanup text in StaConnect.setup was redundant frmo the pre_cleanup function.
It was also spouting errors if the station did not exist, so I made it so setup calls pre_cleanup and replaces the old noisy code.

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:44:26 +05:30
jitendracandela
936615413f Replaced resource with upstream_resource
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-05-27 01:03:22 +05:30
jitendracandela
fbcda50c8b Removed cleanup_on_exit from start method
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
2022-04-19 19:26:15 +05:30
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
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
shivamcandela
38321f4cb9 Fixed the influx_utils import in sta_connect2.py
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-12-13 16:58:25 +05:30
Matthew Stidham
356dbcf15a Revert "sta_connect2: Make the mgr argument on sta_connect2 more robust"
This reverts commit b3d9447c7e.
2021-11-29 13:00:32 -08:00
Matthew Stidham
b3d9447c7e sta_connect2: Make the mgr argument on sta_connect2 more robust
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-29 12:56:11 -08:00
Matthew Stidham
212f3c45ca sta_connect2: Remove redundant and repetitive code
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-24 16:06:43 -08:00