Fixed a simple but showstopper bug. This script would flush the routes
in every routing table except the main before inserting new ones obtained from tmcc. The problem was that even the interface routes that were added when the interfaces were brought up are flushed. Unfortunately these routes weren't getting added again. The solution is to toggle the interfaces i.e. disabling and re-enabling them again. It has the desired effect of flushing all the routes as well. I'm not sure how things worked until now. In all my previous mappings of the testbed/nse10 straight-line topology, things mysteriously worked!
Showing with 5 additions and 6 deletions