]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4094] Addressed some comments
authorFrancis Dupont <fdupont@isc.org>
Mon, 15 Sep 2025 19:43:37 +0000 (21:43 +0200)
committerFrancis Dupont <fdupont@isc.org>
Mon, 15 Sep 2025 19:44:28 +0000 (21:44 +0200)
doc/sphinx/api-files.txt
doc/sphinx/arm/ctrl-channel.rst
src/lib/dhcpsrv/tests/memfile_lease_mgr_unittest.cc
src/share/api/kea-lfc-start.json

index 7871938f92f085581bba00c921a3847e883eb9cb..32cd2438afc7c62439124d5051629fc7ebdd706f 100644 (file)
@@ -43,6 +43,7 @@ src/share/api/ha-reset.json
 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
index 3405fd2788ce6bcbad5a16f820a0e000f5e4c0e4..1c330114f85095589be105f948b80400da9d3ad1 100644 (file)
@@ -896,8 +896,8 @@ command-line argument. This command does not take any parameters.
 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``).
index ebbe5154185d4d3eb339705503d53215627ece1d..cb6018874f25cc6172acc0c5c75cec16a747e872 100644 (file)
@@ -4661,10 +4661,10 @@ TEST_F(MemfileLeaseMgrLogTest, lfcStartHandlerPersistFalse) {
 /// @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...
index 356b187f91ee38b646bd2084eaa34e5766b05e65..749aa6a5744b7f51211903b0791e0f371729e522 100644 (file)
@@ -2,7 +2,7 @@
     "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": [