[2615] v4 clients may now release out-of-range leases
Modified v4 server to not enforce subnet match when clients attempt
to release an existing, but out-of-range lease.
Added a battery of unit tests to verify proper v4 server behavior
when clients attempt to renew or release out-of-range addresses.
src/bin/dhcp4/dhcp4_messages.mes
- deleted DHCP4_RELEAE_FILE_NO SUBNET as it is now obsolete
src/bin/dhcp4/dhcp4_srv.cc
- Dhcpv4Srv::processRelease() - removed the check to make sure the
release pertains to a configured subnet. This allows clients to
release leases after configuration changes rendered them out of
range.
src/bin/dhcp4/tests/out_of_range_unittest.cc
- New file containing DHCPv4 tests for server behavior regarding
renews and releases of "out of range" addresses.
src/bin/dhcp4/tests/release_unittest.cc
- TEST_F(ReleaseTest, releaseNoSubnet) - modified the test to
verify that a client CAN release an out-of-range lease