Commit Graph

3138 Commits

Author SHA1 Message Date
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
Matthew Stidham
7f1800fb55 create csv_to_influx.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-15 10:20:59 -07:00
Chuck SmileyRekiere
8cbfd250fd lf_snp_test.py exit if radio or controller_test not entered
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-15 08:00:36 -06:00
Chuck SmileyRekiere
0cff93a416 lf_snp_test.py : name change for controller test configs and logging
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-15 07:36:04 -06:00
Chuck SmileyRekiere
369060c20b lf_snp_test.py : print out radios used when passed in from command line
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-15 07:24:32 -06:00
Chuck SmileyRekiere
71d52cad43 lf_snp_test.py : arg added , print_test_config then exit
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-15 07:03:53 -06:00
Chuck SmileyRekiere
e1d81312f7 lf_snp_test.py : Comment updates , remove references to DFS
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-15 06:44:55 -06:00
Chuck SmileyRekiere
2daf266e25 ls_snp_test.py : Comment updates with examples
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-15 06:42:20 -06:00
Logan Lipke
31bf0e3eba Can now use reporting from monitor method, WIP 2021-04-14 16:18:50 -07:00
Logan Lipke
c1450ec1d4 Added monitor method, WIP 2021-04-14 16:18:50 -07:00
Jed Reynolds
0dd927e558 event_breaker.py: exposes more about the event JSON returned when blank records are detected, exits immediately
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-04-14 15:45:52 -07:00
Jed Reynolds
06f4716043 GUI: event_breaker.py - improves profiling logic
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-04-14 12:42:55 -07:00
Jed Reynolds
6615e15f42 adds header notes
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-04-14 10:06:35 -07:00
Chuck SmileyRekiere
03af88733d ls_snp_test.py : remove dfs references
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-14 08:40:29 -06:00
Chuck SmileyRekiere
266d4b22b9 lf_dfs_test.py lf_snp_test.py halt_on_error was deprecated these files missed the update
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-14 07:01:11 -06:00
SushantBawiskar
2a24c02ca8 - added stations creation to wifi capacity test
- added example

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-14 18:26:12 +05:30
Chuck SmileyRekiere
6109a5fcc1 lf_ftp_test.py : update comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-14 05:56:39 -06:00
Chuck SmileyRekiere
9fa9938a25 README.md : remove comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-14 04:05:35 -06: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
0047ab216b - added notes in lf_wifi_capacity_test
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-14 02:28:13 +05:30
SushantBawiskar
565a538c32 added manual ports selection in wifi capacity test 2021-04-14 02:28:13 +05:30
Matthew Stidham
61b8ea14df optional number_template argument in create_l3
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-13 10:22:13 -07:00
Chuck SmileyRekiere
ed9e909c0a README.md : script description updates, lf_cmc_macvlan.pl : typo, lf_create_bcast.pl comment
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-13 08:12:02 -06:00
Chuck SmileyRekiere
bf9a582c5e README.md : script description updates, lf_cmc_macvlan.pl : typo, lf_create_bcast.pl comment
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-13 06:48:34 -06:00
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