Skip to content
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: set correct upper limits to BPG timers and GR restart time #26534

Merged
merged 2 commits into from Jul 5, 2023

Conversation

harsimran-pabla
Copy link
Contributor

@harsimran-pabla harsimran-pabla commented Jun 28, 2023

BGP holdtime is 16 bits unsigned int and GR restart time is 12 bits.
This limit is set in cilium BGP CRDs to validate configuration at the API layer.

@harsimran-pabla harsimran-pabla added release-note/misc This PR makes changes that have no direct user impact. area/bgp labels Jun 28, 2023
@rastislavs rastislavs added the kind/enhancement This would improve or streamline existing functionality. label Jun 29, 2023
harsimran-pabla and others added 2 commits June 29, 2023 15:43
BGP holdtime is 16bits unsigned int and GR restart time is 12bits.
Setting this limit in cilium BGP CRDs, so configuration can validated
at the API layer.

Signed-off-by: harsimran pabla <hpabla@isovalent.com>
ConnectRetryTime is not negotiated with the peer and therefore
there is no strict protocol limit for it. Internally, GoBGP
uses int type to manage this timeout.

Signed-off-by: Rastislav Szabo <rastislav.szabo@isovalent.com>
@rastislavs rastislavs marked this pull request as ready for review June 29, 2023 14:09
@rastislavs rastislavs requested a review from a team as a code owner June 29, 2023 14:09
@rastislavs rastislavs requested a review from squeed June 29, 2023 14:09
@rastislavs
Copy link
Contributor

/test

@borkmann
Copy link
Member

should this be marked for 1.14 backport?

@rastislavs rastislavs added the backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. label Jun 30, 2023
@rastislavs
Copy link
Contributor

should this be marked for 1.14 backport?

I think it makes sense, as this enhances validation of the CRD fields that will be first released in 1.14 - I just marked it.
cc @YutaroHayakawa

@joamaki joamaki added needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch and removed backport/1.14 This PR represents a backport for Cilium 1.14.x of a PR that was merged to main. labels Jul 4, 2023
@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 Jul 4, 2023
@borkmann borkmann merged commit c4dc46c into cilium:main Jul 5, 2023
65 checks passed
@joamaki joamaki mentioned this pull request Jul 5, 2023
23 tasks
@joamaki joamaki added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Jul 5, 2023
@jibi jibi added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. labels Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bgp backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. kind/enhancement This would improve or streamline existing functionality. 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.

None yet

7 participants