Commit Graph

11 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
Matthew Stidham
ba88468f8c create_bond: Move noclean to lfclibase
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2022-07-12 15:45:45 +05:30
Ben Greear
b774389d54 remove create_bond_and_station logic.
It makes no sense at all to pair a station and a bridge.
Remove the combined test in regression script.

Add option to not clean up bridge and bond interfaces.
Improve bridge and bond to handle multiple resources
(hopefully, that part is not tested)

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:45:45 +05:30
Ben Greear
9a63700d99 create_bond: Inherit from realm, add pass/fail.
Test that bond went admin up.  And that it could be
deleted again.

Change to use logger.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2022-07-12 15:45:45 +05:30
Matthew Stidham
7e84e3b790 create_bond autopep8
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-10 15:00:33 -08: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
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
743b5f56c9 Revert "Update py_scripts to be in line with pip standards"
This reverts commit 37df48594e.
2021-09-09 05:32:05 -06:00
Matthew Stidham
37df48594e Update py_scripts to be in line with pip standards
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-09-08 16:57:10 -07:00
Logan Lipke
c304069124 Created script like create_bridge for creating bonds 2021-03-12 16:37:31 -08:00