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
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
1264598187
changed arguments for create_test_config
...
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com >
2021-04-12 17:04:12 +05:30
SushantBawiskar
bdf8d06fe2
changed import for chamberview
...
Signed-off-by: SushantBawiskar <sushant.bawiskar@candelatech.com >
2021-04-12 16:50:45 +05:30
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
66512b463c
Merge branch 'master' of github.com:greearb/lanforge-scripts
2021-04-09 15:17:40 -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
Jed Reynolds
b37c3e8553
check_large_files: multiple improvements:
...
- adds remove() function to clean up arrays
- stops checking for core files twice
- stops reporting previous survey size of core files after they have been removed
- check disk space
- removes core files only if disk space is below 5GB free
- adds cronjob instructions
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-04-09 14:25:29 -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
f5871607af
l3-profile: Fix clearing lists.
...
Forgot a self. prefix for variable, so it didn't actually do anything.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-09 11:55:57 -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
402025c774
Merge branch 'master' of github.com:greearb/lanforge-scripts
2021-04-09 06:36:04 -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
Chuck SmileyRekiere
3d6ebb292e
http_profile.py: http_ip passed in on create
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-09 04:56:16 -06: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