]> git.ipfire.org Git - thirdparty/kea.git/commit
[trac3665] Dump leases from storage to file and use this in LFC
authorShawn Routhier <sar@isc.org>
Tue, 3 Feb 2015 06:22:38 +0000 (22:22 -0800)
committerShawn Routhier <sar@isc.org>
Tue, 3 Feb 2015 06:22:38 +0000 (22:22 -0800)
commit3e0491cba94634bb536569665d000bc44d14d16c
tree3716fa9ef9dba33964f25896592f2c840dca8c57
parent5566ccda94afc03c74b6d4a9d8ed0f0e06e98858
[trac3665] Dump leases from storage to file and use this in LFC

Add the write method to lease_file_loader to dump the leaes files
from a storage container into a file.

Update the LFC code to use the lease_file_loader functions to
load the leases from the appropriate files and then to write
them to the output file and finally to move the file around.
src/bin/lfc/lfc_controller.cc
src/bin/lfc/lfc_controller.h
src/bin/lfc/tests/lfc_controller_unittests.cc
src/lib/dhcpsrv/lease_file_loader.h
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc