Commit Graph

9 Commits

Author SHA1 Message Date
Matthew Stidham
c3c4d965ce create_macvlan autopep8
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-10 12:16:39 -08:00
Matthew Stidham
03602df37d Fix mutable argument in create_macvlan, and also require the user to define a macvlan parent
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-11 12:20:06 -07:00
Matthew Stidham
dcf4be6cd3 Fix white space errors in create_macvlan.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-11 12:19:39 -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
f7162411e6 create scripts print when they are finished 2021-02-10 13:25:41 -08:00
Matthew Stidham
29353588ea html test output 2021-01-27 17:15:20 -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