Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Stidham
ea79a485e0 test_l3_unicast_traffic_gen: Cleanup whitespace
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-29 14:53:18 -08:00
Matthew Stidham
a7274caa6f test_l3_unicast_traffic_gen: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
2021-11-16 11:05:42 -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
0bd7f8a10f test_l3_scenario_throughput.py test_l3_unicatst_traffic_gen.py : deprecated _halt_on_error
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
2021-04-22 14:47:06 -06:00
Dipti
5f81bdabb7 debug output, self.debug statements, better help 2020-12-15 13:04:57 -08: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
Chuck SmileyRekiere
2070f483b8 changed timing waiting for IP 2020-08-05 06:45:36 -06:00
Chuck SmileyRekiere
8e585a64cc initial check in of test_l3_unicast_traffic_gen.py, try except to remove_all_cx 2020-08-04 16:28:39 -06:00