2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00

25 Commits

Author SHA1 Message Date
Tomek Mrugalski
a50d64cc41 [master] Merge branch 'trac3902' (extended unit-tests for command channel) 2015-08-25 17:02:41 +02:00
Tomek Mrugalski
afe30f1c38 [3902] Implemented several unit-tests in CtrlChannelDhcpv4SrvTest 2015-07-14 20:03:20 +02:00
Tomek Mrugalski
c6b6ea4048 [3902] UnixControlClient moved to lib/testutils 2015-07-14 15:02:45 +02:00
Francis Dupont
b471b547c8 [3932] Ignored remove return status 2015-07-08 15:56:56 +02:00
Tomek Mrugalski
9cfd502e8d [master] Merge branch 'trac3918' (KEA_SOCKET_TEST_DIR variable)
Conflicts:
	src/lib/util/tests/socketsession_unittest.cc
2015-06-24 18:41:24 +02:00
Tomek Mrugalski
cce3574ab5 [3918] Unix socket tests now use KEA_SOCKET_TEST_DIR env var (if available) 2015-06-24 13:42:47 +02:00
Francis Dupont
b183c1619f [master] Some other/new s/unlink/remove/ 2015-06-24 10:09:50 +02:00
Francis Dupont
ebad861feb [master] Finished merge of trac3841 (use remove() vs unlink()) at the exception of the ChangeLog entry 2015-06-24 10:06:52 +02:00
Tomek Mrugalski
7c64a2b924 [3918] UNIX socket path length is now checked. 2015-06-23 20:03:55 +02:00
Thomas Markwalder
79df1b2a03 [3797] Use TEST_DATA_BUILDDIR for unit tests
Replaced use of TEST_DATA_DIR with TEST_DATA_BUILDDIR for socket_path
and fixed cast of close.
2015-06-19 11:17:03 -04:00
Thomas Markwalder
fa8705e134 [3797] Addressed review comments
Minor cleanup issues
2015-06-19 10:24:46 -04:00
Thomas Markwalder
e103da1162 [3797] Added support for Control Channel to DHCPv6
src/bin/dhcp6/ctrl_dhcp6_srv.cc
    ControlledDhcpv6Srv::ControlledDhcpv6Srv()
        added CommandMgr init and handler registration

    ControlledDhcpv6Srv::~ControlledDhcpv6Srv() {
        added CommandMgr shutdown and handler deregistration

src/bin/dhcp6/json_config_parser.cc
    - createGlobal6DhcpConfigParser()
        added support for "control-socket" element

    - configureDhcp6Server()
        added logic to configure CommandMgr based on
        control-socket configuration element

src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
    - UnixControlClient  - new class that acts as UnixCommandSocket client    - CtrlChannelDhcpv6SrvTest - new test fixture for testing a DHCPv6 server
    with a Control Channel

    - Added the following tests:
    TEST_F(CtrlDhcpv6SrvTest, commandsRegistration)
    TEST_F(CtrlChannelDhcpv6SrvTest, controlChannelNegative)
    TEST_F(CtrlChannelDhcpv6SrvTest, controlChannelShutdown)
    TEST_F(CtrlChannelDhcpv6SrvTest, controlChannelStats)
2015-06-18 15:11:22 -04:00
Tomek Mrugalski
89c0130ed4 [3796] command_interpreter.cc|h|tests moved: src/lib/config => src/lib/cc 2015-06-10 10:48:24 +02:00
Tomek Mrugalski
aa10ecc86f [3796] ccsession.cc|h renamed to command_interpreter.cc|h 2015-05-20 16:14:41 +02:00
Francis Dupont
8c6fbe3a53 [3841] replaced unlink by remove 2015-05-12 22:51:43 +02:00
Marcin Siodelski
e994b57ca4 [3604] Use new interface configuration format where applicable.
Also, renamed interface-config to interfaces-config (plural form).
2015-02-09 13:50:17 +01:00
Marcin Siodelski
4a5895b993 [3625] Use CfgSubnets6 to obtain subnet information. 2014-10-30 12:44:37 +01:00
Tomek Mrugalski
9e00f75a5a [3464] DHCPv6 unit tests updated. 2014-07-27 22:32:36 -04:00
Tomek Mrugalski
b4d53d935f [3400] Changes after review:
- config-reload command added
- config and command handlers cleaned up
- files renamed
- Majority of the backend code is now common
- Added unit-test for config-reload command
2014-05-06 21:07:14 +02:00
Tomek Mrugalski
6d9bb68411 [3400] Several improvements in JSON backend:
- file read can now ignore # comments in file
 - there are JSON specific unit-tests now in src/bin/dhcp6
 - BIND10 backend specific tests moved to separate file
2014-04-23 19:48:06 +02:00
Stephen Morris
a6cd22451b [2981] Final modifications before review 2013-07-25 16:11:34 +01:00
Stephen Morris
aac023f8e1 [2981] Added libreload functionality to DHCPv6 server 2013-07-25 13:39:58 +01:00
Stephen Morris
af37bfe0c4 [2467] Removed "raw" pointers from b10-dhcp4/6 tests 2013-04-11 13:30:32 +01:00
Stephen Morris
d2551c3b2b [2475] Split dhcp files into dhcp and dhcpsrv directories 2012-11-16 11:19:19 +00:00
Tomek Mrugalski
f4566355e7 [1708] msgq support in DHCPv6 added. 2012-06-22 14:01:44 +02:00