Commit Graph

17 Commits

Author SHA1 Message Date
SushantBawiskar
f31f7c45ed - added comments and Notes in create_chamberview_dut.py
- cv_test_manager.py show_text_blob will return the response text

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-26 19:12:05 +05:30
SushantBawiskar
810377b16e - integrated cv_commands.pywith cv_test_manager.py
- 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>
2021-04-24 01:08:33 +05:30
Matthew Stidham
400ceb308f Fix cv_test_manager.py's Grafana call and correct spacing
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-20 13:56:01 -07:00
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
280099b8b2 cv-capacity: Support importing kpi.csv directly into influxdb
And update example command to what works for me on the c7-graphana
instance.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-17 16:18:04 -07:00
Ben Greear
a882659c93 cv: Capacity comments, fix 'sets' logic.
And add --test_rig cmd line arg so that KPI column can be properly
specified.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-17 08:24:04 -07:00
Ben Greear
c0e7bc4901 cv: Improve test-mgr reliability
Do more checking instead of just assuming things work.
Be sure to clean up test at the end, even if it never
properly ran.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-16 22:40: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
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
57a40d7668 cv-scripts: create tests with 'do not load old cfg' option.
This puts test in known state each time.  Requires code I just
committed to the GUI to function properly.

Also, add a sleep after submitting and requesting text
blobs (bad me, will have to find a better way to do this
in the future so that we don't depend on sleep and
races).

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-13 18:08:23 -07:00
Ben Greear
3c171bc260 cv-capacity: Re-work user input a bit.
*  Use realm method to query for all stations instead
of matching by name (which would miss wlan* devices)

*  Support interleave and linear sorting options.

*  Support setting upload/download speed.

*  Use args.foo variables directly much of the time,
  instead of making local copies of the same info.
  This simplifies code in my mind.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-13 15:23:35 -07:00
SushantBawiskar
565a538c32 added manual ports selection in wifi capacity test 2021-04-14 02:28:13 +05:30
SushantBawiskar
1264598187 changed arguments for create_test_config
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-12 17:04:12 +05:30
SushantBawiskar
bdf8d06fe2 changed import for chamberview
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-12 16:50:45 +05:30
SushantBawiskar
8be2e3908f cv_test_manager.py generic library for chamberview tests
cvtest_reports.py generic library to pull reports folder from lanforge
run_test.py to run chamberview test test

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-08 17:16:14 +05:30
SushantBawiskar
4d998463f6 Added cv_test_manager.py.py as test library
run_test can be used to run cv_test_manager.py

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-08 17:16:14 +05:30