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

NMS-15134: Default to direction 'unknown' when the direction field #6322

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

j-white
Copy link
Contributor

@j-white j-white commented Jul 6, 2023

JIRA: https://opennms.atlassian.net/browse/NMS-15134

Marks NF9 and IPFIX flows with direction=UNKNOWN unless explicitly set in the template.

I also needed to regenerate the Protobuf classes - they seemed out-of-sync with the .proto definition - direction values of UNKNOWN coming from JSON failed to deserialize.

is not present in Netflow9 or IPFIX flows.

This allows for bidirectional flows to work properly when the exporter
does not include the field.

Tested with a RB5009 on MikroTik RouterOS 7.6.
@j-white j-white changed the base branch from develop to foundation-2023 July 6, 2023 00:32
Copy link
Contributor

@christianpape christianpape left a comment

Choose a reason for hiding this comment

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

LGTM.

@j-white j-white merged commit 7ba7446 into foundation-2023 Jul 10, 2023
4 checks passed
@j-white j-white deleted the jw/jira/NMS-15134-smoke branch July 10, 2023 19:39
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.

3 participants