Commit Graph

1293 Commits

Author SHA1 Message Date
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
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
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
SushantBawiskar
11b3fd96f1 - changed example
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-13 01:34:49 +05:30
Chuck SmileyRekiere
88d42807f9 update_dependencies.py changed influxdb_client to influxdb-client 2021-04-12 12:45:57 -06:00
Chuck SmileyRekiere
cc90070988 update_dependencies.py : added influxdb_client
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-12 12:42:04 -06:00
SushantBawiskar
93b5a77e43 - Changed Example
- Added comments

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-13 00:08:34 +05:30
Chuck SmileyRekiere
d103207545 create_chamberview.py : updated command in notes 2021-04-12 12:14:52 -06:00
Matthew Stidham
d15be3b4a7 add influxdb to update_dependencies
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-12 10:54:02 -07:00
Chuck SmileyRekiere
03fb5f3b2b create_chamberview.py , lf_wifi_capacity_test.py modified file permissions
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-12 11:13:38 -06:00
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
Chuck SmileyRekiere
210b95779f lf_ftp_test.py: indication of ending upload/download test - not just time
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-10 05:11:58 -06:00
Ben Greear
643d1ebd5c l3-longevity: Report per-port throughput as well.
Summed up from connections on the ports in question.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 17:28:12 -07:00
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
Ben Greear
39306b26a9 l3longevity: If user specifies csv outfile, use it unmodified.
Otherwise, default to something with a timestamp in it.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 16:10:10 -07:00
Ben Greear
d3beea2aa8 l3-longevity: Support writing out kpi csv file
For those not depending on graphana/influx

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 15:47:00 -07:00
Ben Greear
6919045bbc l3-longevity: Write out per-port csv files.
And a small bit of code cleanup in the realm class.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 15:17:07 -07:00
Ben Greear
6102760aa3 l3-longevity: Support user-specified influxdb tags from cmd line.
So we can pass in testbed name, DUT info, etc.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 13:06:02 -07:00
Ben Greear
848e9a1437 longevity: Fix parsing MTU/AUTO for PDU size.
Need to convert that to -1 so that LANforge will accept the value.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 11:56:56 -07:00
Ben Greear
84d6674cd4 l3-longevity: Support multiconn setting.
Add support to l3profile as well.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 11:30:28 -07:00
Ben Greear
460dcf0d20 l3-longevity: Allow skipping least/most csv columns.
And remove some duplicated code to build the first part of csv data
rows.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 10:06:32 -07:00
Ben Greear
cb11480fad csv-convert: Tweak output column order.
To better fit into customer's visualization tool.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-09 06:35:34 -07:00
Ben Greear
08401996b2 l3-longevity: Add influxdb-2 API
This properly inserts data into the c7-graphana system.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-08 22:02:34 -07:00