Skip to content

fix(net2mongo): parsing of legacy netmask configuration#648

Merged
frikilax merged 8 commits into
devfrom
fix_netmask_parsing
Feb 24, 2026
Merged

fix(net2mongo): parsing of legacy netmask configuration#648
frikilax merged 8 commits into
devfrom
fix_netmask_parsing

Conversation

@ELDiablO59152

Copy link
Copy Markdown
Member

Fixed

  • [SCRIPTS] [NET2MONGO] Fix parsing of legacy netmask configuration

See: #623

@ELDiablO59152 ELDiablO59152 self-assigned this Feb 5, 2026
@ELDiablO59152 ELDiablO59152 added the bug Something isn't working label Feb 5, 2026
Comment thread home/jails.apache/.zfs-source/home/vlt-os/scripts/net2mongo.py Outdated

@frikilax frikilax left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please add a unit test with extensive array of possible/impossible values to parse, especially to check pattern extraction (IP, netmask/prefix, CARP parameters, etc...)

Comment thread home/jails.apache/.zfs-source/home/vlt-os/scripts/net2mongo.py Outdated
Comment thread home/jails.apache/.zfs-source/home/vlt-os/scripts/net2mongo.py Outdated
Comment thread home/jails.apache/.zfs-source/home/vlt-os/scripts/net2mongo.py Outdated
@frikilax frikilax force-pushed the fix_netmask_parsing branch from 36b264c to 812662f Compare February 20, 2026 13:59
@frikilax frikilax force-pushed the fix_netmask_parsing branch from 812662f to ed06846 Compare February 20, 2026 14:01

@ELDiablO59152 ELDiablO59152 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Approved.

@frikilax frikilax merged commit 97eef22 into dev Feb 24, 2026
4 of 5 checks passed
@frikilax frikilax deleted the fix_netmask_parsing branch February 24, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants