src/share/api/ha-scopes.json
src/share/api/ha-sync.json
src/share/api/ha-sync-complete-notify.json
+src/share/api/kea-lfc-start.json
src/share/api/lease4-add.json
src/share/api/lease4-del.json
src/share/api/lease4-get.json
The ``kea-lfc-start`` Command
-----------------------------
-The isccmd:`kea-lfc-start` command starts the ``kea-lfc`` process which
-cleans up the lease file (see :ref:`kea-lfc`). It takes no argument and
+The :isccmd:`kea-lfc-start` command starts the ``kea-lfc`` process which
+cleans up the lease file (see :ref:`kea-lfc`). It takes no arguments and
returns an error when the lease backend is not the ``memfile`` or when
the ``persist`` parameter of the ``lease-database`` was configured to
``false`` (but not when ``lfc-interval`` is ``0``).
/// @brief Verifies that lfcStartHandler does not requires lfc-interval > 0.
TEST_F(MemfileLeaseMgrLogTest, lfcStartHandlerLfcInterval0) {
DatabaseConnection::ParameterMap pmap;
- pmap["universe"] = "4";
+ pmap["universe"] = "6";
pmap["persist"] = "true";
pmap["lfc-interval"] = "0";
- pmap["name"] = getLeaseFilePath("leasefile4_0.csv");
+ pmap["name"] = getLeaseFilePath("leasefile6_0.csv");
boost::scoped_ptr<Memfile_LeaseMgr> lease_mgr;
// Persist is false so there is no lease file...
"access": "write",
"avail": "3.1.2",
"brief": [
- "This command starts the kea-lfc process which cleas nup the lease file. ",
+ "This command starts the kea-lfc process which cleans up the lease file. ",
"This command does not take any parameters."
],
"cmd-syntax": [