2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-03 13:16:15 +00:00
Commit Graph

64 Commits

Author SHA1 Message Date
Marcin Siodelski
05c79aa706 [3696] It is allowed to not specify lease database configuration.
In such case, the server will use a default configuration - memfile
lease database backend.
2016-01-12 14:26:07 +01:00
Francis Dupont
b67910a389 [master] Finised merge of trac4234 (doxygen warnings) 2015-12-22 18:05:59 +01:00
Marcin Siodelski
fe9dd86d20 [4236] Replaced license text in all files containing it. 2015-12-16 13:37:29 +01:00
Francis Dupont
c79b3f4362 [4234] doxygen fixes last pass 2015-12-11 20:21:06 +01:00
Marcin Siodelski
6bc8c1cb7d Revert "[master] Merge branch 'trac4106'"
This reverts commit 8f2a1f8a7a, reversing
changes made to ed7edadcbd.

This  merge introduced regressions in our build farm and revealed
issues in the DHCP4o6 IPC code. It also revealed some differences
in sockets handling under Linux and BSD. Rather than continue
patching this here, we should work on the branch to resolve all
issues and then merge 1.1.
2015-12-10 23:08:59 +01:00
Marcin Siodelski
8f2a1f8a7a [master] Merge branch 'trac4106' 2015-12-10 12:24:15 +01:00
Tomek Mrugalski
a3a40b9c2b [3569] Implemented configuration for host data source. 2015-12-01 11:34:13 +01:00
Marcin Siodelski
38aebe9566 [master] Merge branch 'trac4204fd' 2015-12-01 11:26:18 +01:00
Marcin Siodelski
faf52b069c [master] Merge branch 'trac3874a' 2015-11-26 16:22:32 +01:00
Marcin Siodelski
3f53001245 [4204] Remove runtime option defs if "option-def" is not in config. 2015-11-25 16:44:46 +01:00
Marcin Siodelski
97003370e9 [4204] Runtime option definitions created using set/commit process. 2015-11-24 20:26:08 +01:00
Marcin Siodelski
e5cdb3410b [3874] Use DUID configuration parser in the global configuration. 2015-11-17 20:31:51 +01:00
Thomas Markwalder
db990992e4 [4096] kea-dhcp6 now parses client class definitions list
src/bin/dhcp6/json_config_parser.cc
        - createGlobalDhcp6ConfigParser() - creates ClientClassDefListParser
        for "client-classes" element
        - configureDhcp6Server() - runs the ClientClassDefListParser against
        the "client-classes" element

    src/bin/dhcp6/tests/config_parser_unittest.cc
        Added new tests for parsing client class definitions:
        TEST_F(Dhcp6ParserTest, clientClassDictionary)
        TEST_F(Dhcp6ParserTest, invalidClientClassDictionary)

    src/bin/dhcp6/dhcp6.spec
        Added global "client-classes" element
