Commit Graph

225 Commits

Author SHA1 Message Date
Scott Wedge
0edc02687b smw_lf_rvr_test.py: fix imports, make script able to run
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:45:49 +05:30
Scott Wedge
0cccb50ba9 smw_lf_rvr_test.py: original script state from Netgear
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:45:49 +05:30
Scott Wedge
0296214b02 smw_lf_throughput.py: import updates, add logger, and beginning fixes
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:45:49 +05:30
Scott Wedge
c7a7460f82 smw_lf_throughput.py: original script from Netgear repo
Signed-off-by: Scott Wedge <scott.wedge@candelatech.com>
2022-07-12 15:45:49 +05:30
Chuck SmileyRekiere
57f8a83020 lf_logger_config_test.py : removed spacing from simple logger format, added filename
lf_logger_config_test.py : updated to show example of using lf_logger_config.json one directy up
lf_logger_config.json , lf_logger_config_example.json : updated with simple format

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:45:45 +05:30
Chuck SmileyRekiere
02dd8e41d5 sandbox/lf_logger_config_example.json : multiple loggers in one module test
sandbox/lf_sublogger_2.py : testing multiple loggers

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:45:45 +05:30
Chuck SmileyRekiere
0c9215abb5 lf_logger_config_example.json : sandbox example for using logging config
lf_logger_config_test.py : example program
lf_sublogger.py : included module sample
lf_sublogger_2.py : included an inherited module same.

