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

247 Commits

Author SHA1 Message Date
Francis Dupont
97fa15deaf [#1082] Checkpoint: use new code, built but some tests must be updated 2022-01-06 14:48:45 +02:00
Thomas Markwalder
f914dd9c96 [#1307] Added parked-packet-limit parameter to kea-dhcp4
Can be parsed, but does nothing

doc/examples/kea4/all-keys.json
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
    added parked-packet-limit

src/bin/dhcp4/tests/config_parser_unittest.cc
    TEST_F(Dhcp4ParserTest, parkedPacketLimit)  - new test

src/bin/dhcp4/tests/get_config_unittest.cc
    updated
2021-09-17 11:10:34 -04:00
Andrei Pavel
8c7c23451b [#1721] Dhcpv[46]Srv::redactConfig 2021-05-21 13:22:00 +00:00
Andrei Pavel
0d7c7de819 [#1721] order-conscious filtering of redact paths 2021-05-21 13:22:00 +00:00
Andrei Pavel
5e94de9ed2
[#1860] lenient parsing logic for option 16 2021-05-19 15:59:02 +03:00
Andrei Pavel
2872ae70f9
[#1860] add "compatibility" parameter to parsers
and "lenient-option-parsing"
2021-05-19 15:59:02 +03:00
Andrei Pavel
c53e135833
[#1656] 1.9.4 release: update copyrights 2021-01-25 13:52:09 +02:00
Andrei Pavel
96f049b111
[#1656] 1.9.4 release: spelling check 2021-01-25 13:52:09 +02:00
Razvan Becheriu
4461337f72 [#1375] addressed review comments 2020-12-09 19:12:47 +02:00
Razvan Becheriu
dff6de1464 [#1375] added unittests for recover db connection with timer 2020-12-09 19:12:46 +02:00
Razvan Becheriu
42556b0723 [#1375] destroy lease manager if type is not memfile 2020-12-09 19:12:46 +02:00
Razvan Becheriu
265f3fe73a [#1375] fixed unittests 2020-12-09 19:12:46 +02:00
Francis Dupont
d68c31f045 [#1456] Checkpoint: code done, UTs to do 2020-12-09 15:14:06 +01:00
Razvan Becheriu
b8356add98 [#1405] addressed comments 2020-11-18 15:55:24 +02:00
Razvan Becheriu
c76b431261 [#1405] removed warning messages 2020-11-18 15:55:24 +02:00
Razvan Becheriu
0a7be09bbd [#1405] addressed comments 2020-11-18 15:55:24 +02:00
Razvan Becheriu
f06b3ffde9 [#1405] ignore out of pool if in subnet is disabled 2020-11-18 15:55:24 +02:00
Razvan Becheriu
d26a72f560 [#1405] merged second pass 2020-11-18 15:55:23 +02:00
Razvan Becheriu
059642868a [#1405] updated comments 2020-11-18 15:55:23 +02:00
Razvan Becheriu
ca4ae11a79 [#1405] out-of-pool is also in-subnet 2020-11-18 15:55:23 +02:00
Razvan Becheriu
21f9a8f82c [#1405] in-subnet is equivalent to all 2020-11-18 15:55:23 +02:00
Razvan Becheriu
298be5ee54 [#1405] disable reservatio modes flags if any is explicitly configured 2020-11-18 15:55:23 +02:00
Razvan Becheriu
4bb89f01a7 [#1405] implemented separate boolean flags for reservation modes 2020-11-18 15:55:22 +02:00
Razvan Becheriu
5f17f66387 [#1405] fixed check for both reservation-mode and reservation-modes 2020-11-18 15:55:22 +02:00
Razvan Becheriu
02ac459451 [#1405] added parser class 2020-11-18 15:55:22 +02:00
Thomas Markwalder
00305bc7d4 [#1386] kea-dhcp4/6 now parse ddns-use-conflict-resolution
Both servers parse and store ddns-use-conflict-resolution but
do nothing with it.

doc/examples/kea4/all-keys.json
doc/examples/kea4/with-ddns.json
doc/examples/kea6/all-keys.json
doc/examples/kea6/with-ddns.json
    Added entries for ddns-use-conflict-resolution

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
src/bin/dhcp4/tests/get_config_unittest.cc
    Added support for ddns-use-conflict-resolution

src/bin/dhcp4/tests/get_config_unittest.cc.skel
    Changed important calls to ASSERT_NO_THROW_LOG to ease debugging

src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
src/bin/dhcp6/tests/get_config_unittest.cc
    Added support for ddns-use-conflict-resolution

src/bin/dhcp6/tests/get_config_unittest.cc.skel
    Changed important calls to ASSERT_NO_THROW_LOG to ease debugging

src/lib/dhcpsrv/parsers/base_network_parser.cc
    Fixed copy/paste error
2020-10-21 14:19:52 -04:00
Thomas Markwalder
3a4455a4a7 [#1385] kea-dhcp4 supporst ddns-update-on-renew
(Parsers need to be regenerated)

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/json_config_parser.cc
    added ddns-update-on-renew parameter

src/bin/dhcp4/dhcp4_srv.*
    Dhcpv4Srv::createNameChangeRequests() - added DdnsParams
    argument and modified to use ddns-update-on-renew in logic

src/bin/dhcp4/tests/fqdn_unittest.cc
    TEST_F(NameDhcpv4SrvTest, createNameChangeRequestsUpdateOnRenew)
    - new test

src/bin/dhcp4/tests/get_config_unittest.cc
    Updated

src/lib/dhcpsrv/network.*
src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
src/lib/dhcpsrv/srv_config.*
    Added ddns-update-on-renew

src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
src/lib/dhcpsrv/tests/shared_network_unittest.cc
src/lib/dhcpsrv/tests/srv_config_unittest.cc
src/lib/dhcpsrv/tests/subnet_unittest.cc
    updated tests
2020-10-09 16:51:28 +02:00
Marcin Siodelski
ab278ed455 [#1428] Basic support for ip-reservations-unique
The DHCPv4 and DHCPv6 servers accept ip-reservations-unique configuration
for IP addresses specified in the configuration file.
2020-10-08 15:44:39 +02:00
Marcin Siodelski
7ccddf643d [#1428] Added ip-reservations-unique parameter
Also regenerated parsers.
2020-10-08 15:44:39 +02:00
Francis Dupont
2fbc4fc0e3 [#1418] Checkpoint: more renames 2020-10-02 17:10:31 +02:00
Francis Dupont
2505d5e3fd [#1418] Checkpoint: updated library, a syntax regen is required 2020-10-02 16:48:59 +02:00
Francis Dupont
6fdd4d7ef9 [#1330] Moved closeSockets 2020-07-27 08:42:02 +00:00
Francis Dupont
02f2139158 [#1330] Revamped interface config parser 2020-07-27 08:42:02 +00:00
Francis Dupont
4c2dbcd065 [#1282] Checkpoint: todo HA new test 2020-06-27 17:59:10 +02:00
Francis Dupont
7e15a39920 [#1245] Addressed comments, todo unittests 2020-06-17 11:27:52 +02:00
Francis Dupont
b82d5ab0b8 [#1245] Forced shared-networks to be handled before (global) subnets 2020-06-17 11:27:52 +02:00
Francis Dupont
8f7329489f [#1245] Checkpoint: flatten v4 2020-06-17 11:27:52 +02:00
Razvan Becheriu
90a422cc92 [#1188] enable multi-threading mode on config parse and added unittests 2020-04-30 13:53:48 +03:00
Razvan Becheriu
f6fd99863b [#893] reverted changes 2020-04-16 14:42:34 +03:00
Razvan Becheriu
349a6aead2 [#893] addressed review comments 2020-04-15 15:25:07 +03:00
Razvan Becheriu
37a16eb94e [#893] added multi threading config parser 2020-04-14 22:28:19 +03:00
Razvan Becheriu
ea9a9fa460 [#893] addressed review comments 2020-04-14 22:27:43 +03:00
Razvan Becheriu
0ab220a3e3 [#893] added multi-threading parameters 2020-04-14 22:20:29 +03:00
Francis Dupont
a4dc3db6b3 [#1005] Checkpoint: updated stats lib 2020-04-14 20:31:35 +02:00
Thomas Markwalder
6b2e8eb4a7 [#1010] Added support for store-extended-info to kea-dhcp4
modified:
    src/bin/dhcp4/dhcp4_lexer.cc
	src/bin/dhcp4/dhcp4_lexer.ll
	src/bin/dhcp4/dhcp4_parser.cc
	src/bin/dhcp4/dhcp4_parser.h
	src/bin/dhcp4/dhcp4_parser.yy
	src/bin/dhcp4/json_config_parser.cc
	src/bin/dhcp4/location.hh
	src/bin/dhcp4/position.hh
	src/bin/dhcp4/stack.hh
	src/bin/dhcp4/tests/get_config_unittest.cc
2020-04-02 21:08:09 +02:00
Michal Nowikowski
6eb858af23 [#1159] added release entry in ChangeLog and updated copyright dates 2020-03-23 09:09:42 +01:00
Razvan Becheriu
cd334bd557 [#893] enable command line parameters 2020-03-18 16:14:29 +02:00
Thomas Markwalder
256feda606 [#35,!517] Rework kea-dhcp4 parsing and server
src/bin/dhcp4/ctrl_dhcp4_srv.cc
    Removed setting D2ClientCfg fetch function

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
    ddns-send-updates
    ddns-override-no-update
    ddns-override-client-update
    ddns-replace-client-name
    ddns-generated-prefix
    ddns-qualifying-suffix
        - added to DHCP4,SHARED_NETWORK,SUBNET4

    hostname-char-set
    hostname-char-replacement
        - added to SHARED_NETWORK,SUBNET4

src/bin/dhcp4/dhcp4_srv.cc

    Dhcpv4Srv::processClientFqdnOption()
    Dhcpv4Srv::processHostnameOption()
    Dhcpv4Srv::assignLease()
        Use scoped DdnsParams from context to make decisions, pass
        into D2ClientMgr functions, and supply hostname sanitizer

src/bin/dhcp4/json_config_parser.cc
    configureDhcp4Server()
    - use SrvConfig::moveDdnsParams() to move dhcp-ddns parameters
    - handle new "ddns-" globals

src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp4/tests/dhcp4_test_utils.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp4/tests/get_config_unittest.cc
    Updated and new tests
2019-10-10 08:32:44 -04:00
Francis Dupont
637e9f03cc [616-error-msgs-contain-references-to-config-file-while-config-backend-is-used] Addressed comment 2019-06-27 19:32:49 +02:00
Francis Dupont
94fd660ecb [616-error-msgs-contain-references-to-config-file-while-config-backend-is-used] Split commit block to add CB indication in log/error messages 2019-06-27 19:32:49 +02:00