Skip to content

Commit 14d348b

Browse files
committed
[#3242] Addressed comments, added ChangeLog entry
Minor cosmetic fixes.
1 parent d251bf7 commit 14d348b

File tree

11 files changed

+17
-11
lines changed

11 files changed

+17
-11
lines changed

ChangeLog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2204. [func] tmark
2+
The skeleton of a new open source hook library,
3+
libdhcp_perfmon.so, has been added. The library is
4+
still in development and does yet provide any functionality.
5+
(Gitlab #3242)
6+
17
Kea 2.5.5 (development) released on January 31, 2024
28

39
2203. [build] razvan

doc/sphinx/arm/logging.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ libraries), or hook libraries (open source or premium).
427427
| | | message carried in |
428428
| | | the packet is parsed. |
429429
+----------------------------------+---------------------------------------+--------------------------------+
430-
| ``kea-dhcp4.perfmon-hooks`` | :ischooklib:`libdhcp_perfmon.so` | Used |
430+
| ``kea-dhcp4.perfmon-hooks``, | :ischooklib:`libdhcp_perfmon.so` | Used |
431431
| ``kea-dhcp6.perfmon-hooks`` | open-source hook library | to log messages related to |
432432
| | | performan monitoring. |
433433
+----------------------------------+---------------------------------------+--------------------------------+

src/hooks/dhcp/bootp/libloadtests/load_unload_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ TEST_F(BootpLibLoadTest, validLoad4) {
4949
validDaemonTest("kea-dhcp4");
5050
}
5151

52-
// Simple V6 test that checks the library cannot by loaded by invalid daemons.
52+
// Simple test that checks the library cannot by loaded by invalid daemons.
5353
TEST_F(BootpLibLoadTest, invalidDaemonLoad) {
5454
invalidDaemonTest("kea-dhcp6", AF_INET6);
5555
invalidDaemonTest("kea-ctrl-agent");

src/hooks/dhcp/lease_cmds/libloadtests/load_unload_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ TEST_F(LeaseCmdsCbLibLoadTest, validLoad6) {
5454
validDaemonTest("kea-dhcp6", AF_INET6);
5555
}
5656

57-
// Simple V6 test that checks the library cannot by loaded by invalid daemons.
57+
// Simple test that checks the library cannot by loaded by invalid daemons.
5858
TEST_F(LeaseCmdsCbLibLoadTest, invalidDaemonLoad) {
5959
invalidDaemonTest("kea-ctrl-agent");
6060
invalidDaemonTest("kea-dhcp-ddns");

src/hooks/dhcp/mysql_cb/libloadtests/load_unload_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ TEST_F(MySqlCbLibLoadTest, validLoad6) {
5454
validDaemonTest("kea-dhcp6", AF_INET6);
5555
}
5656

57-
// Simple V6 test that checks the library cannot by loaded by invalid daemons.
57+
// Simple test that checks the library cannot by loaded by invalid daemons.
5858
TEST_F(MySqlCbLibLoadTest, invalidDaemonLoad) {
5959
invalidDaemonTest("kea-ctrl-agent");
6060
invalidDaemonTest("kea-dhcp-ddns");

src/hooks/dhcp/perfmon/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SUBDIRS = . tests libloadtests
1+
SUBDIRS = . libloadtests tests
22

33
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
44
AM_CPPFLAGS += $(BOOST_INCLUDES)

src/hooks/dhcp/perfmon/libloadtests/load_unload_unittests.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ using namespace isc::process;
3131

3232
namespace {
3333

34-
/// @brief Test fixture for testing loading and unloading the stat cmds library
34+
/// @brief Test fixture for testing loading and unloading the perfmon library
3535
class PerfMonLibLoadTest : public isc::test::LibLoadTest {
3636
public:
3737
/// @brief Constructor
@@ -54,7 +54,7 @@ TEST_F(PerfMonLibLoadTest, validLoad6) {
5454
validDaemonTest("kea-dhcp6", AF_INET6);
5555
}
5656

57-
// Simple V6 test that checks the library cannot by loaded by invalid daemons.
57+
// Simple test that checks the library cannot by loaded by invalid daemons.
5858
TEST_F(PerfMonLibLoadTest, invalidDaemonLoad) {
5959
invalidDaemonTest("kea-ctrl-agent");
6060
invalidDaemonTest("kea-dhcp-ddns");

src/hooks/dhcp/perfmon/perfmon.dox

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PerfMon (or perfmon) is a Hook library that can be loaded by
2525
either kea-dhcp4 and kea-dhcp6 servers to extend them with the
2626
ability to track and report performance related data.
2727

28-
The initial purpose of this library is provide supplemental data and
28+
The initial purpose of this library is to provide supplemental data and
2929
commands for monitoring the performance of kea-dhcp4 and kea-dhcp6
3030
servers in real time.
3131

src/hooks/dhcp/perfmon/perfmon_log.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace perfmon {
1616

1717
extern isc::log::Logger perfmon_logger;
1818

19-
} // end of isc::perfmon
19+
} // end of isc::perfmon namespace
2020
} // end of isc namespace
2121

2222

src/hooks/dhcp/pgsql_cb/libloadtests/load_unload_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ TEST_F(PgSqlCbLibLoadTest, validLoad6) {
5454
validDaemonTest("kea-dhcp6", AF_INET6);
5555
}
5656

57-
// Simple V6 test that checks the library cannot by loaded by invalid daemons.
57+
// Simple test that checks the library cannot by loaded by invalid daemons.
5858
TEST_F(PgSqlCbLibLoadTest, invalidDaemonLoad) {
5959
invalidDaemonTest("kea-ctrl-agent");
6060
invalidDaemonTest("kea-dhcp-ddns");

src/hooks/dhcp/stat_cmds/libloadtests/load_unload_unittests.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ TEST_F(StatCmdsCbLibLoadTest, validLoad6) {
5454
validDaemonTest("kea-dhcp6", AF_INET6);
5555
}
5656

57-
// Simple V6 test that checks the library cannot by loaded by invalid daemons.
57+
// Simple test that checks the library cannot by loaded by invalid daemons.
5858
TEST_F(StatCmdsCbLibLoadTest, invalidDaemonLoad) {
5959
invalidDaemonTest("kea-ctrl-agent");
6060
invalidDaemonTest("kea-dhcp-ddns");

0 commit comments

Comments
 (0)