Commit Graph

13 Commits

Author SHA1 Message Date
Matthew Stidham
ed7d716462 test_l3_WAN_LAN: static method was not static
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-24 16:28:13 -08:00
Matthew Stidham
d92d6f8e84 test_l3_WAN_LAN: Fix whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-24 16:27:51 -08: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
Chuck SmileyRekiere
84951290a1 deprecated halt_on_error 2021-04-22 14:51:09 -06:00
Dipti
6b829584bc more arg fixes 2020-10-30 13:50:19 -07:00
Dipti
68121692c0 parameter fixes 2020-10-30 13:41:59 -07:00
Logan Lipke
148aa6030c Script for testing WAN-LAN traffic, WIP 2020-09-10 17:00:06 -07:00
Dipti
737c752e91 WIP- WAN to LAN build function added 2020-08-13 10:59:28 -07:00
Ben Greear
960b87b61f python: flex-longevity, library cleanup.
Remove use of 'resource' where possible, use port EIDs instead for
multi-resource flexibility.

Remove some spurious 'sleep' calls.  If you think you need to sleep
2 seconds, you are probably facing a real race bug, so diagnose that
instead or put big comments around why you added a sleep.

Lots of changes to flex longevity, hopefully it can support multiple
connection types now, but not tested that yet.

Signed-off-by: Ben Greear<greearb@candelatech.com>
2020-08-05 13:13:24 -07:00
Dipti Dhond
01e574b2fc baseline for WAN to LAN l3 traffic test - WIP 2020-07-31 16:07:55 -07:00