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
2e5a544afa
Adding functionality to use flags when modifying and creating stations, DUTs, and VAPs
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-08-13 16:56:20 -07:00
Matthew Stidham
fabac8fb1c
Add mode flag to create_station.py
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-06-22 10:46:08 -07:00
Chuck SmileyRekiere
e381babd31
create_station.py: support arg for start id, comment to where common parser is
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-06-18 11:47:57 -06:00
anjali
156adca522
added "enable txo" option
2021-06-07 12:02:38 +05:30
lanforge
56aaff06dd
Download test initial commit
...
Signed-off-by: lanforge <stidmatt@gmail.com >
2021-04-05 15:28:48 -07:00
Matthew Stidham
e1a865f946
Fixing exit_on_error mistakes
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-03-17 16:14:03 -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
318a22746d
Adding parse_time to test_l3_scenario_throughput
...
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com >
2021-02-16 17:01:48 -08:00
Matthew Stidham
f7162411e6
create scripts print when they are finished
2021-02-10 13:25:41 -08:00
Matthew Stidham
1fb560cca6
fix timestamp errors
2021-01-12 14:15:36 -08:00
Matthew Stidham
06d135597b
all create scripts inherit directly from realm
2021-01-07 14:46:53 -08:00
Matthew Stidham
bec53e1574
base scripts for creating lanforge items
2021-01-06 16:53:01 -08:00
Matthew Stidham
4daa7467ba
create station and create vap
2020-12-31 16:45:34 -08:00