It turns out that update_nodes wasn't considering the status of the node, so it was adding nodes that could be down or even disabled, I've also adapted update_links in the same way.
Changed
Adapted update_nodes to only add if node.status is EntityStatus.UP
Adapted update_links to only add if link.status is EntityStatus.UP
Fixes #10
This PR depends on
topology PR 50
Description of the change
It turns out that
update_nodes
wasn't considering the status of the node, so it was adding nodes that could be down or even disabled, I've also adaptedupdate_links
in the same way.Changed
update_nodes
to only add if node.status isEntityStatus.UP
update_links
to only add if link.status isEntityStatus.UP