Ben Greear
49c1df2cb0
cv-dut: Improve options to configure DUT.
...
And stop hard-coding the DUT position.
Add start of ferndale ucentral testbed end-to-end example test script.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-05-09 14:08:05 -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
6823cf1170
removed hard code from cv_dut_profile.py
...
Signed-off-by: sushant <sushant.bawiskar@candelatech.com >
2021-05-07 22:18:12 +05:30
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
e25c13e826
Create dut_to_grafana and fixing dependencies
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-05-06 17:14:16 -07:00
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
Sushant Bawiskar
61a7d305df
- added use-bss-transition flag
...
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com >
2021-05-03 12:52:57 +05:30
shivamcandela
a24fef3a13
Updates : printing endpoint data on console
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-02 14:21:41 +05:30
shivamcandela
af38037016
more fixes related to l3cx profile
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-02 12:38:41 +05:30
shivamcandela
43477b0e60
layer3 profile fixes
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-02 12:33:31 +05:30
shivamcandela
70aa8a0f07
layer 3 cx prints data on console in l3cx profile
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-05-02 09:43:34 +05:30
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
shivamcandela
f731737325
added lf_sniff_radio and set_wifi_radio options
2021-04-24 22:20:51 +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
SushantBawiskar
7c7cfafeb9
- added check response
...
- added check for build
- removed prints
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com >
2021-04-24 01:08:32 +05:30
SushantBawiskar
8510cabef5
- added raw data as input function
...
- added show text blob
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com >
2021-04-24 01:08:32 +05:30
Chuck SmileyRekiere
de86a454b2
remove halt_on_error
2021-04-22 16:28:50 -06:00
Nikita Yadav
b7089afc08
adding https option in create method
2021-04-21 21:21:35 +05:30
shivamcandela
0a6feed52e
Libraries started for chamberview tests
...
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com >
2021-04-21 10:49:02 +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
Chuck SmileyRekiere
f954d9a0ea
removed length check on eid
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-20 07:33:19 -06:00
Chuck SmileyRekiere
42e5e5b385
endpoint id (eid) now supports greater than values.
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-20 06:48:48 -06: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
Logan Lipke
1801f61f3a
Monitor method now contains test logic, reports correctly
2021-04-16 17:45:35 -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
Chuck SmileyRekiere
063acd6389
moved ./py-json/influx.py to ./py-scripts/influx.py and ./py-json/influx2.py to ./py-scripts/influx2.py py-json is communications to lanforge
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-16 06:31:21 -06:00
Matthew Stidham
0008f856e0
test_ipv4_variable_time can push data to influx v2
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-04-15 10:20:59 -07:00
Logan Lipke
c1450ec1d4
Added monitor method, WIP
2021-04-14 16:18:50 -07:00
Ben Greear
053e7352be
Merge branch 'master' of github.com:greearb/lanforge-scripts
2021-04-13 18:10:31 -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
Chuck SmileyRekiere
a8fcc7b14b
README.md : description for py-json scripts
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-13 17:55:59 -06: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
Matthew Stidham
f8cb43865b
Fix port_name in ports so it is more like other times we do this.
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-04-12 20:15:43 -07:00
Matthew Stidham
3820a85db7
Revert "Fix error regarding the non_port flag"
...
This reverts commit e88a0e2b52 .
2021-04-12 20:04:06 -07:00
Matthew Stidham
e88a0e2b52
Fix error regarding the non_port flag
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-04-12 17:00:18 -07:00
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
0f0852efed
- Changes args parser for chamberview
...
- added Resource, VLAN, uses-2
- Changes import in lf_wifi_capacity_test.py
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com >
2021-04-12 16:46:57 +05:30
Ben Greear
ba4212fff6
l3-longevity: Report avg latency for endpoints on a particular port.
...
Use endpoint EID to match Port EID so we can know which ports
endpoints belong to.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-09 17:12:06 -07:00