Commit Graph

1385 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
0c6c511332 lf_snp_test.py : fixed endp_type to endp_types
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-19 07:42:09 -06:00
Chuck SmileyRekiere
4b8f9e00f1 lf_snp_test.py : fix command names to match parameters for understanding
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-19 07:31:52 -06:00
Chuck SmileyRekiere
e640f9ef60 lf _snp_test.py : print driections on test config
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-19 07:19:24 -06:00
Chuck SmileyRekiere
e6dfc26968 lf_snp_test.py : comments and whitespace update
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-19 07:12:29 -06:00
Chuck SmileyRekiere
1ca9016408 lf_snp_test.py : updated printout from test config
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-19 06:37:27 -06:00
Chuck SmileyRekiere
e3900290fb lf_snp_test.py : measure the rx rate, was rx bytes
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-19 05:36:57 -06:00
Ben Greear
caed45086b cv-dataplane: Support putting kpi into influxdb.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-18 21:54:23 -07:00
Ben Greear
b8bc8d2dc1 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-04-18 15:34:30 -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
Chuck SmileyRekiere
0b2265fd92 lf_report.py : added support of moving graph.png files to results directory
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-18 10:26:04 -06:00
Chuck SmileyRekiere
84a584657c lf_report.py : update file comments , fixed self.current_path typo
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-18 07:45:42 -06:00
Chuck SmileyRekiere
ed484a1f0b lf_report.py : to avoid broken links the report banner and CandelaTech logo moved to results
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-18 07:25:03 -06:00
Chuck SmileyRekiere
2298a446a7 lf_report.py : build the report directory on the constructor
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-18 05:28:32 -06:00
Ben Greear
582a23ecf4 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-04-17 16:19:29 -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
Chuck SmileyRekiere
f0b9d21ece lf_report.py: added full report path , intermediate push
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-17 10:59:57 -06:00
Chuck SmileyRekiere
bd1cb0f889 lf_report.py : putting reports in report directory
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-17 10:59:57 -06:00
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
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
ee8728f51e cv-dataplane: Add test-rig support.
For better KPI.csv output.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-17 08:33:33 -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
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
a98930abdc Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-04-16 21:08:41 -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
Chuck SmileyRekiere
a5c394ccae lf_snp_test.py : white space clean-up remove commented out code 2021-04-16 19:58:26 -06:00
Chuck SmileyRekiere
7030343e8c lf_snp_test.py : adjust default for controller_ap_mode 2021-04-16 19:47:58 -06:00
Chuck SmileyRekiere
055aab06b1 lf_snp_test.py : removed commented out code
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-16 18:59:13 -06:00
Logan Lipke
82580e13fe Moved test logic to monitor method of gen_cxprofile 2021-04-16 17:45:35 -07:00
Chuck SmileyRekiere
a7efb72fb2 lf_snp_test.py : reducing the iterations for defaults 2021-04-16 18:41:35 -06:00
Chuck SmileyRekiere
3091f5bec2 lf_snp_test.py : comment update
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-16 18:31:29 -06: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
Matthew Stidham
a9fb064002 CSV to influx uses a while loop to write data to Influx
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-16 15:00:26 -07:00
Ben Greear
fbd1046bc5 Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-04-16 14:44:42 -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
Chuck SmileyRekiere
82e9e3ea18 lf_snp_test.py: allow controller_tx_power to be configured from the command line
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-16 15:25:58 -06:00
Chuck SmileyRekiere
f3de09251d lf_snp_test.py : update to continue if client dencity not supported
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-16 15:03:38 -06:00
Chuck SmileyRekiere
8dd6748af0 created py-scripts/sandbox lf_hackrf3.py and test_ipv4_variable_time2.py to it.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-16 11:42:48 -06:00
Chuck SmileyRekiere
8df3f98b8f moved banner.png and CandelaLogo2-90dpi-200x90-trans.png to artifacts dir 2021-04-16 10:30:31 -06: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
aeb638d91b Used seconds instead of milliseconds on first commit
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-15 17:06:48 -07:00
Matthew Stidham
c3b3f8a161 make csv_to_influx work and make test_ipv4_variable_time work properly
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-15 16:58:49 -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
4edfaf9bef Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-04-15 13:06:35 -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
Jed Reynolds
60e99bb690 event_breaker.py and event_flood.py can now be used together
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-04-15 10:54:14 -07: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
Matthew Stidham
6a0dd64c33 Correct scriptname variable in csvtoinflux
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-15 10:20:59 -07:00