Commit Graph

15 Commits

Author SHA1 Message Date
Chuck SmileyRekiere
19117b2ece refactored scripts to use --no_cleanup
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:46:15 +05:30
Ben Greear
9bdb1e5140 create_l4: Improve logging and return codes.
Use base class methods for logging setup, check error codes
for port creation and cx creation.

l4 profile gets TODO note, since it does not verify that cx/endp
are actually created or not.
2022-07-12 15:45:46 +05:30
Chuck SmileyRekiere
24e75a8ab3 create_l4.py : changed prints to logger
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2022-07-12 15:45:45 +05:30
Matthew Stidham
9c42b1ca18 create_l4 autopep8
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-10 12:16:39 -08:00
Matthew Stidham
373fea3b92 Fix whitespace errors in create_l4.py
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-10-11 12:07:48 -07:00
Matthew Stidham
e6cf6b9337 1. Create pandas_extensions.py
2. Remove unused imports

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-21 11:11:04 -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
Matthew Stidham
c03a5051e3 Regression test updates and fixing some issues
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-15 18:46:25 -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
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
f7162411e6 create scripts print when they are finished 2021-02-10 13:25:41 -08:00
Matthew Stidham
be7e94916f Cleaned up Create L4 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