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>
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>
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>
- 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>
- added show text blob to reflect changes in GUI
- changed if-elif t0 if-if
- removed some sleep
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>