-
Notifications
You must be signed in to change notification settings - Fork 3.4k
bgpv2: relax mandatory PeerASN field in BGP peer configuration #35817
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
Conversation
Commit d1192e6 does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
d1192e6
to
3e0009c
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.
I think we should fix the comment for PeerASN
a bit, otherwise LGTM
3e0009c
to
c3567ca
Compare
c3567ca
to
8a4cd12
Compare
/test |
Users can decide to omit PeerASN field, in which case underlying implementation will not do ASN validation and set peer ASN based on BGP OPEN message from the peer. Peering will be established and runtime state like BGP CLI or CiliumBGPNodeConfig CRD status will reflect peer ASN. Signed-off-by: harsimran pabla <hpabla@isovalent.com>
8a4cd12
to
b01b0c5
Compare
/test |
Users can decide to omit PeerASN field, in which case underlying implementation will not do ASN validation in BGP OPEN state. Once peering is established and runtime state like BGP CLI or CiliumBGPNodeConfig CRD status will reflect peer ASN.
Now if user does not specify PeerASN, 0 will be passed to Cilium BGP Control Plane.