-
Notifications
You must be signed in to change notification settings - Fork 2
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: router id insufficient discriminator for route-refresh stale marking #241
Comments
This discriminator should be something specific to the BGP session, since that should have a 1:1 mapping to a configured peer. |
BGP-ID is insufficient to distinguish between BGP sessions, as it's perfectly valid/reasonable to have multiple sessions to the same peer. Or an operator can (incorrectly or otherwise) assign the same BGP-ID to multiple routers. This ensures that Session-A to Peer-A going down does not impact Session-B to Peer-A. Fixes: #241 Signed-off-by: Trey Aspelund <[email protected]>
BGP-ID is insufficient to distinguish between BGP sessions, as it's perfectly valid/reasonable to have multiple sessions to the same peer. Or an operator can (incorrectly or otherwise) assign the same BGP-ID to multiple routers. This ensures that Session-A to Peer-A going down does not impact Session-B to Peer-A. Fixes: #241 Signed-off-by: Trey Aspelund <[email protected]>
This is a follow up for this review comment
We need to mark routes as stale for route refresh based on session, not on router id, as we may have multiple sessions with a single router and thus single router id.
The text was updated successfully, but these errors were encountered: