[Fix] undesired_links (logical OR) and desired_links (logical AND) filters #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR supersedes PR #28 (it also fixes issue 29)
Fixes #20 #27 #29
undesired_links
(logical OR) anddesired_links
filters (logical AND)kytos/topology.topology_loaded
as well to be more promptly responsiveI've explored it locally with the same topology that Italo has initially reported the issue and same request, here's a diff of the response:
master
branch you'd find theundesired_links
included:I've also re-run the same example of issue #27, no longer duplicated paths are being seeing in the response, and
desired_links
now can be used to narrow down a set of links in the path. In the future, we might also have the logical expression being parametrized.