2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-28 12:37:55 +00:00

112 Commits

Author SHA1 Message Date
Marcin Siodelski
d8fdd81739 [#1041] Extended statusGet unittests
The uptime, reload and pid returned are validated.
2019-12-13 17:01:00 +01:00
Francis Dupont
f3f5125e3b [#1041] Addressed new comments 2019-12-13 17:01:00 +01:00
Francis Dupont
4f2df8c373 [#1041] Augmented HA report 2019-12-13 17:01:00 +01:00
Francis Dupont
34e7cfb711 [#1041] Checkpoint: added uptime, last commit and HA to do 2019-12-13 16:54:14 +01:00
Francis Dupont
82f58f889e [#1041] Checkpoint: created status-get returning pid (only) 2019-12-13 16:54:14 +01:00
Francis Dupont
9f3d76f6f0 [904-add-ability-to-force-a-cb-update-remotely] Addressed last comments 2019-10-28 10:33:38 +01:00
Francis Dupont
546dd1b46a [904-add-ability-to-force-a-cb-update-remotely] Addressed comments for the v4 part 2019-10-28 10:33:38 +01:00
Francis Dupont
9fe0906d81 [904-add-ability-to-force-a-cb-update-remotely] Added server-update command 2019-10-28 10:33:38 +01:00
Franciszek Gorski
3e5d57870f [755-Kea-DHCP-servers-observations-should-be-reset] resolve threads 2019-09-06 11:34:54 +02:00
Franciszek Gorski
3a92d22727 [755-Kea-DHCP-servers-observations-should-be-reset] implement required changes to dhcp4 and dhcp6 servers 2019-09-06 11:34:54 +02:00
Franciszek Gorski
b56fa9d491 [755-Kea-DHCP-servers-observations-should-be-reset-to-some-initial-values-upon-restart-or-reconfiguration] add initialization of all statistisc during set up 2019-09-06 11:34:54 +02:00
Razvan Becheriu
9d00177413 rebased and updated ChangeLog 2019-09-06 09:31:01 +03:00
Razvan Becheriu
e5b68fb226 [#729,!434] consitency between v4 and v6 unit tests 2019-09-06 09:08:55 +03:00
Razvan Becheriu
d16cbce551 [#729,!434] fixed rebase 2019-09-06 09:08:55 +03:00
Razvan Becheriu
cfd5a7ea4f [#729,!434] change order of functions in file 2019-09-06 09:08:55 +03:00
Razvan Becheriu
cc990f8876 [#729,!434] fixed missing commit of runtime option defs on v4 2019-09-06 09:08:55 +03:00
Razvan Becheriu
46fd89e836 renamed commands 2019-08-05 20:34:27 +03:00
Franciszek Gorski
7e90410c33 [731-Kea_statistics_enhancements] new statistics commands 2019-08-05 20:34:27 +03:00
Francis Dupont
8e34460182 [470-server-tag-get-command] Removed the -set stuff and updated doc 2019-07-25 15:08:04 +02:00
Francis Dupont
d4a8accc16 [470-server-tag-get-command] Added server-tag-get and prepared server-tag-set 2019-07-25 15:08:04 +02:00
Francis Dupont
c4414e7853 [575-cb-cmds-unknown-fields-in-arguments-should-raise-an-error] Added metadata and fixed server tests 2019-07-07 11:07:09 +02:00
Francis Dupont
ca63c5a217 [616-error-msgs-contain-references-to-config-file-while-config-backend-is-used] Improved messages (but still not found the bug) 2019-06-27 19:32:49 +02:00
Francis Dupont
7088f78b02 [567-remove-lease-t1_-and-t2_-members] Removed t1/t2 from leases 2019-06-19 02:43:03 -04:00
Michal Nowikowski
fccb0cf410 updated versions, updated copyright dates, sorted messages 2019-05-28 10:53:08 +02:00
Michal Nowikowski
a45e2f68d7 Changed location of unit socket in unit tests
Previously it was stored in TEST_DATA_BUILDDIR which resides inside repo sources.
Due to the fact that when repo was located in deep patch creating socket was
failing as max socket patch is about 100 characters. Now it is located
in temp folder managed by Sandbox class. The sandbox directory is created
in test constructor and deleted in destructor. As the temp directory
is in form /tmp/kea-XXXXXX the lnegth is always lower than 1000, so running
the unit tests never fails.
2019-03-07 10:57:33 +01:00
Francis Dupont
67b043e2ea [master] spelling 2018-06-27 09:44:51 +02:00
Marcin Siodelski
e72a0654e7 [5649] Created common header file with control channel timeouts. 2018-06-14 12:04:39 +02:00
Thomas Markwalder
e47da044a9 [5599] Control channel now emits info on any discarded data
doc/guide/ctrl-channel.xml
    Minor update to using socat

src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
    Updated testing for server response to server
    side control channel timeouts

src/lib/cc/json_feed.h
        JSONFeed::getProcessedText() - new method that
        returns a copy of the current accumulation of
        accepted text

src/lib/config/config_messages.mes
src/lib/config/command_mgr.cc
    Connection::receiveHandler() - added log info about
    discarded data when client closes connection

    Connection::timeoutHandler() - added info about discarded
    data to server's response to client on server side timeout
2018-06-05 11:06:15 -04:00
Wlodek Wencel
4a26b2fe27 [master] Copyright update to 2018 2018-05-24 13:17:10 +02:00
Marcin Siodelski
6e767f8925 [master] Do not use std::rand in long response unit test.
It gives unpredictable results on OpenBSD. Okayed on jabber.
2018-05-16 18:27:40 +02:00
Marcin Siodelski
975d8d6aff [5470] Added network_state parameter to the dhcp4_srv_configured hook. 2018-03-22 12:26:58 +01:00
Marcin Siodelski
8aa140674c [5442] Implemented 'dhcp-enable' and 'dhcp-disable' command. 2017-12-04 14:23:10 +01:00
Tomek Mrugalski
953ded7679 [5357] Stupid warning removed 2017-09-08 23:44:03 +02:00
Marcin Siodelski
82b0234ac7 [master] Added explicit to IOServiceWork to remove 2 cppcheck regressions.
This is trivial fix which I am committing on my discretion.
2017-07-05 18:23:14 +02:00
Marcin Siodelski
8531a65521 [master] Merge branch 'trac5318' 2017-07-05 16:32:14 +02:00
Francis Dupont
dd19455911 [master] Finishing merge of trac3389a (re-detect interfaces) 2017-07-05 14:52:54 +02:00
Marcin Siodelski
6f075ba71c [5318] Addressed review comments.
Also, when timeout occurs in control channel connection, all async tasks
are cancelled.
2017-07-05 14:18:57 +02:00
Marcin Siodelski
9bab1aae6d [5318] Default control connection timeout is now 10s. 2017-07-04 17:55:20 +02:00
Marcin Siodelski
82a6390bb6 [5318] Added unit tests for long connections in DHCPv6. 2017-07-03 17:47:12 +02:00
Marcin Siodelski
c932ebf8bc [5318] Implemented timeouts for CommandMgr. 2017-07-03 17:39:00 +02:00
Marcin Siodelski
e58169ee1a [5318] Improved the tests for long commands/responses. 2017-07-03 15:57:52 +02:00
Marcin Siodelski
ab11e2394e [5318] PoC for extending maximum request/response over 64k in Ctrl channel. 2017-07-03 12:01:18 +02:00
Marcin Siodelski
c7f86fdad0 [5317] Addressed review comments. 2017-06-30 15:23:04 +02:00
Marcin Siodelski
d913e9a739 [5317] Cleanup of the CommandMgr's code. 2017-06-22 18:35:05 +02:00
Marcin Siodelski
c4fb6001e7 [5317] Only a single control command connection is now allowed. 2017-06-22 13:39:19 +02:00
Marcin Siodelski
2688a2a886 [5317] Use poll() instead of run_one() in Ctrl DHCP server unit tests. 2017-06-22 12:15:40 +02:00
Marcin Siodelski
0ea522a291 [5317] Cleanup new code added to facilitate unix domain sockets. 2017-06-21 19:05:45 +02:00
Marcin Siodelski
7f14fd190e [5317] DHCPv4 server is using ASIO based CommandMgr. 2017-06-21 14:17:41 +02:00
Tomek Mrugalski
002e269071 [5187] Kea is less strict with filename argument to config-write 2017-04-18 20:37:11 +02:00
Francis Dupont
79b5468afa [5213] indent and untabily 2017-04-18 09:28:16 +02:00