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
erinnerim
1d7578251c
Updates to import statements:
...
- Import importlib, os, and sys to each python script.
- Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
- All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
Chuck SmileyRekiere
e41dd523fb
***.json files moved older .json to the sandbox,
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-09-01 12:07:31 -06:00
Matthew Stidham
1f33bdf2fa
Add json file changes
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-08-30 12:22:22 -07:00
Jed Reynolds
ed18428414
jbr_jag_test.py: updates usage example
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-17 15:47:45 -07:00
Jed Reynolds
b1ac042179
jbr_jag_test.py: incorporates attempting to use a station profile in test
...
StationProfile does not have sufficient logic to put LFJsonGet or LFJsonPost yet
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-17 15:45:23 -07:00
Jed Reynolds
26b550f2d0
jbr_jag_test.py: tests combination of setting and clearing port flags
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-16 13:07:30 -07:00
Jed Reynolds
19f12820f8
jbr_jag_test.py: more exception handling
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-16 12:00:58 -07:00
Jed Reynolds
e45459dbf2
jbr_jag_test.py: testing setting flags and clearing flags by string name and by enum reference
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-13 17:52:50 -07:00
Jed Reynolds
283aa8246d
jbr_jag_test.py: testing out new flag methods
...
Signed-off-by: Jed Reynolds <jed@candelatech.com >
2021-08-13 17:52:50 -07:00
Chuck SmileyRekiere
7a3ec03bbf
moved lf_qa.py from sandbox to tools
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-13 05:52:02 -06:00
Chuck SmileyRekiere
ac160b19ab
lf_qa.py cosmetic updates, white space removal deleted older comments
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-08-12 14:34:36 -06:00