Added HAVE_GETLEASE4_METHOD macro to include getLeases4 in LeaseMgr methods for Kea versions older than 1.9.4.
Added step to remove "-git" from version string.
The getLease4 method was removed starting Kea version 1.9.4 (MR, see ChangeLog excerpt below). This causes the module build to exit with error for those Kea versions.
1851. [func] fdupont
Removed methods fetching leases by both client identifier
and hardware addresses from the API.
(Gitlab #1540)
ISSUE TYPE
Build error for Kea versions 1.9.4 and newer.
COMPONENT NAME
M keamodule/lease_mgr.cc
M keamodule/setup.py
ADDITIONAL INFORMATION
Tested module build and basic DHCP lease with Kea 2.0.0.
SUMMARY
The getLease4 method was removed starting Kea version 1.9.4 (MR, see ChangeLog excerpt below). This causes the module build to exit with error for those Kea versions.
ISSUE TYPE
COMPONENT NAME
M keamodule/lease_mgr.cc M keamodule/setup.py
ADDITIONAL INFORMATION
Tested module build and basic DHCP lease with Kea 2.0.0.