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>
While at it, rename class to TR398 instead of Dataplane
(old copy/paste mistake I guess)
Fix up help output.
Add support for test-rig option.
Signed-off-by: Ben Greear <greearb@candelatech.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 tweak default cmd line args for others so that they
must be specified in order to override the other config
options (such as raw files).
Signed-off-by: Ben Greear <greearb@candelatech.com>
This will launch and configure tr398 and gather the results
in the end, similar to other chamber-view tests.
This one utilizes a config file to store the calibration and radio
and attenuator config, see example-configs/tr398-ferndale-ac-cfg.txt
A new calibration file would need to be used for your own testbed.
Signed-off-by: Ben Greear <greearb@candelatech.com>