Actions
Feature #11250
closedRemove uniqueness check from network address validator in subnet.rb
Difficulty:
trivial
Triaged:
Pull request:
Description
I have a use case where we have a 20-bit block of IP addresses (4,096) that we cannot further subnet. The router is maintained by another organization, and we already have hundreds of devices using this network, mostly statically assigned. We currently block off ranges in a spreadsheet for each customer, and they maintain their own IP Addresses.
We now want to implement a Foreman server to manage the IP addressing, and would like to limit the range of available IPs for each customer.
This is a simple alternative to #10949
The proposed change is this:
edit: /usr/share/foreman/app/models/subnet.rb
Change
validates :network, :uniqueness => true, :format => {:with => Net::Validations::IP_REGEXP}
to
validates :network, :format => {:with => Net::Validations::IP_REGEXP}
Updated by Dominic Cleal almost 10 years ago
- Category set to Network
- Status changed from New to Ready For Testing
- Assignee set to larry campbell
- Pull request https://github.com/theforeman/foreman/pull/2585 added
- Pull request deleted (
)
Updated by Dominic Cleal almost 10 years ago
- Related to Feature #10949: Create a new object called "ip range" to allow for more than one assignable ip address ranges added
Updated by larry campbell almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Updated by Dominic Cleal almost 9 years ago
- Related to Bug #15508: Network address uniqueness enforced, duplicates should be possible added
Actions