68fdccb30b
This patch moves the addition of network options into the Ruby module to avoid the regressions all having to add it explicitly. Doing this exposes an issue in our current config system though, namely the fact that addtoPath is relative to the Python script being executed. Since both example and regression scripts use the Ruby module we would end up with two different (relative) paths being added. Instead we take a first step at turning the config modules into Python packages, simply by adding a __init__.py in the configs/ruby, configs/topologies and configs/network subdirectories. As a result, we can now add the top-level configs directory to the Python search path, and then use the package names in the various modules. The example scripts are also updated, and the messy path-deducing variations in the scripts are unified. |
||
---|---|---|
.. | ||
__init__.py | ||
BaseTopology.py | ||
Cluster.py | ||
Crossbar.py | ||
CrossbarGarnet.py | ||
Mesh_westfirst.py | ||
Mesh_XY.py | ||
MeshDirCorners_XY.py | ||
Pt2Pt.py |