-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Listener filter ECDS Support #21133
Listener filter ECDS Support #21133
Conversation
This PR support both TCP and UDP listener filter ECDS functionalities. Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
/wait |
This PR is WIP. Need to add integration test for UDP listener filter ECDS. |
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
/assign @adisuissa @kyessenov |
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
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.
Thanks for working on this.
Here's a first pass.
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
/retest |
Retrying Azure Pipelines: |
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
/retest |
Retrying Azure Pipelines: |
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.
Thanks! Left one small comment.
/retest |
Retrying Azure Pipelines: |
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!
Let's make sure CI is green.
@soulxu in case you have more comments.
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Created an issue to track the listener filter matcher integration test: #21484 |
/retest |
Retrying Azure Pipelines: |
previously one thing come to my mind, I think the current is the right way. But just put it here in case people have different thoughts. I'm thinking about whether we should enable the listener matcher for MissConfigFilter. Should we skip the connection close if the connection doesn't match the listener matcher? But I think the current code is right, since it is an invalid config case, then closing the connection directly without considering the listener matcher is right. And it is a little strange for some connection successes due to not matching the matcher, some connections are failed. Anyway, I think this is LGTM now, thanks! |
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Thanks for sharing the thoughts. What you described make sense to me, i.e, if a listener filter config is invalid, the filter chain match predicate value should be ignored. |
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
/retest |
1 similar comment
/retest |
Hi @mattklein123 , do you have further comments? After you took the pass last time, what we changed is adding the missing_config counter and the integration tests for listener filter matcher. |
I already approved this. Please have the others doing active reviews review any new code and merge. Thank you! |
Thanks @mattklein123 |
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.
Thanks, LGTM!
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com> Signed-off-by: Tianyu Xia <tyxia@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com> Signed-off-by: Amila Senadheera <amila.15@cse.mrt.ac.lk>
This PR support TCP listener filter ECDS functionalities.
This is the 4th PR to support TCP listener filter ECDS as in issue: #20049.
Note, the support of UDP listener ECDS will be done in a separate PR as in item 8 of issue #20049
Build:
passed
Testing:
passed
Release Notes:
N/A
Issues: ecds: add support for listener filters #20049
Signed-off-by: Yanjun Xiang yanjunxiang@google.com
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]