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
EIGRP: add metric version and plumb throughout #6532
Conversation
Different implementations of EIGRP compute the cost with greater and lesser degrees of precision. Add a setting to each EIGRP process to indicate which cost implementation it uses, and add the classic metric computations for NX-OS.
projects/batfish/src/main/java/org/batfish/dataplane/ibdp/EigrpRoutingProcess.java, line 540 at r4 (raw file):
this seems like a bug, but I'm not sure why it didn't manifest ever. |
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: 0 of 25 files reviewed, 2 unresolved discussions (waiting on @progwriter)
projects/batfish/src/main/java/org/batfish/dataplane/ibdp/EigrpRoutingProcess.java, line 315 at r2 (raw file):
ernalRouteFromNeighbor(
FYI all places we import routes from neighbors we construct our own route rather than using route.toBuilder
, so this was easy to verify.
projects/batfish/src/main/java/org/batfish/dataplane/ibdp/EigrpRoutingProcess.java, line 525 at r3 (raw file):
be sent out to a given neighbor */
please double-check this change.
Codecov Report
@@ Coverage Diff @@
## master #6532 +/- ##
============================================
- Coverage 73.36% 73.35% -0.01%
- Complexity 35616 35619 +3
============================================
Files 2830 2831 +1
Lines 143817 143860 +43
Branches 17377 17383 +6
============================================
+ Hits 105506 105531 +25
- Misses 29954 29960 +6
- Partials 8357 8369 +12 |
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 24 of 26 files at r1, 1 of 1 files at r4.
Reviewable status: complete! all files reviewed, all discussions resolved
projects/batfish/src/main/java/org/batfish/dataplane/ibdp/EigrpRoutingProcess.java, line 540 at r4 (raw file):
Previously, dhalperi (Dan Halperin) wrote…
builder, _process, Direction.OUT);
this seems like a bug, but I'm not sure why it didn't manifest ever.
we didn't use any sets in per-interface filters, but definitely a bug
Different implementations of EIGRP compute the cost with greater and lesser
degrees of precision. Add a setting to each EIGRP process to indicate which
cost implementation it uses, and add the classic metric computations for NX-OS.