Use shlex to parse the --ssid argument, this lets us to passwords
and ssid with space, for instance.
raise ValueError exception if user requests un-supported
encryption type.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Try to figure out why this doesn't work on testbed heather,
at the least, I think DUT is probably wrong in the resgresison
script. More work is needed to get this working.
Signed-off-by: Ben Greear <greearb@candelatech.com>
It makes no sense at all to pair a station and a bridge.
Remove the combined test in regression script.
Add option to not clean up bridge and bond interfaces.
Improve bridge and bond to handle multiple resources
(hopefully, that part is not tested)
Signed-off-by: Ben Greear <greearb@candelatech.com>
The generic endpoint profile, especially the monitoring code,
was wrong in lots of ways.
Fix this, improve pass/fail and error reporting, and other
improvements for the gen_profile test.
Probably not backwards compat, but I assume due to breakage
no one was using this code anyway.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Clean up monitor logic in gen_cx profile to remove useless sleeps
and rename a variable that indicated it was msec but which was actually
seconds.
test_generic gets better error checking and also fixes bugs in how it
monitors the connection. More work yet is needed for making the
monitor do a good pass/fail logic.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Let user specify the level of logging desired.
Test implementaiton in example_security_connection.py
Signed-off-by: Ben Greear <greearb@candelatech.com>
Also: merge stderr/stdout, add more specific help example,
allow configuring report dir, add safety check for missing 'jq'.
Signed-off-by: Ben Greear <greearb@candelatech.com>
lf_logger_config_test.py : updated to show example of using lf_logger_config.json one directy up
lf_logger_config.json , lf_logger_config_example.json : updated with simple format
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
Check for false value in create_l3_stations and return error code
upon failure.
Add configurable timeout to waiting for cx/endp logic.
Signed-off-by: Ben Greear <greearb@candelatech.com>
In station_profile create method, pay attention to result of
wait_until_ports_appear. If it returns False, we know creation
has failed somehow, so we do not need to do the extra checking
that was in the create() method.
create_l3_stations adds logic to check return code of station
create logic, and exit with error code if it could not
create them as expected.
Signed-off-by: Ben Greear <greearb@candelatech.com>
lf_logger_config_test.py : example program
lf_sublogger.py : included module sample
lf_sublogger_2.py : included an inherited module same.
This code is for becomming familiar with the logging module
or just that there will be custome configurations
test_l3.py : intial pass of using the logger functionality
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
minimal wrapper around the python logger
lf_logger_config.json : example of how to set different log levels for
various modules.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>