-
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
BGP: handle implicit confederation membership #4990
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4990 +/- ##
============================================
+ Coverage 76.63% 76.63% +<.01%
- Complexity 29971 29972 +1
============================================
Files 2393 2393
Lines 115500 115510 +10
Branches 13645 13651 +6
============================================
+ Hits 88508 88517 +9
- Misses 20287 20288 +1
Partials 6705 6705
|
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.
+reviewer:@corinaminer -reviewer:@progwriter
Reviewable status: 0 of 2 files reviewed, all discussions resolved (waiting on @corinaminer)
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 2 files at r1, 1 of 1 files at r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @sfraint)
projects/batfish-common-protocol/src/test/java/org/batfish/datamodel/bgp/BgpTopologyUtilsTest.java, line 407 at r2 (raw file):
// Initiator implicitly matches listener confed, but remote ASNs doesn't overlap local AS assertPair(1L, null, LongSpace.of(2L), 1L, 3L, LongSpace.of(1L), null); assertPair(1L, null, LongSpace.of(1L), 1L, 3L, LongSpace.of(2L), null);
Only need half of these tests because assertPair tests both ways (swaps initiator and listener).
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
Handle case where one BGP peer is implicitly in a confederation with its peer.