Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Stidham
4e7e8b9360 1. Updating argparse commands so they include flags
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>
2021-09-21 16:13:07 -07:00
Ben Greear
96cd15849a tr398: Support saving report to local directory.
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>
2021-09-21 12:07:58 -07:00
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c Updates to import statements:
- 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>
2021-09-15 16:17:16 -07:00
Matthew Stidham
8cef95962e Major ghost improvements, create wifi_capacity dataplane, ghost script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-12 15:29:30 -07:00
SushantBawiskar
84731c8e1b - all test will be using cv_test_manager to sync.
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-26 19:12:05 +05:30
Ben Greear
048f2b1281 cv-tr398: Add test_rig ID support.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-17 08:41:32 -07:00
Ben Greear
f86eac4e55 cv: Make capacity use base class methods.
Also do better job of dealing with tests that do not start,
and ones with multiple popups.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-16 21:53:11 -07:00
Ben Greear
61b18233e2 cv: dataplane test converted to use base-class methods.
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>
2021-04-16 21:07:56 -07:00
Ben Greear
d89323f054 cv: tr398 now uses base-class logic for common actions.
Also add the raw-lines-file cfg option to the base class.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-16 17:00:35 -07:00
Ben Greear
a3e84ddeb1 cv: Add tr398 automation test
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>
2021-04-16 14:43:03 -07:00