Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improves route control script (#710)
* Initial modifications * General improvements of route_control.py script Breaks it into classes Adds type hints and docstrings Adds error handling Adds logging * Removes comments * Adds initial unit tests * Adding more tests * Fixes styling and adds new tests Adds new test cases Fixes lint and static issues * Adds github workflow file * Addresses review comments Renames constants Small changes in the design Extracts arg parsing * Adds new test cases * Addresses review comments Moves and renames constatns * Updates unit tests to follow latest changes * Improves logging * Addresses review comments Makes some variables private Fixes typo in py-workflow.yml * Adds licensing * Minor fixes Fixes test location in workflow file Fixes licensing * Uses correct path to import and patch route_control * Addresses review comments Fixes mac_to_hex function Removes unnecessary int conversion * Addresses review comments, fixes tests Removes patches of private functions Uses MAX_GATES-1 as gate index for default routes * Fixes gate_idx computation when adding a new neighbor --------- Co-authored-by: gab-arrobo <gabriel.arrobo@intel.com>
- Loading branch information