Commit Graph

770 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Chuck SmileyRekiere
2d7255b971 NETGear : gen_cxprofile.py : added parse_command_gen and create_gen
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-31 11:18:35 -06:00
Chuck SmileyRekiere
e0f745c796 l3_cxprofile2.py : added create_cx , Netgear specific
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-31 08:00:11 -06:00
Chuck SmileyRekiere
9fdcd953ab NETGEAR: multicast_profile.py : removed hard coded values
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-03-31 07:27:06 -06:00
Chuck SmileyRekiere
6f4c9da351 NETGEAR: http_profile.py : updated for upload 2021-03-31 06:41:06 -06:00
anjali
944992b33a changes in iperf cmd 2021-03-20 15:25:02 +05:30
Logan Lipke
8bddd36eb4 Updated realm methods 2021-03-19 17:57:44 -07:00
Matthew Stidham
67fc65486e do not extend column names if port_MGR_COLS
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:30:22 -07:00
Matthew Stidham
cf593ed4f4 Improved Port manager monitoring functionality
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:28:03 -07:00
Matthew Stidham
8f0ebf3637 Simpler csv writing application and pushing system information to a text file
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-19 13:17:04 -07:00
Matthew Stidham
3574f94987 remove halt_on_error from qvlan_profile
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 19:10:26 -07:00
Matthew Stidham
6166a9cc72 Fix fileio and qvlan errors
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 18:32:25 -07:00
Matthew Stidham
e4cd74190a Fix halt_on_error mistakes
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 16:50:12 -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
Matthew Stidham
3cc6bf099a Remove halt_on_error from realm
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 14:28:11 -07:00
Matthew Stidham
519cd785cb Remove halt on error from all inheritors of realm
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-17 14:26:06 -07:00
anjali
76cf62b747 Add Netgear Clickthru captive portal and Iperf Task 2021-03-17 05:14:07 +05:30
Matthew Stidham
768e3ec2cb Fix typo
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
2021-03-16 14:40:57 -07:00