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

146 Commits

Author SHA1 Message Date
Marcin Siodelski
d92cc17a20 [#969] DHCPv6 allocators configurable 2023-01-07 11:45:06 +01:00
Marcin Siodelski
9571b8f80b [#969] Configure allocator for DHCPv4 2023-01-07 11:45:06 +01:00
Razvan Becheriu
85ee4d1688 [#248] regenerated parsers 2022-10-24 17:49:34 +00:00
Francis Dupont
63995785e9 [2595] regen flex/bison 2022-10-18 22:59:06 +02:00
Dan Theisen
b63755835e [#2543] Regenerate parsers 2022-10-11 01:03:46 -07:00
Marcin Godzina
e63319b0ed [#2388] release changes 2022-04-25 19:17:45 +02:00
Razvan Becheriu
2076cde182 [#1716] regenerated parser files 2022-04-05 10:51:55 +03:00
Francis Dupont
28f001f6c0 [2116] regen flex/bison 2022-03-31 08:11:37 +00:00
Razvan Becheriu
d41571ce17 [#2116] remove cql code 2022-03-31 08:11:37 +00:00
Francis Dupont
9df65becb2 [2249] regen flex/bison 2022-03-14 20:20:37 +02:00
Razvan Becheriu
34574b0116 [#2036] regenerated parser files 2022-02-04 18:55:51 +02:00
Francis Dupont
9030e39ca9 [34] regen flex/bison 2022-01-06 13:12:40 +01:00
Andrei Pavel
051fd12ffc
[#2084] regenerate parsers 2021-12-17 17:21:51 +02:00
Andrei Pavel
c160323039
[#2197] release changes 2021-11-22 12:59:15 +02:00
Wlodek Wencel
4125b128d0 [#2107] parsers regen for release 2021-09-27 07:39:31 +00: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
17412cc914
[#1947] 1.9.9 release changes 2021-06-28 10:34:31 +03:00
Wlodek Wencel
95f5255ff8 [#1887] release changes 2021-05-23 23:34:09 -07:00
Andrei Pavel
7393a39bd9
[#1860] regenerate parsers 2021-05-19 15:59:02 +03:00
Andrei Pavel
1f533cdec2
[#1772] regenerate parsers 2021-03-29 21:53:47 +03:00
Razvan Becheriu
7ad76302b1 [#1621] regenerated parsers and updated documentation 2021-03-29 21:11:29 +03:00
Andrei Pavel
47931189d1
[#1760] regenerate parsers 2021-03-26 13:02:13 +02:00
Thomas Markwalder
ba98ea39a4 [#1635] Added valid-lifetime to v4 client class
Client class definitions in kea-dhcp4 will now parse
and store valid lifetime triplet (e.g. min-valid-lifetime,
valid-lifetime, and max-valid-lifetime).  Does nothing
with it yet.

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy
    Added support for valid-lifetime triplet to client class
    definitions

src/lib/cc/simple_parser.*
    SimpleParser::const Triplet<uint32_t>SimpleParser::parseIntTriplet()
    - was formerly dhcp::BaseNetworkParser::parseLifetime()

src/lib/dhcpsrv/client_class_def.*
    ClientClassDef::ClientClassDef
    - added Triplet<uint32_t>valid_  member

src/lib/dhcpsrv/parsers/base_network_parser.*
    Extracted BaseNetworkParser::parseLifetime - relocated
    to cc::SimpleParser

src/lib/dhcpsrv/parsers/client_class_def_parser.cc
    ClientClassDefParser::parse - added call to parseIntTriplet
    to parse valid-lifetime

src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/parsers/shared_network_parser.cc
    Replaced calls parseLifeTime() with parseIntTriplet()

src/lib/dhcpsrv/tests/client_class_def_parser_unittest.cc
    TEST_F(ClientClassDefParserTest, validLifetimeTests) - new test
2021-02-19 13:21:17 -05:00
Francis Dupont
09e45abece [#1699] Regen with bison 3.7.5 2021-02-16 17:03:42 +01:00
Wlodek Wencel
3ed001b29d [#1609] regenerated parsers 2020-12-14 13:35:07 +00:00
Andrei Pavel
d57741fed6
[#1554] regenerate parsers 2020-11-23 13:40:41 +02:00
Razvan Becheriu
ecdc2eb119 [#1405] regenerated parsers 2020-11-18 15:55:23 +02:00
Razvan Becheriu
8e6bd3ee6c [#1405] generated parsers and messages 2020-11-18 15:55:23 +02:00
Francis Dupont
fa688f48f3 [#1405] Regen flex and bison 2020-11-18 15:55:23 +02:00
Thomas Markwalder
732b00e5cc [#1386] Regenerated parsers
Regenerated parsers for kea-dhcp4/6 for !976

src/bin/dhcp4/dhcp4_lexer.cc
src/bin/dhcp4/dhcp4_parser.cc
src/bin/dhcp4/dhcp4_parser.h
src/bin/dhcp4/location.hh
src/bin/dhcp4/position.hh
src/bin/dhcp4/stack.hh

src/bin/dhcp6/dhcp6_lexer.cc
src/bin/dhcp6/dhcp6_parser.cc
src/bin/dhcp6/dhcp6_parser.h
src/bin/dhcp6/location.hh
src/bin/dhcp6/position.hh
src/bin/dhcp6/stack.hh
2020-10-21 14:19:53 -04: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
Francis Dupont
ab11bd4c4f [#1385] Regen flex/bison 2020-10-09 14:55:44 +00:00
Francis Dupont
ea0fba2999 [#1385] Regen flex/bison 2020-10-09 16:55:21 +02:00
Marcin Siodelski
3ef7ab5be9 [#1428] Regenerated parsers for DHCP 2020-10-08 15:44:39 +02:00
Francis Dupont
3690070d35 [#1418] Regen flex/bison 2020-10-02 15:10:30 +00:00
Francis Dupont
bb09936fe6 [#1418] Regen flex/bison 2020-10-02 16:50:45 +02:00
Francis Dupont
d37f3d38ab [#1102] regen bison 2020-09-21 12:37:07 +02:00
Francis Dupont
1dda4c1003 [1102] regen bison 2020-09-21 12:36:02 +02:00
Francis Dupont
67d5f9ac0f [1197] regen bison 2020-09-02 15:33:09 +00:00
Francis Dupont
92849b6886 [#916] Regen flex and bison files 2020-07-08 14:32:45 +02:00
Wlodek Wencel
099412a53c [#1288] code changes for 1.7.9 release 2020-06-22 13:57:32 +02:00
Francis Dupont
cfc299dc07 [#1224] Regen bison files with 3.6.2 2020-05-19 07:21:03 +00:00
Francis Dupont
0129727111 [#1185] Regen flex and bison 2020-04-24 12:57:23 +00:00
Razvan Becheriu
e5450e4e94 [#893] generated tests and parsers 2020-04-15 16:36:29 +03:00
Francis Dupont
08f8f89dfc [#1005] Regen flex and bison 2020-04-14 20:31:35 +02:00
Francis Dupont
e50ad97675 [#1010] Regen flex and bison with last tools 2020-04-02 19:12:26 +00:00
Francis Dupont
644def705f [#1070] regen flex and bison (dhcp4) 2020-03-30 14:52:23 +00:00
Francis Dupont
139942acb0 [#274,!543] regen flex/bison 2019-11-25 17:23:32 +00:00
Wlodek Wencel
6de8797d18 [#974] parsers regenerated for 1.7.1 2019-10-29 06:49:44 +01: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