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
bgpv1: Reset BGP session in UpdateNeighbor if necessary #25827
Conversation
a423cd4
to
30517d3
Compare
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.
LGTM 👍 Thanks!
30517d3
to
45d2156
Compare
/test |
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.
LGTM.
45d2156
to
4f91a9e
Compare
/test |
As Cilium's user-facing API based on CRDs is intent-based, this PR ensures that updated BGP peer configuration is always applied also on existing BGP sessions immediately, even if it requires a session reset. If the underlying BGP implementation (GoBGP at the moment) does not reset the session for particular configuration items automatically, we enforce the session reset explicitly. Signed-off-by: Rastislav Szabo <rastislav.szabo@isovalent.com>
|
4f91a9e
to
2db93c1
Compare
/test |
All checks passing and reviews are in. Ready to merge. |
As Cilium's user-facing API based on CRDs is intent-based, this PR ensures that updated BGP peer configuration is always applied also on existing BGP sessions immediately, even if it requires a session reset. If the underlying BGP implementation (GoBGP at the moment) does not reset the session for particular configuration items automatically, we enforce the session reset explicitly.
For example, changing
HoldTime
for a peer will cause the followingNOTIFICATION
message:Followed by a session re-establishment and the new timer interval exchanged in the
OPEN
message: