Commit Graph

181 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
50381f849d test_l3_longevity.py : updates for temp data
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-04 10:03:33 -06:00
Chuck SmileyRekiere
8fffa14d68 test_l3_longevity.py : testing with bogus AP response
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-05-04 07:50:41 -06:00
Chuck SmileyRekiere
1a604e7b73 test_l3_longevity.py : adding reading the AP using pexpect
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-28 13:58:25 -06:00
Ben Greear
9c5a99e81f l3-longevity: Start work to parse BCM AP stats.
Work in progress, not run tested yet.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-23 08:12:46 -07:00
Matthew Stidham
991421a245 args.influx_bucket is None just as it should be
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-20 12:58:04 -07:00
Matthew Stidham
0fed7c9cc5 Do not trigger influx unles defined by the user
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-20 12:22:14 -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
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
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