Commit Graph

25 Commits

Author SHA1 Message Date
Matthew Stidham
ebd8733ea4 lf_ap_auto_test: Default upstream port to None
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-19 16:35:27 -08:00
Matthew Stidham
e270f69b87 lf_ap_auto_test: Make upstream port argument required
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-19 16:27:51 -08:00
Matthew Stidham
674682692f lf_ap_auto_test: Cleanup whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 11:13:42 -08:00
Matthew Stidham
9f42272c23 lf_ap_auto_test: DO NOT USE MUTABLE DEFAULTS
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 10:28:27 -08:00
Ben Greear
41200068fd ap-auto: Fix help output formatting.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-09-29 16:38:58 -07:00
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
Matthew Stidham
e6cf6b9337 1. Create pandas_extensions.py
2. Remove unused imports

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 11:11:04 -07:00
Chuck SmileyRekiere
cd73cab61a lf_ap_auto_test.py : added configuration of ssh_port on init
lf_dataplane_test.py has this configuration als

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-18 04:11:38 -06: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
Chuck SmileyRekiere
b590c97fe0 ls_ap_auto_test.py : updated example for --test_tag
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-08-03 05:34:14 -06:00
Matthew Stidham
d6ef5bee74 Adding in lf_ap_auto_test to ct_us_002 and enabling local_lf_report_dir in lf_ap_auto_test
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-14 11:33:40 -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
Matthew Stidham
2aebe7f26f Improve Grafana script integration with graph groups file, and add measurement variable
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-05-22 12:08:31 -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
84f0c79f02 ap-auto: Add influxdb support.
And tweak base class to be a bit more friendly about
reporting on what the influxdb code is doing or not.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-18 15:33:50 -07:00
Ben Greear
2ae3a8108f cv-ap-auto: Support test-rig ID
For better KPI generation.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-17 08:37:01 -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
a0049bc6cf cv: Move some common logic into base class
Convert ap-auto test to use this new base class
API.  This should save a lot of duplicated code
once process is complete for other CV tests.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-16 16:50:57 -07:00
Ben Greear
7feda49d15 cv-dataplane: Support automating dataplane tests.
Similar to how the ap-auto script was implemented.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-15 15:45:29 -07:00
Ben Greear
4fdac32a5f cv-ap-auto: Improve usage notes.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-15 14:33:00 -07:00
Ben Greear
c3d1726e9a ap-auto: Fix DUT selection, add --set option
--set supports setting values by their GUI label, which is probably
easier for a user to understand than having to find the value in the
raw config blob.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-15 13:58:41 -07:00
Ben Greear
6dc1230617 CV: Add ap-auto chamberview automation.
Based on the wifi-capacity script, with some code specific to
ap-auto.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-15 13:05:56 -07:00