adapted getRoutingTables.py for view in webpage