]> git.ipfire.org Git - thirdparty/kea.git/commit
[#1155] Backported #1139 from master
authorMarcin Siodelski <marcin@isc.org>
Thu, 19 Mar 2020 12:29:45 +0000 (13:29 +0100)
committerMarcin Siodelski <marcin@isc.org>
Thu, 19 Mar 2020 13:46:45 +0000 (14:46 +0100)
commit01d583f6deb98ed368ac200277a9d04cd8788de6
tree8da071811416cfc2a50a0b1257d688467037239b
parent9ea6881bcb86f5a7ed76a372b8fe56c171a6e6f1
[#1155] Backported #1139 from master

This is an enhancement to client classification in DHCPv4
and DHCPv6 servers. The client classes spefified in the
host database are taken into account in evaluation of the
client classes specified within the configuration files.
This works both for the global reservations and for the
non-global reservations when the selected subnet belongs
to a shared network. It can be used to influence subnet
selection within a shared network using host reservations
or pool selection within a subnet that doesn't necessarily
belong to a shared network.
14 files changed:
ChangeLog
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.h
src/bin/dhcp4/tests/host_unittest.cc
src/bin/dhcp6/dhcp6_srv.cc
src/bin/dhcp6/dhcp6_srv.h
src/bin/dhcp6/tests/host_unittest.cc
src/lib/dhcp/classify.cc
src/lib/dhcp/classify.h
src/lib/dhcp/tests/classify_unittest.cc
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h