2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00
Commit Graph

30725 Commits

Author SHA1 Message Date
Razvan Becheriu
7ad08e1512 [#893] fixed rebase 2020-04-14 22:41:14 +03:00
Razvan Becheriu
576fb6cbb0 [#893] fixed unittests 2020-04-14 22:32:06 +03:00
Razvan Becheriu
4bb7b1a0aa [#893] added unittests 2020-04-14 22:30:13 +03:00
Razvan Becheriu
ce4a5977fb [#893] minor fixes 2020-04-14 22:28:19 +03:00
Razvan Becheriu
4bbdc09943 [#893] parse multi-threading config and apply 2020-04-14 22:28:19 +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
3bbaaeb401 fixed compilation 2020-04-14 22:22:09 +03:00
Razvan Becheriu
5229681a7e [#893] added unittests 2020-04-14 22:21:45 +03:00
Razvan Becheriu
addd63ebb2 [#893] minor changes 2020-04-14 22:21:45 +03:00
Razvan Becheriu
8bee23ca2b [#893] added documentation 2020-04-14 22:20:29 +03:00
Razvan Becheriu
0ab220a3e3 [#893] added multi-threading parameters 2020-04-14 22:20:29 +03:00
Razvan Becheriu
25ee29e289 [#1005] Improved doxygen comments 2020-04-14 20:31:35 +02:00
Razvan Becheriu
cb33439f10 [#1005] Improved doxygen comments 2020-04-14 20:31:35 +02:00
Francis Dupont
b76cb1aceb [#1005] Improved doxygen comments 2020-04-14 20:31:35 +02:00
Francis Dupont
7f00f8bce1 [#1005] Addressed comments 2020-04-14 20:31:35 +02:00
Francis Dupont
9bff027454 [#1005] Changed default interaction with existing stats 2020-04-14 20:31:35 +02:00
Francis Dupont
5f893e6696 [#1005] Fixed comment 2020-04-14 20:31:35 +02:00
Francis Dupont
fe80ce65d1 [#1005] Finished new default sample limits 2020-04-14 20:31:35 +02:00
Francis Dupont
a4dc3db6b3 [#1005] Checkpoint: updated stats lib 2020-04-14 20:31:35 +02:00
Francis Dupont
08f8f89dfc [#1005] Regen flex and bison 2020-04-14 20:31:35 +02:00
Francis Dupont
96801c6a76 [#1005] Extended syntax 2020-04-14 20:31:35 +02:00
Francis Dupont
eeca3113d4 [#882] Added lease[46]-get-page api doc 2020-04-07 13:24:54 +00:00
Francis Dupont
26cc6b8201 [#1010] Cosmetics 2020-04-02 22:02:38 +02:00
Francis Dupont
e50ad97675 [#1010] Regen flex and bison with last tools 2020-04-02 19:12:26 +00:00
Thomas Markwalder
50ac4684ea [#1010] Fixed errors in all_keys.json files 2020-04-02 21:09:48 +02:00
Thomas Markwalder
a58344cbc2 [#1010] Added ChangeLog entry. 2020-04-02 21:09:48 +02:00
Thomas Markwalder
afcccdb46a [#1010] Updated ARM and all-keys.json
modified:
doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
2020-04-02 21:09:00 +02:00
Thomas Markwalder
8420b49913 [#1010] Added support for store-extended-info to kea-dhcp6
src/bin/dhcp4/tests/config_parser_unittest.cc
    TEST_F(Dhcp4ParserTest, storeExtendedInfoNoGlobal)
    TEST_F(Dhcp4ParserTest, storeExtendedInfoGlobal) - new tests

src/bin/dhcp4/tests/dora_unittest.cc
    TEST_F(DORATest, storeExtendedInfoEnabled)
    TEST_F(DORATest, storeExtendedInfoDisabled) - new tests

src/bin/dhcp4/tests/get_config_unittest.cc
    updated unit tests

src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
src/bin/dhcp6/json_config_parser.cc
    added support for store-extended-info

src/bin/dhcp6/tests/get_config_unittest.cc
    updated unit tests

src/bin/dhcp6/tests/config_parser_unittest.cc
    TEST_F(Dhcp6ParserTest, storeExtendedInfoGlobal)
    TEST_F(Dhcp6ParserTest, storeExtendedInfoNoGlobal) - new tests
2020-04-02 21:09:00 +02:00
Thomas Markwalder
4d3cb9ab14 [#1010] Modified AllocateEngine and parsers to store extended v6 lease info
src/lib/dhcpsrv/alloc_engine.*
    AllocEngine::reuseExpiredLease()
    AllocEngine::createLease6()
    AllocEngine::extendLease6() - added call to AllocEngine::updateLase6ExtendedInfo()

    AllocEngine::updateLease4ExtendedInfo() - create Elements directly

    AllocEngine::updateLease6ExtendedInfo() - new method

src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
    TEST_F(AllocEngine6ExtendedInfoTest, updateExtendedInfo6)
    TEST_F(AllocEngine6ExtendedInfoTest, storeExtendedInfoEnabled6)
    TEST_F(AllocEngine6ExtendedInfoTest, storeExtendedInfoDisabled6)
    TEST_F(AllocEngine6ExtendedInfoTest, reuseExpiredLease6)
    - new tests

src/lib/dhcpsrv/parsers/dhcp_parsers.cc
src/lib/dhcpsrv/parsers/shared_network_parser.cc
src/lib/dhcpsrv/parsers/base_network_parser.*
    Renamed BaseNetworkParser::parseCommonTimer() to parseCommon() and
    added handling of store-extended-info.

src/lib/dhcpsrv/parsers/simple_parser6.cc
    Added store-extended-info

src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
    updated tests
2020-04-02 21:08:09 +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
Thomas Markwalder
fb3e48e595 [#1010] Added v4 support of store-extended-info to lib dhcpsrv
src/lib/dhcpsrv/alloc_engine.cc
    AllocEngine::updateLease4ExtendedInfo()
    - added check of store-extended-info

src/lib/dhcpsrv/network.*
src/lib/dhcpsrv/parsers/simple_parser4.cc
    added parameter for store-extended-info

src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc

    Updated tests to include store-extended-info
2020-04-02 21:06:01 +02:00
Thomas Markwalder
3b75ebf271 [#1010] Modified AllocateEngine to store extended lease4 info
src/lib/dhcpsrv/alloc_engine.*
    AllocEngine::updateLease4ExtendedInfo() - new function

    AllocEngine::createLease4()
    AllocEngine::updateLease4Info()
    - added call to updateLease4ExtendedInfo(lease, ctx);

src/lib/dhcpsrv/tests/alloc_engine4_unittest.cc
    TEST_F(AllocEngine4Test, updateExtendedInfo4)
    TEST_F(AllocEngine4Test, storeExtendedInfoEnabled4)
    TEST_F(AllocEngine4Test, storeExtendedInfoDisabled4)

src/lib/dhcpsrv/tests/alloc_engine_utils.h
    NakeAllocEngine::callUpdateLease4ExtendedInfo4()
2020-04-02 21:06:01 +02:00
Razvan Becheriu
0d04b756d4 [#1089] added decumentation 2020-04-02 09:27:57 +00:00
Razvan Becheriu
e31d884c65 [#1089] reverted changes 2020-04-02 09:27:57 +00:00
Razvan Becheriu
63f8149e4a [#1089] refactored and fixed thread pool tests 2020-04-02 09:27:57 +00:00
Francis Dupont
9fbc2164ae [#1089] Protected last error concurrent accesses 2020-04-02 09:27:57 +00:00
Razvan Becheriu
94ac80f524 [#1151] fixed compilation warnings 2020-03-31 23:42:10 +03:00
Francis Dupont
9ba2eb490f [#1151] Made LPF sockets not blocking 2020-03-31 08:20:54 +00:00
Francis Dupont
74a7386c66 [#1150] Addressed last comments 2020-03-30 23:03:11 +02:00
Tomek Mrugalski
d3a3ae7136 [#1150] Typo in ChangeLog fixed 2020-03-30 20:32:47 +02:00
Francis Dupont
be78e6b355 [#1150] Added ChangeLog entry 2020-03-30 18:51:31 +02:00
Francis Dupont
a6f2544140 [#1150] Changed separator to dot 2020-03-30 18:51:31 +02:00
Francis Dupont
b6c008b1a6 [#1150] Added %t in log patterns 2020-03-30 18:51:31 +02:00
Francis Dupont
3d953d0476 [#1070] regen flex and bison (netconf) 2020-03-30 16:18:04 +00:00
Francis Dupont
b2f7a08d0f [#1070] regen flex and bison (ca) 2020-03-30 15:40:17 +00:00
Francis Dupont
7415942352 [#1070] regen flex and bison (d2) 2020-03-30 15:21:18 +00:00
Francis Dupont
518fdc0e87 [#1070] regen flex and bison (dhcp6) 2020-03-30 14:59:33 +00:00
Francis Dupont
644def705f [#1070] regen flex and bison (dhcp4) 2020-03-30 14:52:23 +00:00
Francis Dupont
24657a0049 [#1070] regen flex and bison (eval) 2020-03-30 14:25:10 +00:00