diff --git a/swagger_server/handlers/connection_handler.py b/swagger_server/handlers/connection_handler.py index b2117ec3..25032578 100644 --- a/swagger_server/handlers/connection_handler.py +++ b/swagger_server/handlers/connection_handler.py @@ -133,9 +133,7 @@ def place_connection(self, connection_request: dict) -> Tuple[str, int]: ) temanager.add_topology(curr_topo_json) - # TODO: using a private variable here -- pce should have a - # getter. - for num, val in enumerate(temanager.topology_manager._topology_map.values()): + for num, val in enumerate(temanager.get_topology_map().values()): logger.info(f"TE topology #{num}: {val}") graph = temanager.generate_graph_te()