Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix an issue of the topology extraction algorithm entering a endless extraction loop when the controller is not able to reach the nodes #45

Merged
merged 1 commit into from
Jun 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions control_plane/controller/controller/arangodb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ def extract_topo_from_isis_and_load_on_arango(isis_nodes, isisd_pwd,
edges_collection=edges_collection,
verbose=verbose
)
# Period = 0 means a single extraction
if period == 0:
break
# Period = 0 means a single extraction
if period == 0:
break
# Wait 'period' seconds between two extractions
time.sleep(period)