2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

35963 Commits

Author SHA1 Message Date
Thomas Markwalder
5d331f46ff [#3253] Doxygen clean up
../../../../doc/devel/Doxyfile
    Added perfmon dir

modified:
    alarm.h
    alarm_store.h
    monitored_duration_store.h
2024-03-18 19:12:14 +00:00
Thomas Markwalder
94b11b9bf8 [#3253] Added In-place alarm checking
src/hooks/dhcp/perfmon/alarm_store.*
    AlarmStore::checkDurationSample() - new function to check a sample
    against an alarm in-place

src/hooks/dhcp/perfmon/tests/alarm_store_unittests.cc
    checkDurationSampleTest(uint16_t family)  - new test function and tests
2024-03-18 19:12:14 +00:00
Thomas Markwalder
fc3eb168de [#3253] Added in-place duration update
src/hooks/dhcp/perfmon/monitored_duration.*
    MonitoredDuration::MonitoredDuration() - new copy ctor
    DurationDataInterval::operator==() - added for UTs

src/hooks/dhcp/perfmon/monitored_duration_store.*
    MonitoredDurationStore::addDurationSample()
    - new function for adding sample to duration in-place
    MonitoredDurationStore::addDuration()
    - removed optional sample parameter

src/hooks/dhcp/perfmon/tests/monitored_duration_store_unittests.cc
    addDurationSampleTest(uint16_t family)  - new test func and tests

src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
    TEST(MonitoredDuration, copyConstructors) - new test
2024-03-18 19:12:14 +00:00
Thomas Markwalder
ea714013b0 [#3253] Added AlarmStore classes
src/hooks/dhcp/perfmon/alarm_store.h
src/hooks/dhcp/perfmon/alarm_store.cc
src/hooks/dhcp/perfmon/testsalarm_store_unittests.cc
    new files

src/hooks/dhcp/perfmon/Makefile.am
   Added alarm_store.cc and alarm_store.h
2024-03-18 19:12:14 +00:00
Thomas Markwalder
15de1cf1f8 [#3253] Minor cleanup
modified:
   monitored_duration_store.cc
   monitored_duration_store.h
2024-03-18 19:12:14 +00:00
Thomas Markwalder
cad53e4df4 [3253] Removed clutter
modified:   monitored_duration_store.h
2024-03-18 19:12:14 +00:00
Thomas Markwalder
bf6d78cadd [#3253] Full CRUD for MonitoredDurationStore
MonitoredDurationStore implements CRUD for primay
key index, along with UTs.
2024-03-18 19:12:14 +00:00
Thomas Markwalder
179e10ef45 [#3253] Initial commit of MontioredDurationStore
Initial implemention of MonitoredDurationStore and UTs

src/hooks/dhcp/perfmon/tests/monitored_duration_store_unittests.cc
src/hooks/dhcp/perfmon/monitored_duration_store.cc
src/hooks/dhcp/perfmon/monitored_duration_store.h
    new files

src/hooks/dhcp/perfmon/Makefile.am
    added monitored_duration_store.cc monitored_duration_store.h

src/hooks/dhcp/perfmon/monitored_duration.*
    Added  ==, !=, < operators

src/hooks/dhcp/perfmon/tests/Makefile.am
    added monitored_duration_store_unittests.cc

src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
    TEST(DurationKey, equalityOperators) - new test
2024-03-18 19:12:14 +00:00
Francis Dupont
3c217d82f7 [#3262] Optimized getSubnet() (#3268 1st point) 2024-03-18 11:33:37 +02:00
Andrei Pavel
8491e56aa8
[#3262] check parking limit on subnet select 2024-03-18 11:33:11 +02:00
Andrei Pavel
d20d640e2c
[#3262] on completion callback for subnet select 2024-03-18 11:33:11 +02:00
Andrei Pavel
f55106b02f
[#3262] document RADIUS thread-pool-size 2024-03-18 11:33:11 +02:00
Thomas Markwalder
906f22dc0e [#3280] Added performance.dox to Makefile.am
modified:   doc/devel/Makefile.am
2024-03-12 15:54:55 +00:00
Thomas Markwalder
2eaebeb78a [#3280] Updated Doxyfile
Ran "doxygen -u" with doxygen 1.10.0 to update our Doxyfile
Cleared up several warnings and eliminated dot errors in crypto lib.
2024-03-12 15:54:55 +00:00
Thomas Markwalder
579a581ebd [#3280] Fixed a few more
Fixed errors that should have been reported but
do not under doxygen 1.8.17

modified:
../../src/bin/dhcp4/dhcp4_srv.h
../../src/lib/dhcp/pkt.h
2024-03-12 15:54:55 +00:00
Thomas Markwalder
fe926b07c7 [#3280] Fixed new errors after rebase
src/lib/dns/char_string.h
src/lib/dns/txt_like.h
2024-03-12 15:54:55 +00:00
Thomas Markwalder
8f86c107f7 [#3280] Fixed typos 2024-03-12 15:54:55 +00:00
Thomas Markwalder
b3e445696a [#3280] Fix performance hierarchy
modified:
    mainpage.dox
    performance.dox
2024-03-12 15:54:55 +00:00
Thomas Markwalder
122e9caffe [#3280] Added stub Performance page
Performance subpage was missing.  Added with simple content.
2024-03-12 15:54:55 +00:00
Thomas Markwalder
7e1e08791c [#3280] Fixed doxygen commentary errors
Removed failing references to private class members,
Added missing paramters
miscellaneous other errors
2024-03-12 15:54:55 +00:00
Francis Dupont
1ccdf60089 [#3285] Removed GENERATE code and tests 2024-03-11 17:22:35 +01:00
Razvan Becheriu
d5d2856121 [#3208] reordered includes 2024-03-11 12:26:10 +02:00
Francis Dupont
eea21add19 [#3208] Removed define 1 in include guards 2024-03-10 20:23:15 +01:00
Francis Dupont
acf5e61250 [#3208] Revamped registry UTs 2024-03-10 20:06:11 +01:00
Francis Dupont
eee515f049 [#3208] Restore CH A RR 2024-03-10 01:45:01 +01:00
Francis Dupont
102aeb0c31 [#3208] Removed spurious tabs and spaces 2024-03-10 00:53:27 +01:00
Francis Dupont
0906ab4186 [#3208] Got rid of non-C++ NULL 2024-03-10 00:23:20 +01:00
Razvan Becheriu
4e5f7b4279 [#3208] fix Makefile 2024-03-09 22:21:31 +02:00
Razvan Becheriu
31b47b5c57 [#3208] clean up code 2024-03-09 08:43:56 +02:00
Razvan Becheriu
77a396e9f9 [#3208] added not implemented types 2024-03-08 19:23:56 +02:00
Razvan Becheriu
0e811f7805 [#3208] restore unittests 2024-03-07 22:47:25 +02:00
Razvan Becheriu
561b90bee8 [#3208] remove unused code in libdns 2024-03-07 13:42:05 +02:00
Thomas Markwalder
c3bbf66a14 [#3270] Make Perfmon addSampleAndClear UT reliable
src/hooks/dhcp/perfmon/tests/monitored_duration_unittests.cc
    TEST(MonitoredDuration, addSampleAndClear) - reworked to remove
    timing sensitivity
2024-03-05 12:03:58 +00:00
Razvan Becheriu
c25bc2b72b [#3190] addressed review comments 2024-03-05 07:50:05 +00:00
Razvan Becheriu
133ccdfb15 [#3190] fixed ASAN warnings 2024-03-05 07:50:05 +00:00
Razvan Becheriu
8fc6b6f901 [#3190] fix ASAN warnings 2024-03-05 07:50:05 +00:00
Razvan Becheriu
1b070fe4b5 [#3190] use smart pointer to capture IOService instance 2024-03-05 07:50:05 +00:00
Andrei Pavel
8c1f22e3fb
[#3271] bump version in configure.ac to 2.5.7 2024-02-27 20:55:08 +02:00
Andrei Pavel
c065dd780d
[#3263] release changes Kea-2.5.6 2024-02-26 14:47:03 +02:00
Andrei Pavel
62169d8a7d
[#3263] release changes 2024-02-26 10:46:31 +02:00
Razvan Becheriu
697592611d [#3261] bump up library versions for 2.5.6 release 2024-02-24 07:30:05 +02:00
Razvan Becheriu
bc695581c6 [#3193] fixed double free when using botan 2024-02-23 18:38:52 +00:00
Andrei Pavel
6bfbdab033
[#3025] fix ProcessSpawn on BSD
- Always break after collecting exit status. Previously it broke the
  loop always on failure of waitpid which does happen after calling it
  subsequently, but there is no reason to wait until then.
- When waitpid returns -1 in sync mode, throw exception, except for
  EINTR which happens on signals (usually one time) prior to
  the child process exiting if sigaction is called without SA_RESTART
  which is the default on some systems.
- Only initialize the global IO signal set on the IO service in async
  mode. It makes no sense to do it in sync mode because there is no IO service.
- Swap pid and wpid names to conform to names in `man wait` on BSD.
- Add FAIL() on timer expiration.
- Don't call runOne() the third time in unit tests because it waits for
  the timer to expire.
2024-02-23 20:01:00 +02:00
Piotrek Zadroga
a91ebc6e7b [#3141] addressed review comments
- Mostly further corrections in ARM docs and in comments.
2024-02-23 17:14:41 +01:00
Piotrek Zadroga
a1c57f3f73 [#3141] addressed review comments
- refactored code of SvcParam config parser
- added new 2 UTs
- added some more comments in code
2024-02-23 17:14:41 +01:00
Piotrek Zadroga
58e0d08571 [#3141] addressed review comments
- Rephrased some text in ARM docs.
- Added new text to ARM docs.
2024-02-23 17:14:41 +01:00
Piotrek Zadroga
1a9816a515 [#3141] fix compilation error 2024-02-23 17:14:41 +01:00
Piotrek Zadroga
fd8c8d8dba [#3141] ChangeLog entry 2024-02-23 17:14:39 +01:00
Piotrek Zadroga
253d7b000b [#3141] ARM docs updated 2024-02-23 17:14:06 +01:00
Piotrek Zadroga
34048888ca [#3141] delete excessive dnr.json examples 2024-02-23 17:14:06 +01:00