Skip to content

Commit

Permalink
Use accessor to get topology map
Browse files Browse the repository at this point in the history
  • Loading branch information
sajith committed Jan 11, 2024
1 parent 7c2035e commit c8b3ba3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions swagger_server/handlers/connection_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c8b3ba3

Please sign in to comment.