-
Notifications
You must be signed in to change notification settings - Fork 0
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
sFlow inserted twice on same graph arc? #2
Comments
I can confirm this does happen. If we:
We will receive 4x the samples on the PSAMPLE netlink channel. One way to detect this is to mark an interface as enabled (see #3 for more on this) and if it's enabled, refused to add the feature again on https://github.com/sflow/vpp-sflow/blame/main/sflow/sflow.c#L322 |
I believe this issue is addressed by the latest commit, which introduces per-interface data in sflow-main and uses it to gate the enable_disable config changes. |
Confirmed - we only call |
We need to make sure that enabling sFlow on an interface twice does not insert the sampling node into the graph twice.
The text was updated successfully, but these errors were encountered: