davejohncole / kea_python

Embed Python in the Kea DHCP server.
Mozilla Public License 2.0
25 stars 15 forks source link

Remove getLease4 from lease_mgr for Kea >= 1.9.4 #5

Closed axarriola closed 9 months ago

axarriola commented 3 years ago

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.

1851.   [func]      fdupont
    Removed methods fetching leases by both client identifier
    and hardware addresses from the API.
    (Gitlab #1540)

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.

davejohncole commented 9 months ago

Sorry for taking so long to review this.