2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

167 Commits

Author SHA1 Message Date
Francis Dupont
cadf332033 [#2974] Checkpoint: did v4 code, need UTs, v6 and doc 2024-10-23 17:42:09 +03:00
Francis Dupont
5743002331 [#3506] Checkpoint: split UnixCommandMgr 2024-09-20 14:55:54 +02:00
Francis Dupont
f784617196 [#3477] Applied new patch 2024-09-20 14:17:22 +02:00
Francis Dupont
9a8cb8c322 [#3477] Changed write-config to config-write 2024-08-01 09:23:54 +02:00
Francis Dupont
2933828f8c [#3477] Aligned v4 and v6 unit test files 2024-08-01 09:23:54 +02:00
Francis Dupont
8c5829d7d9 [#3477] Last fixes before 2.7.2 2024-08-01 09:23:54 +02:00
Francis Dupont
08e3f63024 [#3477] Addressed comments 2024-08-01 09:23:54 +02:00
Razvan Becheriu
66eacf5904 [#2960] removed more code 2024-05-23 17:08:44 +03:00
Razvan Becheriu
6d10d6424e [#2960] removed deprecated libreload command 2024-05-23 17:08:16 +03:00
Razvan Becheriu
27aaeb08c2 [#3223] fixed status-get when no lease manager is available 2024-05-20 18:36:29 +00:00
Andrei Pavel
f40fa49ab9
[#3163] fix warnings on modified files
- ctrl_dhcp4_srv_unittest.cc:145:6: warning: extra ‘;’ after in-class function definition [-Wextra-semi]
- ctrl_dhcp4_srv_unittest.cc:2172:28: warning: comparison of integer expressions of different signedness: ‘std::streamoff’ {aka ‘long int’} and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
- ctrl_dhcp4_srv_unittest.cc:2191:33: warning: comparison of integer expressions of different signedness: ‘std::streamoff’ {aka ‘long int’} and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
- ctrl_dhcp4_srv_unittest.cc:2295:33: warning: comparison of integer expressions of different signedness: ‘std::streamoff’ {aka ‘long int’} and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
- ctrl_dhcp4_srv_unittest.cc:2352:28: warning: declaration of ‘timeout’ shadows a previous local [-Wshadow]
- ctrl_dhcp4_srv_unittest.cc:2402:28: warning: declaration of ‘timeout’ shadows a previous local [-Wshadow]
- ctrl_dhcp6_srv_unittest.cc:116:6: warning: extra ‘;’ after in-class function definition [-Wextra-semi]
- ctrl_dhcp6_srv_unittest.cc:181:6: warning: extra ‘;’ after in-class function definition [-Wextra-semi]
- ctrl_dhcp6_srv_unittest.cc:264:10: warning: ‘virtual void {anonymous}::CtrlChannelDhcpv6SrvTest::reset()’ can be marked override [-Wsuggest-override]
- ctrl_dhcp6_srv_unittest.cc:2210:28: warning: comparison of integer expressions of different signedness: ‘std::streamoff’ {aka ‘long int’} and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
- ctrl_dhcp6_srv_unittest.cc:2229:33: warning: comparison of integer expressions of different signedness: ‘std::streamoff’ {aka ‘long int’} and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
- ctrl_dhcp6_srv_unittest.cc:2333:33: warning: comparison of integer expressions of different signedness: ‘std::streamoff’ {aka ‘long int’} and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
- ctrl_dhcp6_srv_unittest.cc:2390:28: warning: declaration of ‘timeout’ shadows a previous local [-Wshadow]
- ctrl_dhcp6_srv_unittest.cc:2440:28: warning: declaration of ‘timeout’ shadows a previous local [-Wshadow]
- dhcp6_srv_unittest.cc:2420:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- dhcp6_srv_unittest.cc:2440:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
- dhcp6_srv_unittest.cc:2932:28: warning: useless cast to type ‘const uint8_t*’ {aka ‘const unsigned char*’} [-Wuseless-cast]
- dhcp6_srv_unittest.cc:2964:26: warning: useless cast to type ‘const uint8_t*’ {aka ‘const unsigned char*’} [-Wuseless-cast]
2024-05-01 13:23:17 +03:00
Marcin Siodelski
0025845104 [#3344] Use origin-id instead of origin
The HA partners now send the commands with both origin-id and origin to
provide backward compatibility between different Kea versions.
2024-04-26 13:38:59 +02:00
Razvan Becheriu
133ccdfb15 [#3190] fixed ASAN warnings 2024-03-05 07:50:05 +00:00
Wlodek Wencel
416a072394 [#3237] release changes 2024-01-29 10:17:26 +01:00
Razvan Becheriu
1b4d7b0293 [#3119] use range based for loop or BOOST_FOREACH 2024-01-22 17:49:59 +02:00
Marcin Siodelski
cf99fa535a [#3106] Fixed dhcp enable unit tests 2023-11-29 20:58:56 +01:00
Marcin Siodelski
1772fe63cf [#3106] Reworked network state functions
Removed reset() function and replaced it with resetForDbConnection().
Also, removed the enableAll() function and used other functions instead.
2023-11-29 20:58:56 +01:00
Marcin Siodelski
a29e3264a3 [#3106] Network state change per HA service 2023-11-29 20:58:55 +01:00
Razvan Becheriu
bd70361ef9 [#3017] create checkDetectIfaces to do persistent checks 2023-10-17 12:35:55 +03:00
Razvan Becheriu
34e98d10f6 [#3017] added testing framework for using dummy test interfaces 2023-10-17 12:35:55 +03:00
Razvan Becheriu
150ef07994 [#3003] output_options alias for output-options 2023-09-18 08:08:07 +00:00
Francis Dupont
b168addec3 [#2866] Updated server tests 2023-06-26 14:24:42 +02:00
Tomek Mrugalski
abe38a4e5c
[#2707] config-set in v4 now returns hash 2023-06-22 16:23:38 +02:00
Tomek Mrugalski
0738facc55
[#2707] config-set in v6 now returns hash 2023-06-22 16:23:38 +02:00
Francis Dupont
58767e9625
[#2707] Checkpoint before v6 2023-06-22 16:23:38 +02:00
Andrei Pavel
8000f423dd
[#2797] add unit tests for lease reuse statistics 2023-05-03 22:26:09 +03:00
Razvan Becheriu
db352cc04c [#2722] config set follows the same path as config test and can rollback 2023-03-16 21:26:11 +02:00
Andrei Pavel
4440d12da3
[#2402] remove the regex check in statusGet UT
It caused failures on CentOS 7 and FreeBSDs 12 and 13.

unknown file: Failure
C++ exception with description "regex_error" thrown in the test body.
[  FAILED  ] CtrlChannelDhcpv4SrvTest.statusGet (3 ms)
2023-02-16 15:33:54 +02:00
Andrei Pavel
22fcc845e9
[#2402] adapt tests to MT enabled by default 2023-02-14 14:23:05 +02:00
Wlodek Wencel
e0f96268f8 [#2732] release changes 2023-01-23 19:18:49 +01:00
Tomek Mrugalski
007d1bed25 [#2693] Addressed review comments
- moved DHCP{4,6}_DEPRECATED
 - added note to return status text over API
2023-01-20 18:11:28 +01:00
Andrei Pavel
be66340902
[#2434] add tests for socket status in status-get 2022-07-22 14:36:31 +03:00
Dan Theisen
a7260a26c2 [#2419] Fix statistics (add v4-reservation-conflicts) unit tests for dhcp4 2022-07-08 12:18:55 -07:00
Razvan Becheriu
163efdff92 [#2054] added stats counter for allocation failures 2022-02-17 19:50:29 +02:00
Andrei Pavel
cd64f52014
[#2290] release changes 2022-01-25 18:17:54 +02:00
Razvan Becheriu
c83760ce68 [#2279] fixed unittests 2022-01-21 18:59:09 +00:00
Razvan Becheriu
f66f201c14 [#2279] added unittests 2022-01-21 18:59:09 +00:00
Andrei Pavel
96f049b111
[#1656] 1.9.4 release: spelling check 2021-01-25 13:52:09 +02:00
Razvan Becheriu
f638379c92 [#1601] multiple changes:
* added a timer for each origin type: USER_COMMAND and HA_COMMAND
 * added missing unittests
2021-01-22 17:15:20 +00:00
Razvan Becheriu
3b00622d59 [#1601] addressed review comments
* renamed Origin enum members
 * using 'ha-partner' as origin parameter in enable/disable HA_COMMAND
 * added unittests for new parameters and new command syntax
 * updated doxygen
2021-01-22 17:15:20 +00:00
Francis Dupont
36267979cc [#1306] Updated status-get 2020-10-22 19:20:47 +02:00
Francis Dupont
65292f6f1c [#1389] Removed statistic-remove-all tests 2020-09-25 07:36:03 +00:00
Francis Dupont
50548aa502 [#1388] Removed a few EXPECT_EQ with boolean 2020-09-09 15:42:34 +02:00
Razvan Becheriu
d86ef62b6c [#1305] addresses comments 2020-08-18 23:11:25 +03:00
Razvan Becheriu
dc4e001199 [#1305] add thread and queue info to get-status command 2020-08-18 23:11:25 +03:00
Francis Dupont
0680e3e01c [#1308] No _1 ambiguities 2020-08-13 13:54:14 +00:00
Francis Dupont
2035f64c1c [#1308] Got rid of boost function/bind 2020-08-13 13:54:14 +00:00
Francis Dupont
01e10ceba1 [#1007] Replaced some option spaces 2020-08-05 13:58:29 +02:00
Francis Dupont
11c8af9c4b [#1174] Changed stats to use C++11 chrono 2020-07-14 15:37:51 +02:00
Francis Dupont
a07ea817e0 [#916] Checkpoint before regen 2020-07-08 14:32:45 +02:00