Commit Graph

69 Commits

Author SHA1 Message Date
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
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
Ben Greear
2d79dcb038 l3-longevity: Support tx/rx rates as totals or per-connection.
When using totals, the per-cx will be configured for its share
of the total.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-08 16:56:33 -07:00
Ben Greear
5e39814396 l3-longevity: Fix handling of empty attenuation arrays.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-08 16:18:39 -07:00
Ben Greear
70ee8972a0 l3-longevity: Support setting attenuators
User can specify comma separated list of attenuator EIDS
(shelf.resource.atten-id.atten-idx) and a list of attenuation
values and the script will iterate through those.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-08 16:09:18 -07:00
Matthew Stidham
108c014f98 script tag in test_l3_longevity
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-08 14:18:08 -07:00
Matthew Stidham
bb65157ca4 Add tags variable back to posttoinflux
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-08 13:54:58 -07:00
Matthew Stidham
291216dcb6 Insert data from test_l3_longevity into influx database
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-08 12:06:08 -07:00
Ben Greear
a3610f67b0 l3-longevity: Improve comments.
Will improve further once script is more complete.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-08 10:47:42 -07:00
Ben Greear
b4bead52ff longevity: Add initial influx support.
Doesn't work yet, calling influx with wrong data structure it seems.
But, getting closer.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-07 17:20:31 -07:00
Ben Greear
54f2fe70af l3-longevity: Start supporting tx/rx rate/pdu configuration.
This is start of work to support Comcast's request and to make this more
general purpose traffic-test script.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-07 14:44:07 -07:00
Matthew Stidham
e1a865f946 Fixing exit_on_error mistakes
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 16:14:03 -07:00
Matthew Stidham
e000571594 Fixing halt_on_error errors
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 15:48:42 -07:00
Matthew Stidham
052319d2ce Remove exit_on_error
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 15:19:34 -07:00
Chuck SmileyRekiere
c1537145e8 test_l3_longevity.py : removed controller programming
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-02-24 14:33:58 -07:00
Chuck SmileyRekiere
8cb00b99b5 Revert "test_l3_longevity.py : move results to report-data"
This reverts commit 2ec33b65de.
2021-02-24 13:59:14 -07:00
Chuck SmileyRekiere
2ec33b65de test_l3_longevity.py : move results to report-data
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-02-24 13:53:08 -07:00
Chuck SmileyRekiere
047c843c3b cisco_wifi_ctl.py -> wifi_ctl_9800_3504.py and associated changes 2021-02-23 07:07:49 -07:00
Matthew Stidham
5c0487c122 regression update and fixing typos 2021-02-12 10:47:52 -08:00
Chuck SmileyRekiere
91e9a5375a test_l3_ongevity.py : additional logging for 200 clients udp, tcp , multicast 2021-02-05 13:33:07 -07:00
Chuck SmileyRekiere
2093e263a1 test_l3_longevity.py : testing realm - debug information 2021-02-05 13:03:12 -07:00
Chuck SmileyRekiere
6ddc64d190 test_l3_longevity.py: configurable wait at end of test 2021-02-03 11:52:31 -07:00
Chuck SmileyRekiere
5044c2c66c test_l3_longevity.py : updates for new Realm 2021-02-02 17:20:58 -07:00
Chuck SmileyRekiere
4bcba94bf8 test_l3_longevity.py: change inheritance from LFCliBase to Realm 2021-02-02 15:23:51 -07:00
Chuck SmileyRekiere
a067856baa lf_cisco_snp.py test_l3_ongevity.py: update debug 2020-10-22 14:39:13 -06:00
Chuck SmileyRekiere
e28bbb92a9 test_l3_longevity.py csv_processor.py: summary and raw csv files created 2020-10-17 17:41:11 -06:00
Chuck SmileyRekiere
2ecca3dd3b test_l3_longevity.py : bug fix on capturing output from controller 2020-10-16 18:22:29 -06:00
Chuck SmileyRekiere
8cfe56c3f1 lf_cisco_power.py: log updates test_l3_longevity.py csv updates 2020-10-14 11:30:01 -06:00
Chuck SmileyRekiere
e2ac92aa73 test_l3_longevity.py Header update 2020-10-10 16:53:37 -06:00
Chuck SmileyRekiere
37c6a0fd5b test_l3_longevity.py : both eposh time and readable time reported 2020-10-10 16:43:14 -06:00
Chuck SmileyRekiere
171344b361 test_l3_longevity.py is imported into test_l3_performance.py 2020-10-10 15:42:38 -06:00
Chuck SmileyRekiere
2ba21e1044 test_l3_longevity.py: update support for 9800 series controller 2020-10-10 14:36:54 -06:00
Chuck SmileyRekiere
0bad97c7a7 added time stamp to output files for lf_cisco_power.py , added seconds 2020-09-21 14:56:45 -06:00
Chuck SmileyRekiere
f09cbe3b98 9800 updates 2020-09-13 10:10:34 -06:00
Chuck SmileyRekiere
793392b40e adding support for different series of cisco controllers 2020-09-11 12:15:58 -06:00
Chuck SmileyRekiere
d9b60fdccd bug fix 2020-09-02 14:22:23 -06:00
Chuck SmileyRekiere
5e597eb9e2 updates to reset ports 2020-09-02 11:36:25 -06:00
Chuck SmileyRekiere
437de81510 port reset functionality 2020-09-01 18:19:58 -06:00
Chuck SmileyRekiere
e016db4d7f updates l3 longevity help 2020-08-27 11:27:27 -06:00
Chuck SmileyRekiere
a3398d565c command line example fix 2020-08-25 18:54:46 -06:00
Chuck SmileyRekiere
2053562c94 changed radio parameters to not be positional 2020-08-25 18:37:05 -06:00
Chuck SmileyRekiere
cbfb03eb52 added controller configuration 2020-08-22 17:26:07 -06:00
Chuck SmileyRekiere
9205e75282 changed the check interval back to 60 sec 2020-08-14 14:35:58 -06:00
Chuck SmileyRekiere
87232227fe replace , with ; for csv most least most elements 2020-08-14 13:20:08 -06:00
Chuck SmileyRekiere
f068de0553 csv updates 2020-08-14 11:04:55 -06:00
Ben Greear
1c23dc0a49 longevity: Fix station count comparison.
Evidently, cannot compare a string to an int and get expected
result, so cast to int explicitly.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-07 11:35:17 -07:00
Ben Greear
e2c79832e9 longevity: Fix initial port cleanup.
Quieten some output by default.
2020-08-06 17:58:10 -07:00