Actions
Feature #34280
closedAdd `ip_include?` method to IPAM::Base that uses `IPAddr#include?` method
Description
Related to: https://github.com/theforeman/foreman_discovery/pull/545
We need to be able to validate whether user sourced IP set in the form is included in the available subnet.
Initially we just ran `.include?` on a Range object generated through `subnet_range` method, however, this is extremely inefficient when used on huge subnets (specifically in this case, an IPv6 range inclusion check timed out).
This brought `IPAddr#include` to the spotlight.
Updated by The Foreman Bot about 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9036 added
Updated by Jan Matusz about 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|337ac271d8a87039bfc709bed0749fdbd9651e7e.
Actions