Commit Graph

2776 Commits

Author SHA1 Message Date
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
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
c5845f639e Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-04-08 16:19:09 -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
Chuck SmileyRekiere
3a8c9be33d moved cvtest_report.py to cv_test_report.py to be consistant with cv_test_manager.py also update lf_wifi_capacity.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-08 16:09:23 -06:00
Chuck SmileyRekiere
8cf078f0e0 moved wifi_capacity.py lf_wifi_capacity.py (customer facing test)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-08 16:06:34 -06:00
Chuck SmileyRekiere
261043e338 moved run_test.py to wifi_capcity.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-08 16:03:35 -06: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
0b372f9d3e csv-convert: Update comments.
And remove import of pandas, which the script no longer uses.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-08 10:28:54 -07:00
SushantBawiskar
8be2e3908f cv_test_manager.py generic library for chamberview tests
cvtest_reports.py generic library to pull reports folder from lanforge
run_test.py to run chamberview test test

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-08 17:16:14 +05:30
SushantBawiskar
4d998463f6 Added cv_test_manager.py.py as test library
run_test can be used to run cv_test_manager.py

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-08 17:16:14 +05:30
SushantBawiskar
ea5156ab66 Added chamberview.py as chamberview library
build_chamberview can be used to run chamberview

Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com>
2021-04-08 17:16:14 +05:30
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
lanforge
076a142501 Move running influxdbclient to init since it is needed in both functions.
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 13:49:35 -07:00
lanforge
a04f31b92f remove broken flags in test_ipv4_variable_time
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 13:43:19 -07:00
lanforge
3470bfd5b5 give custom datapoint to influx
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 13:37:22 -07:00
lanforge
fe45a2c657 Option to paste data from test_ipv4_variable_time to influx database
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 12:41:39 -07:00
Ben Greear
8aa31b433c Merge branch 'master' of github.com:greearb/lanforge-scripts 2021-04-07 10:57:10 -07:00
Ben Greear
e10c5630a6 csv-convert: Open-code the csv manipulation.
This makes it easier to deal with slightly different input formats,
and allows us to properly convert Mbps, Gbps, Kbps, bps to Mbps
units.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-07 10:56:19 -07:00
lanforge
d486854a6e add new_lf_data_collection to realm
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-07 10:40:10 -07:00
Chuck SmileyRekiere
0a3c126390 test_ipv4_variable_time.py : added tx rate and rx rate to defaults 2021-04-07 07:33:20 -06:00
Chuck SmileyRekiere
3beb2d6709 test_ipv4_variable_time.py: change to using success method form exit_success
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-07 05:38:38 -06:00
Chuck SmileyRekiere
4f7154b881 lfcli_base.py: added success method that does not exit to allow for report generation from script after success
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-07 05:36:18 -06:00
Chuck SmileyRekiere
9e675065d1 test_ipv4_variable_time.py: update report summary comment
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-07 05:07:24 -06:00
Chuck SmileyRekiere
f2212a2be2 test_ipv4_variable_time.py: Test finishes print where Report Data stored, lf_ftp_test.py: changed permissions
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-07 04:48:34 -06:00
Logan Lipke
f6d8e6463e Script reporting can now use custom report file & path 2021-04-06 17:57:52 -07:00
Ben Greear
42d9f4375e variable-time: Remove redundant assignment.
Variable was over-written below, so remove the first assignment.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-06 16:38:37 -07:00
Matthew Stidham
9c585d9bfc Better way of calling influx library
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 14:31:39 -07:00
Matthew Stidham
13c08a7a76 Properly report influx data in sta_connect2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 14:21:29 -07:00
Matthew Stidham
bdb00daf6a correct url in influx.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 13:19:57 -07:00
Matthew Stidham
bf57a78c8c Add optional influx database monitoring to sta_connect2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-06 12:13:58 -07:00
Ben Greear
e776758484 csv-convert: Fix typo.
Signed-off-by: Ben Greear <greearb@candelatech.com>
2021-04-06 08:31:11 -07:00
Chuck SmileyRekiere
fa213d807a csv_convert.py : defaulted to outfile
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-06 06:19:36 -06:00
Chuck SmileyRekiere
c4527011bf csv_convert.py : print the infile, outfile(xlsx), outfile(csv)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-06 06:08:10 -06:00
Chuck SmileyRekiere
e65a8ca606 csv_convert.py commented out debug prints
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-06 06:00:41 -06:00
Chuck SmileyRekiere
456590e360 intitial commit csv_convert.py
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-06 05:59:45 -06:00
Jed Reynolds
2be72140c9 adjust_apache.pl: fixes printing more than one copy of the current management hostname
This was happening when a unit was getting moved between networks and a totally different IP was found for it

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-04-05 17:02:48 -07:00
Jed Reynolds
8f8b50ecfe adjust_apache.pl: fixes GetOpt arguments to behave better under F24 and earlier
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-04-05 17:02:48 -07:00
lanforge
56aaff06dd Download test initial commit
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 15:28:48 -07:00
lanforge
8e870862d9 Allow a user to gather data from only select variables
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 12:38:15 -07:00
lanforge
430c5b2ad0 Create influx.py in py-json and import it into recordinflux.py
Signed-off-by: lanforge <stidmatt@gmail.com>
2021-04-05 12:18:40 -07:00
Chuck SmileyRekiere
575840d33f initial commit: lf_ftp_test.py ftp_html.py (using current reporting)
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-03 11:03:02 -06:00
Matthew Stidham
f0b6e497ec Create influx recording script
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-04-02 17:14:19 -07:00
Chuck SmileyRekiere
62e77a0e9c gen_cxprofile.py : removed comments
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-01 16:13:50 -06:00