From eff5a6bb702ed0b8de05c93d9a49f17d5b1440a8 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Tue, 9 Jan 2024 13:43:25 -0600 Subject: [PATCH] Use topology_map, not topology_list --- swagger_server/controllers/connection_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swagger_server/controllers/connection_controller.py b/swagger_server/controllers/connection_controller.py index 233f0a5e..91bcd078 100644 --- a/swagger_server/controllers/connection_controller.py +++ b/swagger_server/controllers/connection_controller.py @@ -128,7 +128,7 @@ def place_connection(body): logger.debug(f"Adding #{i} topology {curr_topo_json.get('id')} to TEManager") temanager.add_topology(curr_topo_json) - for num, val in enumerate(temanager.topology_manager.topology_list): + for num, val in enumerate(temanager.topology_manager.topology_map.values()): logger.info(f"TE topology #{num}: {val}") graph = temanager.generate_graph_te()