-
Notifications
You must be signed in to change notification settings - Fork 229
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
diff reachability: only use start locations present and active in both snapshots #5236
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5236 +/- ##
============================================
- Coverage 73.33% 73.33% -0.01%
+ Complexity 31834 31829 -5
============================================
Files 2610 2610
Lines 128396 128411 +15
Branches 15423 15424 +1
============================================
+ Hits 94163 94168 +5
- Misses 26794 26804 +10
Partials 7439 7439
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 3 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @anothermattbrown)
projects/question/src/main/java/org/batfish/question/differentialreachability/DifferentialReachabilityAnswerer.java, line 74 at r2 (raw file):
// requiredTransitNodes can be different in each snapshot. flow must transit any one Set<String> requiredTransitNodes = Sets.union(
I would have assumed this has to be intersection. must transit same node(s) in both snapshots?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @progwriter)
projects/question/src/main/java/org/batfish/question/differentialreachability/DifferentialReachabilityAnswerer.java, line 74 at r2 (raw file):
Previously, progwriter (Victor Heorhiadi) wrote…
I would have assumed this has to be intersection. must transit same node(s) in both snapshots?
semantics of required transit nodes is that any (i.e. one) of the specified nodes must be transited. we do not enforce that the transited node (can) be the same in both snapshots
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved
projects/question/src/main/java/org/batfish/question/differentialreachability/DifferentialReachabilityAnswerer.java, line 74 at r2 (raw file):
Previously, anothermattbrown (Matt Brown) wrote…
semantics of required transit nodes is that any (i.e. one) of the specified nodes must be transited. we do not enforce that the transited node (can) be the same in both snapshots
seem counterintuitive but ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved
projects/question/src/main/java/org/batfish/question/differentialreachability/DifferentialReachabilityAnswerer.java, line 74 at r2 (raw file):
Previously, progwriter (Victor Heorhiadi) wrote…
seem counterintuitive but ok
yeah we could do much more powerful waypointing. probably will some day 😉
No description provided.