-
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
IOS: bgp route-maps that are undefined deny all #6523
Conversation
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 10 files reviewed, 1 unresolved discussion (waiting on @corinaminer, @dhalperi, @progwriter, and @sfraint)
a discussion (no related file):
Self-merge only, since it's going to affect downstream repos and I need to prep fixups.
networks/example/candidate/configs/as2core2.cfg, line 110 at r1 (raw file):
neighbor as3 peer-group neighbor as3 route-map filter-bogons in
FYI. To not change the behavior in the example network, I created an unused peer-group and put the undefined reference there.
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 10 of 10 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dhalperi, @progwriter, and @sfraint)
networks/example/candidate/configs/as2core2.cfg, line 110 at r1 (raw file):
Previously, dhalperi (Dan Halperin) wrote…
neighbor as3 peer-group neighbor as3 route-map filter-bogons in
FYI. To not change the behavior in the example network, I created an unused peer-group and put the undefined reference there.
to be clear -- you mean to preserve the routing behavior? i assume the undefined route-map still counts as an undefined reference, right?
projects/batfish/src/main/java/org/batfish/representation/cisco/CiscoConversions.java, line 393 at r1 (raw file):
} if (outboundRouteMapName != null) { peerExportConjuncts.add(new CallExpr(routeMapOrRejectAll(outboundRouteMapName, c)));
fyi: Wondering if it'd be more efficient if we put the common export policy as the last thing in the peer export conjuncts. Route map seems more likely to exclude more routes faster.
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 (waiting on @progwriter and @sfraint)
networks/example/candidate/configs/as2core2.cfg, line 110 at r1 (raw file):
Previously, corinaminer (Corina Miner) wrote…
to be clear -- you mean to preserve the routing behavior? i assume the undefined route-map still counts as an undefined reference, right?
Yes.
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 2 files at r2.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @progwriter and @sfraint)
Codecov Report
@@ Coverage Diff @@
## master #6523 +/- ##
============================================
- Coverage 73.36% 73.35% -0.02%
+ Complexity 35602 35594 -8
============================================
Files 2830 2830
Lines 143741 143754 +13
Branches 17365 17366 +1
============================================
- Hits 105453 105447 -6
- Misses 29941 29952 +11
- Partials 8347 8355 +8 |
No description provided.