-
Notifications
You must be signed in to change notification settings - Fork 228
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
ISP modeling: Support Border-ISP peering over unnumbered #5641
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5641 +/- ##
============================================
- Coverage 73.77% 73.77% -0.01%
- Complexity 32887 32889 +2
============================================
Files 2667 2667
Lines 131605 131603 -2
Branches 15693 15699 +6
============================================
- Hits 97093 97088 -5
- Misses 26845 26851 +6
+ Partials 7667 7664 -3
|
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 6 of 6 files at r1.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @ratulm)
projects/batfish-common-protocol/src/main/java/org/batfish/common/util/IspModel.java, line 36 at r1 (raw file):
String remoteHostname, String remoteIfaceName, InterfaceAddress ispIfaceAdddress,
- typo in field name/setters/params
projects/batfish-common-protocol/src/main/java/org/batfish/common/util/IspModelingUtils.java, line 701 at r1 (raw file):
*/ @VisibleForTesting static BgpPeerConfig.Builder<?, ?> getBgpPeerOnIsp(
why is return type a builder now? Seems like a recipe for callers to mess up the configuration.
projects/batfish-common-protocol/src/test/java/org/batfish/common/util/IspModelingUtilsTest.java, line 322 at r1 (raw file):
hasActiveNeighbor( Prefix.parse("1.1.1.1/32"), allOf(hasRemoteAs(2L), hasLocalAs(1L))))))));
what happened with the AS flip here?
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/batfish-common-protocol/src/test/java/org/batfish/common/util/IspModelingUtilsTest.java, line 322 at r1 (raw file):
Previously, progwriter (Victor Heorhiadi) wrote…
what happened with the AS flip here?
Earlier we caching the reverse config in IspModel and then cloning when creating the node. Now, we are storing the border config in IspModel and reversing it when creating the node. This reversal led to this flip.
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 3 of 3 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
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 1 of 1 files at r3.
Reviewable status: complete! all files reviewed, all discussions resolved
And move the AWS border (IGW) to this version.