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

Feature/sflow input module #187

Merged
16 commits merged into from
Jan 31, 2022
Merged

Feature/sflow input module #187

16 commits merged into from
Jan 31, 2022

Conversation

ghost
Copy link

@ghost ghost commented Jan 28, 2022

No description provided.

@ghost ghost requested a review from weyrick January 28, 2022 17:47
Copy link
Member

@weyrick weyrick left a comment

Choose a reason for hiding this comment

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

also:

  • README
  • docker/* changes
  • GitHub CI changes

}

if (sample.ifCounters.ifDirection == DIRECTION::IN) {
++_counters.total_in;
Copy link
Member

Choose a reason for hiding this comment

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

i believe we'd need to not just ++ but += the amount of packets that the sample saw - it's almost definitely not just one?

Copy link
Author

Choose a reason for hiding this comment

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

ifDirection is a enum

@@ -0,0 +1,3 @@
# Sflow Stream Input

This directory contains a sflow/example stream input tap, suitable only for testing.
Copy link
Member

Choose a reason for hiding this comment

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

This directory contains the sflow input tap

src/inputs/sflow/SflowInputStream.cpp Show resolved Hide resolved
src/inputs/sflow/SflowInputStream.cpp Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/inputs/sflow/SflowInputStream.cpp Outdated Show resolved Hide resolved
@ghost ghost merged commit 9382a59 into develop Jan 31, 2022
@ghost ghost deleted the feature/sflow-input-module branch January 31, 2022 16:13
@ghost ghost linked an issue Jan 31, 2022 that may be closed by this pull request
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sFlow input module
1 participant