jitendracandela
55b8754f64
Fixed list index out of range issue for cv close dialog
...
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com >
2022-12-07 00:04:55 +05:30
jitendracandela
890b772e67
Removed Not reporting to kpi file
...
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com >
2022-10-18 10:08:01 +05:30
shivam
a6673ee2de
added methods to load db and read the scenario details from the saved db
...
Signed-off-by: shivam <shivam.thakur@candelatech.com >
2022-07-14 11:55:50 +05:30
Ben Greear
548167d7af
Improve lf_ap_auto_test
...
Some untested changes to regression test script to allow passing more
info in on cmd line.
Use correct DUT name when starting ap-auto test.
Run connection test only at this time, it is fast when it works,
and proves basic ability to launch the test.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:46:00 +05:30
Chuck SmileyRekiere
2931c9c4c6
cv_test_manager.py print to logger
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:46 +05:30
Ben Greear
1da6d7d2f3
python/cv: Start adding debugging to create_chamberview
...
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 >
2022-07-12 15:45:45 +05:30
Chuck SmileyRekiere
42cd9507dc
cv_test_manager.py : removed print statement for Not reporting to kpi file
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2022-07-12 15:45:11 +05:30
jitendracandela
575d9facef
removed Not reporting to kpi file
...
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com >
2022-03-24 02:04:26 +05:30
Matthew Stidham
c1492964f1
cv_test_manager: Fix report directory
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-19 16:27:51 -08:00
Matthew Stidham
6dd06ea692
cv_test_manager: Clean up code which is redundant in the argparser
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-19 10:33:06 -08:00
Matthew Stidham
edb7bb2e90
cv_test_manager: Remove unused code
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-18 11:36:28 -08:00
Matthew Stidham
74cdc984ec
cv_test_manager: Clean up warnings
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-18 11:22:45 -08:00
Matthew Stidham
39631dd15a
cv_test_manager: semi-colons in python are used to separate statements. Don't put them at the end of lines because you feel like it.
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-18 10:35:59 -08:00
Ben Greear
82b5d61de2
rvr: Fix pulling to local directory.
...
My earlier attempt missed passing in the cmd-line-arg to the
code that actually used it.
And, add more useful printout to the CV test mgr to show what it
is pulling where.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-09-29 16:31:52 -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
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
2efbc62842
Revert "Update py_json files to be compatible with pip standards"
...
This reverts commit 0be47c82de .
2021-09-09 05:32:31 -06:00
Chuck SmileyRekiere
8e9909f2d0
Revert "Revert "Update py_json files to be compatible with pip standards""
...
This reverts commit 6b0322cafa .
2021-09-09 05:28:17 -06:00
Chuck SmileyRekiere
6b0322cafa
Revert "Update py_json files to be compatible with pip standards"
...
This reverts commit 0be47c82de .
2021-09-09 05:24:20 -06:00
Matthew Stidham
0be47c82de
Update py_json files to be compatible with pip standards
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-09-08 16:54:45 -07:00
Matthew Stidham
40fde97861
Major Grafana Dashboard script restructuring
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-08-31 15:55:36 -07:00
Matthew Stidham
53015a5501
Updating to make better Ghost posts, with more details in the first table, and enabling reading test_tags from the kpi.csv files.
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-07-22 15:27:20 -07:00
Chuck SmileyRekiere
c18d33f362
Revert "Add optional debug output to Chamberview test scripts, wifi capacity, dataplane"
...
This reverts commit a7ff3e9227 .
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-07-15 06:53:37 -06:00
Matthew Stidham
a7ff3e9227
Add optional debug output to Chamberview test scripts, wifi capacity, dataplane
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-07-14 16:07:56 -07:00
Matthew Stidham
7e3575b481
Removing LFClibase from influx2 script
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-07-08 11:47:17 -07:00
Chuck SmileyRekiere
7ca355c13d
cv_test_manager.py , cv_test_reports.py : bug fix on report_dir
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-29 14:32:15 -06:00
Chuck SmileyRekiere
9945e42f3c
py-json: cv_test_manager.py , cv_test_reports.py
...
py-scripts: lf_dataplane_test.py lf_wifi_capacity_test.py
local_path updated to local_lf_report_dir
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-29 10:33:52 -06:00
Chuck SmileyRekiere
335ef5859e
cv_test_manager.py : update for lf_wifi_capacity.py and lf_dataplane_test.py
...
being run on a remote system from lanforge and needing to gather KPI
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-29 09:33:48 -06:00
shivamcandela
4e63eddfa2
Added missing Port and local path details
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-06-02 01:40:25 +05:30
shivamcandela
3c76df8d41
cv report ssh port and local path added, cv manager report name variable added
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-31 23:27:38 +05:30
Ben Greear
6227303ffb
cv-test: Add influx debugging, update ferndale-ucentral sh script
...
Allow sourcing local shell variable script in order to not have
to commit tokens into the code repo. Fix a few calls to the
helper python code that does the real work.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-05-28 15:37:14 -07:00
Matthew Stidham
f655d0df2e
Run AP Auto Test from cv_to_grafana.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-21 10:34:21 -07:00
Matthew Stidham
21aa062244
Create cv_to_grafana and make fixes
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-14 15:23:24 -07:00
Matthew Stidham
371cde5843
More reliable way to parse CSV files
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-12 09:57:06 -07:00
Matthew Stidham
754207e623
run dataplane_to_grafana from remote machine
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-10 22:44:20 -07:00
Matthew Stidham
79fb905fd7
Building Grafana automation
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-07 16:59:04 -07:00
Sushant Bawiskar
94d7949eed
added get_popup_and_close function call in create_chamberview.py
...
added get_popup_and_close function in create_chamberview_dut.py
Signed-off-by: sushant <sushant.bawiskar@candelatech.com >
2021-05-07 22:11:22 +05:30
Matthew Stidham
c2cc40708a
Properly load scenario, run wifi capacity test, scp kpi file to localhost, and save to grafana.
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-05-06 10:43:09 -07:00
Ben Greear
3670ad0a53
cv-test-mgr: Debugging output for bad cv commands.
...
This may help users diagnose next time a script is out of
sync with GUI features.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-05-03 19:03:52 -07:00
Ben Greear
1db9f92412
cv-test-mgr: Add defaults for test-instance, test-cfg
...
These don't matter too much for normal use, so we can default to
sane values to save users having to enter the options.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-05-03 17:36:49 -07:00
Ben Greear
378beafe32
cv-test-mgr: Clean up error checking a bit.
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-05-03 17:30:12 -07:00
SushantBawiskar
5d053c8194
- added --delete_scenario flag in create_chamberview.py to delete old scenario of same name
...
- added delete_scenario function in cv_test_manager.py
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com >
2021-04-30 18:40:42 +05:30
SushantBawiskar
25d6d2e526
- changed example
...
- url argument added in get_ports
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com >
2021-04-28 17:34:42 +05:30
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