2015-11-17 13:46:02 -05:00
Francis Dupont
89c8c17a16 [4106] Ported DHCPv4-over-DHCPv6 IPC code from fd4o6 private branch 2015-10-31 19:43:38 +09:00
Francis Dupont
3029c65e56 [3927] spurious indents 2015-10-17 21:05:18 +02:00
Marcin Siodelski
0be32c7229 [3975] Unregister timers prior to reconfiguration. 2015-10-12 18:26:11 +02:00
Marcin Siodelski
cfbd62e006 [3974] Attached parser for expired leases processing to global parser. 2015-10-02 15:36:40 +02:00
Tomek Mrugalski
6b10d119c8 [master] Merge branch 'trac3983' (Decline parameters in v4 and v6) 2015-09-08 14:56:57 +02:00
Tomek Mrugalski
cca862a017 [3983] defaults.h moved to src (after Marcin's review) 2015-09-08 14:56:20 +02:00
Tomek Mrugalski
4b379092a7 [3983] Changes after review:
- commitGlobalParameters renamed to setGlobalParameters
 - const added
 - Comments updated
2015-09-02 13:29:56 +02:00
Tomek Mrugalski
91bfb283b0 [3983] Support for 'decline-probation-period' implemented. 2015-08-20 20:51:28 +02:00
Marcin Siodelski
ddb442f78b [3947] Removed the new-leases-on-renew config parameter.
This change removes ability to disable allocation new leases new
Renew/Rebind, specified in RFC7550. The behavior specified in this
RFC is the only supported behavior.
2015-07-30 14:49:21 +02:00
Marcin Siodelski
8564e578c4 [3947] Implemented 'new-leases-on-renew' parameter. 2015-07-13 19:35:28 +02:00
Francis Dupont
408193e6a4 [3919] moved local variables in their block 2015-06-24 12:53:26 +02: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
Francis Dupont
7173c099f7 [master] spelling 2015-06-12 16:20:44 +02:00
Marcin Siodelski
a6b6156aaa [master] Merge branch 'trac3070' 2015-06-11 07:36:59 +02:00
Tomek Mrugalski
d3da062d51 [master] Merge branch 'trac3796' (statistics interface, part 1)
Conflicts:
	src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
	src/bin/dhcp6/tests/dhcp6_test_utils.cc
2015-06-10 13:36:06 +02: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
Marcin Siodelski
87d22f85c3 [3070] Parse rapid-commit parameter for subnet6. 2015-06-09 12:35:14 +02:00
Tomek Mrugalski
aa10ecc86f [3796] ccsession.cc|h renamed to command_interpreter.cc|h 2015-05-20 16:14:41 +02:00
Marcin Siodelski
d21a9b2bd6 [3747] Renamed parameter record-client-id to match-client-id.
Also fixed a couple of failing unit tests.
2015-05-13 19:41:48 +02:00
Francis Dupont
f73b5b359d [master] JSON summary trivial typo 2015-04-18 15:01:25 +02:00
Francis Dupont
ea6e9d166f [master] remove '#include <config.h' from include files (#3782) 2015-04-18 01:39:43 +02:00
Shawn Routhier
480971bab6 [3735] Fix up a number of warnigns in the Doxygen comments. 2015-03-20 12:10:37 -07:00
Marcin Siodelski
4772ee5897 [master] Merge branch 'trac3705' 2015-03-18 19:51:44 +01:00
Shawn Routhier
23d3c6fd7a [3705] Fix up some typos during review 2015-03-17 14:43:16 -07:00
Marcin Siodelski
81b5979918 [3744] Minor comments update in the JSON parsers. 2015-03-17 12:34:28 +01:00
Marcin Siodelski
b35be4576f [3744] Lease database parser executed as the last one for DHCPv6 server. 2015-03-17 12:22:54 +01:00
Marcin Siodelski
b55dd296af [3705] Address review comments. 2015-03-17 10:14:46 +01:00
Marcin Siodelski
6ed885b735 [3736] Removed a bunch of unused functions. 2015-03-12 12:01:16 +01:00
Tomek Mrugalski
4495b7a713 [3705] ""relay-supplied-options" parameter added. 2015-03-03 23:20:13 +01:00
Francis Dupont
2b9665c1a5 [master] v4/v6 typos in comments 2015-02-20 12:43:28 +01:00
Tomek Mrugalski
cfbe13ad05 [master] Merge branch 'trac3565' (host reservations mac+dhcpv6)
Conflicts:
	src/bin/dhcp6/dhcp6_srv.cc
2015-02-16 20:26:38 +01:00
Tomek Mrugalski
b505c120fb [3565] Changes after review:
- Documentation for reservation-mode added
- spec files updated
- unit-tests for HR no longer use eth0 or eth1
- @todos added when allow_new_leases_in_renewals_ is expected to be used
- HR unit-test no longer uses at()
- Copyright years updated
- getOptionalParam() used when handling reservation-mode
- hrModeFromText() moved to SubnetConfigParser
- hrModeFromText() starts with lowercase and has its documentation expanded
2015-02-16 17:30:15 +01:00
Tomek Mrugalski
34e62083eb [3565] reservation-mode is now configurable 2015-02-12 19:33:06 +01: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
f783c80336 [3604] Going over the unit test to use the new iface config structure. 2015-02-06 20:36:14 +01:00
Tomek Mrugalski
f643dc9f47 [3554] Configurable MAC sources implemented. 2014-12-16 14:53:57 +01:00
Marcin Siodelski
aacdfadac9 [3628] Host reservation parser is now connected to the subnet parsers. 2014-11-27 15:24:08 +01:00