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

[FlowAggregator] Accept configurations with no collector / sink #7006

Merged

Conversation

antoninbas
Copy link
Contributor

Prior to this change, the FlowAggregator would crash if the configuration didn't enable at least one collector (e.g., the IPFIX collector). While it was probably introduced to help identify misconfigurations easily, it seems like an unnecessary restriction. We should be able to deploy the FlowAggregator in such a way that IPFIX records are still received from Agents (and metrics are incremented), while discarding aggregated / proxied data instead of exporting it.

Prior to this change, the FlowAggregator would crash if the
configuration didn't enable at least one collector (e.g., the IPFIX
collector). While it was probably introduced to help identify
misconfigurations easily, it seems like an unnecessary restriction. We
should be able to deploy the FlowAggregator in such a way that IPFIX
records are still received from Agents (and metrics are incremented),
while discarding aggregated / proxied data instead of exporting it.

Signed-off-by: Antonin Bas <[email protected]>
@antoninbas antoninbas added the action/release-note Indicates a PR that should be included in release notes. label Feb 19, 2025
@antoninbas antoninbas added this to the Antrea v2.3 release milestone Feb 19, 2025
@antoninbas antoninbas added the area/flow-visibility/aggregator Issues or PRs related to Flow Aggregator label Feb 19, 2025
Copy link
Member

@tnqn tnqn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@antoninbas
Copy link
Contributor Author

/skip-all

@antoninbas antoninbas merged commit b3c40b0 into antrea-io:main Feb 20, 2025
58 of 62 checks passed
@antoninbas antoninbas deleted the fa-accept-configurations-with-no-sink branch February 20, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/release-note Indicates a PR that should be included in release notes. area/flow-visibility/aggregator Issues or PRs related to Flow Aggregator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants