Skip to content

NMS-19557: Ensure Snmp config management works with IPv4 and IPv6#8420

Merged
synqotik merged 2 commits intodevelopfrom
jira/NMS-19557-snmp-config-ipv6-updates
Apr 9, 2026
Merged

NMS-19557: Ensure Snmp config management works with IPv4 and IPv6#8420
synqotik merged 2 commits intodevelopfrom
jira/NMS-19557-snmp-config-ipv6-updates

Conversation

@synqotik
Copy link
Copy Markdown
Contributor

@synqotik synqotik commented Apr 7, 2026

Ensure that SnmpConfigManager, SnmpPeerFactory and SnmpConfigRestService work with IPv6, with all the recent SNMP Config updates.

Ensure that adding/merging and deleting definitions with IPv4 and/or IPv6 ranges, specific IPs and ipMatch IPLIKE expressions all work correctly.

Refactored some of the validation code that was in SnmpConfigRestService into opennms-config SnmpConfigUtils as it was cluttering up the Rest service and now can be tested independently.

Added a bunch of tests for everything.

External References

@synqotik synqotik force-pushed the jira/NMS-19557-snmp-config-ipv6-updates branch 2 times, most recently from b8ec568 to 1acc778 Compare April 7, 2026 19:01
@synqotik synqotik force-pushed the jira/NMS-19557-snmp-config-ipv6-updates branch from 1acc778 to d2665bd Compare April 7, 2026 19:09
@synqotik synqotik marked this pull request as ready for review April 7, 2026 19:30
Copy link
Copy Markdown
Contributor

@cgorantla cgorantla left a comment

Choose a reason for hiding this comment

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

Looks good. One minor comment

@synqotik synqotik requested a review from cgorantla April 8, 2026 18:48
Copy link
Copy Markdown
Contributor

@cgorantla cgorantla left a comment

Choose a reason for hiding this comment

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

LGTM!

@synqotik synqotik merged commit 84c0eba into develop Apr 9, 2026
14 checks passed
@synqotik synqotik deleted the jira/NMS-19557-snmp-config-ipv6-updates branch April 9, 2026 01:47
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.

2 participants