This code is for becomming familiar with the logging module
2022-07-12 15:45:45 +05:30
Chuck SmileyRekiere
d44d60b7b1 test_l3.py : moved to scripts, some initial testing done.
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:44:27 +05:30
Chuck SmileyRekiere
fcff0141d8 test_l3.py : ap references left that were removed
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:44:27 +05:30
Chuck SmileyRekiere
67e7812c44 test_l3.py : initial commit separating out AP calls for ap interface file
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:44:27 +05:30
Chuck SmileyRekiere
d9ac9f35b7 lf_dut_sta_vap_test.py : uses bokeh , nolonger supported
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:44:27 +05:30
shivamcandela
0df163cf90 Merge ../lanforge-scripts 2021-12-15 23:33:41 +05:30
Chuck SmileyRekiere
522e1a6216 move py-script/README.md py-scripts/sandbox/README.md updating README.md
to be one page.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-12-13 11:16:55 -07:00
shivamcandela
7134c3a8b7 fixed merge conflicts
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-12-13 13:01:01 +05:30
Matthew Stidham
45ff9caade logger_example_1: Proper spacing
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-22 16:27:15 -08:00
Matthew Stidham
2c57e3e7b7 logger_example_1.py: Initial commit
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-22 16:26:38 -08:00
Matthew Stidham
211bede219 logger_example: basicConfig is required
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-22 15:53:57 -08:00
Matthew Stidham
d89adcc6e1 logger_example.py: Initial commit
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-18 17:08:01 -08:00
Matthew Stidham
6a9ee4cb00 test_l3_longevity_beta: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:05:42 -08:00
Matthew Stidham
cf8a5f8d83 monitor_rvr: remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:05:41 -08:00
Chuck SmileyRekiere
7ab916ed02 layer3_test.py , layer4_test.py moved to sandbox until updated
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-11-11 20:40:39 -07:00
Jed Reynolds
8678a55862 jbr_monitor_bssids.py: checks argument type for a nested list
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-11-08 13:40:53 -08:00
Jed Reynolds
5e7e7e744f jbr_monitor_bssids.py: this timing works better for retrieving events
maybe on APU2 hardware this just takes significantly longer

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-11-04 00:22:49 -07:00
Jed Reynolds
abc422ddf8 jbr_monitor_bssids.py: removes typing subscripts not present in python 3.7.7
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-11-04 00:07:36 -07:00
Jed Reynolds
0ae0c97f95 jbr_monitor_bssids.py: comments out now duplicate options 2021-11-02 16:45:28 -07:00
Jed Reynolds
0327ec1c05 jbr_monitor_bssids.py: work leveraging new logging methods
Includes demonstration using a --debugging= argument to pass in tag:foo and method:methodname
areas to activate debug output

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-29 00:19:33 -07:00
Jed Reynolds
32b17ac342 example fetching and removing connections
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-29 00:19:33 -07:00
Jed Reynolds
c71e93ed75 jbr_monitor_bssids.py: fixes loading logic
- querying for load was happening before load was requested, which was clearly dumb
- incorporates show_events before load, and after every 5 seconds
- sys.settrace() call is experimental, is going to be removed

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-29 00:19:33 -07:00
Jed Reynolds
99a40d32ff jbr_monitor_bssids.py now has logic to load scenario and wait for it to finish loading 2021-10-21 17:47:01 -07:00
Jed Reynolds
5f151bc912 jbr_monitor_bssids: query finds last event ID now, fixes debug 2021-10-21 17:47:01 -07:00
Jed Reynolds
8ff674f1f2 jbr_monitor_bssids.py: WIP attempting to recreate load scenario logic with lanforge_api 2021-10-20 17:38:58 -07:00
Jed Reynolds
86b9f5e28f jbr_monitor_bssids: script for monitoring a L3 connection across a series of APs
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-20 11:46:49 -07:00
Jed Reynolds
92ce5aa54e jbr_create_wanlink.py: adds parameters that were left out when testing to prove lanforge_api warnings
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-19 22:54:52 -07:00
Chuck SmileyRekiere
5237aec5f1 test_l3_longevity.py update for ap_test mode
added test_l3_longevity_beta.py to sandbox for script restructuring.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-18 11:22:58 -06:00
Jed Reynolds
6e91d37afa jbr_create_wanlink.py: uses better type hints and more
- changes docstring quotes
- changes tuples to lists
2021-10-11 17:42:37 -07:00
Jed Reynolds
48626608fd JSON: jbr_create_wanlink.py
Adjusted to importing lanforge_client/lanforge_api.py
Adds another --mgr argument alias
2021-10-11 16:15:53 -07:00
Chuck SmileyRekiere
06beca75aa lf_qa.py removed dash components
1. removed the dash components as there will be a server for displaying
results and
2. copyied lf_qa.py version prior to updates to sandbox/lf_qa_dash.py

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-10-06 08:17:15 -06:00
Jed Reynolds
7e33f05fff monitor_rvr.py created to demonstrate polling the status area at the bottom of a CV report
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-10-01 00:05:35 -07:00
Jed Reynolds
5199851225 example of how to monitor attenuator values for Nasir Makkiya <NMakkiya@sierrawireless.com>
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-09-30 22:03:47 -07:00
Chuck SmileyRekiere
12db2f0fc3 connection_test.py : moved to sandbox
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-28 06:02:53 -06:00
Jed Reynolds
cadd7d581c jbr_create_wanlink.py: many arguments are actually string typed
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-09-28 01:14:15 -07:00
Jed Reynolds
17d4f6d1e2 jbr_create_wanlink.py: adds parameter requiring session creation
Signed-off-by: Jed Reynolds <jed@bitratchet.com>
2021-09-28 01:14:15 -07:00
Jed Reynolds
7d9ab67572 GUI: jbr_create_wanlink.py WIP
rewrote towards updated API

Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-09-28 01:14:15 -07:00
Jed Reynolds
90232ed5ed jbr_create_wanlink.py: testing out wanlink creating using autogen
Signed-off-by: Jed Reynolds <jed@candelatech.com>
2021-09-28 01:14:15 -07:00
Chuck SmileyRekiere
d718160153 download_test.py incomplete script moved to sandbox
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-27 17:52:34 -06:00
Chuck SmileyRekiere
25b04f44d7 lf_ftp_test.py : move to sandbox
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-27 17:46:32 -06:00
Chuck SmileyRekiere
e5f231c679 ftp_html.py moved to sandbox : will be used in the generic port
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-27 17:35:30 -06:00
Chuck SmileyRekiere
ae3df346bb moved html_template.py to sandbox until file reviewed
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-27 17:15:36 -06:00
shivamcandela
874d8d1aa9 merge latest lanforge-scripts repo
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
2021-09-22 18:41:00 +05:30
Chuck SmileyRekiere
e0d8b79094 lf_check.py copyied to /sandbox/lf_check_igg.py to save the work done
for supporting grafana, influx, and ghost.
ct_001_igg.json moved to /sandbox/ct_001_igg.json to have an example
of working with ghost / grafana

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-09-21 06:51:38 -06:00