Skip to content

Conversation

harsimran-pabla
Copy link
Contributor

@harsimran-pabla harsimran-pabla commented Nov 6, 2024

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.

@harsimran-pabla harsimran-pabla added release-note/misc This PR makes changes that have no direct user impact. area/bgp Impacts the Border Gateway Protocol feature. labels Nov 6, 2024
@maintainer-s-little-helper
Copy link

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

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Nov 6, 2024
@harsimran-pabla harsimran-pabla force-pushed the hpabla/bgpv2/relax-peer-asn branch from d1192e6 to 3e0009c Compare November 6, 2024 18:33
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-sign-off The author needs to add signoff to their commits before merge. label Nov 6, 2024
@harsimran-pabla harsimran-pabla marked this pull request as ready for review November 6, 2024 18:35
@harsimran-pabla harsimran-pabla requested review from a team as code owners November 6, 2024 18:35
Copy link
Contributor

@rastislavs rastislavs left a 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

@harsimran-pabla harsimran-pabla force-pushed the hpabla/bgpv2/relax-peer-asn branch from 3e0009c to c3567ca Compare November 6, 2024 21:08
@harsimran-pabla harsimran-pabla force-pushed the hpabla/bgpv2/relax-peer-asn branch from c3567ca to 8a4cd12 Compare November 7, 2024 14:15
@harsimran-pabla
Copy link
Contributor Author

/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>
@harsimran-pabla harsimran-pabla force-pushed the hpabla/bgpv2/relax-peer-asn branch from 8a4cd12 to b01b0c5 Compare November 12, 2024 16:15
@harsimran-pabla
Copy link
Contributor Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 13, 2024
@aanm aanm added this pull request to the merge queue Nov 14, 2024
Merged via the queue into cilium:main with commit 34fef5b Nov 14, 2024
63 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bgp Impacts the Border Gateway Protocol feature. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants