-
Notifications
You must be signed in to change notification settings - Fork 3.4k
improvements for bgp router ID ip pool #40340
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
improvements for bgp router ID ip pool #40340
Conversation
5d25e62
to
b766126
Compare
/test |
@yushoyamaguchi would you be interested to review the content here? I saw you raised this discussion topic on #38300. |
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.
Couple of comments from @cilium/docs-structure perspective to ensure consistency with docs style.
Documentation/network/bgp-control-plane/bgp-control-plane-v2.rst
Outdated
Show resolved
Hide resolved
Documentation/network/bgp-control-plane/bgp-control-plane-v2.rst
Outdated
Show resolved
Hide resolved
Documentation/network/bgp-control-plane/bgp-control-plane-v2.rst
Outdated
Show resolved
Hide resolved
@joestringer |
I have found some issues with my orginal PR in the test while adding the test in this PR. I will put this back in draft. |
41db7c5
to
476a1a0
Compare
/test |
476a1a0
to
4f81484
Compare
/test |
f19b22c
to
6229d78
Compare
/test |
👋 I see the release note is currently:
However, this seems a bit vague for users and includes unnecessary details. What is changing about the router ID override logic? I would also not mention unit tests or docs if this is making a behavior change (all behavioral changes should be accompanied by unit tests and docs, so the user doesn't need to read this release note to know about those changes). |
One more comment, I think it may be worth while to split the PR into two PRs - one for docs that we backport to |
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 now we're in a good shape. Thanks for your patience. We still have a code clarity issue I raised in this comment, but the logic looks correct to me now, so I won't block this PR further.
/test |
I totally understand it. I will push another commit to move the restore the logic. the previous comment was trying to see if there is anything that I need to change for my overall logcis besides moving restore the logic to another place |
e78cef6
to
a7ef800
Compare
I have the following changes in my latest commits
Please let me know if you have any more questions. Thanks for review |
/test |
This is the follow up PR of cilium#38300 where I didn't upadte the docs after implementing the feature Signed-off-by: Liyi Huang <liyi.huang@isovalent.com>
This commit is to fix my previous unit test of using incorrect return with EventuallyWithT and other errors in previous test codes. Signed-off-by: Liyi Huang <liyi.huang@isovalent.com>
Enhance the router ID override logic for RouterIDIPPool mode so it can update the exsiting allocation accordingly. Move the restore logic to initializeJobs so the overall logic is clear Update the unit test for override to cover new function `handleRouterIDOverride` Signed-off-by: Liyi Huang <liyi.huang@isovalent.com>
a7ef800
to
572c6bd
Compare
/test |
This is the enhacenment PR of #38300