Commit Graph

12 Commits

Author SHA1 Message Date
Matthew Stidham
c996c90845 Update port_probe and files which depend on it. Add vht and ht calculators
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-19 10:36:24 -07:00
Matthew Stidham
2f4dfaea14 Create port_probe.py and update l3_cxprofile and test_ip_variable_time so that they can use port_probe.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-14 13:47:37 -07:00
Matthew Stidham
43bbf8251b Fixing mutable values in init
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-12 11:32:36 -07:00
Matthew Stidham
65808d21fa 1. Fix circular import error in LFRequest
2. add import re to lfcli_base
3. add debug output to l3_cxprofile, so it is how it used to be
4. add help options to regression_test so we can test how the help flags are working
5. Make test_ip_variable_time work better when it is imported directly by moving most of the logic to a function under IPVariableTime
6. Add init.py file to the LANforge directory and fix archiving in the to_pip.py script

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-23 14:37:53 -07:00
Matthew Stidham
36400e003d Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-17 15:29:15 -07: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
Matthew Stidham
fe861156cc Refactoring code so that it refers to the new RecordInflux script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-01 10:42:14 -07:00
Matthew Stidham
7e3575b481 Removing LFClibase from influx2 script
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-07-08 11:47:17 -07:00
Chuck SmileyRekiere
c43820da3f test_ip_variable_time.py : changed permissions
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-06-30 06:12:37 -06:00
Logan Lipke
463e6639ab Changed cleanup and pre-cleanup methods 2021-06-17 16:12:54 -07:00
Logan Lipke
b05b2d93b0 Edited docstring to clarify scripts replaced by this script 2021-06-17 14:34:18 -07:00
Logan Lipke
83f1764f82 Created script to replace functionality of test_ipv4_variable_time.py and test_ipv6_variable_time.py, Commit 1 of 2 2021-06-17 14:30:37 -07:00