Skip to content

Commit

Permalink
Use topology_map, not topology_list
Browse files Browse the repository at this point in the history
  • Loading branch information
sajith committed Jan 9, 2024
1 parent d681274 commit eff5a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger_server/controllers/connection_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eff5a6b

Please sign in to comment.