kytos-ng / pathfinder

Kytos main path finder Network Application (NApp)
https://kytos-ng.github.io/api/pathfinder.html
MIT License
0 stars 7 forks source link

[Fix] graph node `status` wasn't being considered when adding nodes #11

Closed viniarck closed 2 years ago

viniarck commented 2 years ago

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 adapted update_links in the same way.

Changed