Use shlex to parse the tokens for each --line and --ssid content.
This fixes using ssid with spaces, for instance.
Fix parser to error out if user inputs invalid data.
Add TODO items for future work.
Fix regression script: DUT must be created before Scenario tries to use it,
and fix typos and other mistakes in how the regression script tried to
create dut and chamberview. This part has not been tested yet, but it is
at least closer than before.
Signed-off-by: Ben Greear <greearb@candelatech.com>
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>
2. Create check_argparse which allows us to check which flags are or are not included in argparse statements.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
- Import importlib, os, and sys to each python script.
- Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
- All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
And stop hard-coding the DUT position.
Add start of ferndale ucentral testbed end-to-end example test script.
Signed-off-by: Ben Greear <greearb@candelatech.com>
- create_chamberview_dut.py to create a dut
- cv_dut_profile.py as library to create a dut
- cv test manager can be used to implement chamber view also
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>