Commit Graph

11 Commits

Author SHA1 Message Date
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
2efbc62842 Revert "Update py_json files to be compatible with pip standards"
This reverts commit 0be47c82de.
2021-09-09 05:32:31 -06:00
Chuck SmileyRekiere
8e9909f2d0 Revert "Revert "Update py_json files to be compatible with pip standards""
This reverts commit 6b0322cafa.
2021-09-09 05:28:17 -06:00
Chuck SmileyRekiere
6b0322cafa Revert "Update py_json files to be compatible with pip standards"
This reverts commit 0be47c82de.
2021-09-09 05:24:20 -06:00
Matthew Stidham
0be47c82de Update py_json files to be compatible with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 16:54:45 -07:00
Jed Reynolds
ca9938acac ws-sta-monitor.py: adds --port switch, fixes --host switch logic, improved indentation 2021-01-20 16:08:52 -08:00
Jed Reynolds
ae9a499c90 ws-sta-monitor: updates regexes and string output to help summary stay terse 2020-02-28 16:03:47 -08:00
Jed Reynolds
da98ff6702 ws-sta-monitor: removed unused list 2020-02-28 14:07:54 -08:00
Jed Reynolds
43026de8f2 ws-sta-monitor: added --host argument 2020-02-28 14:06:12 -08:00
Jed Reynolds
27fa1b66e1 ws-sta-monitor: figuring out regex 2020-02-28 12:22:35 -08:00
Jed Reynolds
96a88742f7 Renames websocket-filter to ws-sta-monitor to reflect goal of script 2020-02-28 09:54:19 -08:00