2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

27647 Commits

Author SHA1 Message Date
Tomek Mrugalski
7f399ecae1 [#61,!114] commit-id updated. 66-authoritative-flag-in-kea_base 2018-11-07 16:15:27 +07:00
Tomek Mrugalski
901cac7dc8 [#61,!114] Additional acknowledgments added. 2018-11-07 16:13:35 +07:00
Tomek Mrugalski
2b986400d6 [#61,!114] AUTHORS updated 2018-11-07 15:47:35 +07:00
Tomek Mrugalski
a27f072096 [#61,!114] ChangeLog updated. 2018-11-07 15:45:41 +07:00
Tomek Mrugalski
d9d090c3a3 [#61,!114] Fixed 2 bugs in kea-admin
Thanks for a patch to lmasarati!
2018-11-07 15:45:27 +07:00
Thomas Markwalder
8c8f4dd476 [#42, !103] General clean up 2018-11-06 11:22:57 -05:00
Thomas Markwalder
eddf6e3dfb [#42] kea-dhcp4 parsing simplified
kea-dhcp4 parsing now matches kea-dhpc6 in parsing queue-control
as simply a map that must contain "queue-type".
2018-11-06 09:42:59 -05:00
Thomas Markwalder
32d8549e52 [#42] kea-dhcp6 can now parse and use queue-control
src/bin/dhcp6/ctrl_dhcp6_srv.cc
    ControlledDhcpv6Srv::processConfig() - adde packet queue config logic

src/bin/dhcp6/dhcp6_lexer.ll
    Added parsing of queue-control

src/bin/dhcp6/dhcp6_messages.mes
    Added DHCP6_CONFIG_PACKET_QUEUE message

src/bin/dhcp6/dhcp6_parser.yy

src/bin/dhcp6/json_config_parser.cc
    configureDhcp6Server() - now parses "queue-control"

src/bin/dhcp6/parser_context.*
    Added QUEUE_CONTROL

src/bin/dhcp6/tests/config_parser_unittest.cc
    TEST_F(Dhcp6ParserTest, queueControl)
    TEST_F(Dhcp6ParserTest, queueControlInvalid) - new tests

src/lib/dhcpsrv/parsers/queue_control_parser.*
    Revamped to construct an ElementPtr rather than QueueControl
2018-11-06 09:31:40 -05:00
Thomas Markwalder
4dc3ba6be0 [#42] Replaced use of QueueControl with ElementPtr
deleted:
    src/lib/dhcp/queue_control.cc
	src/lib/dhcp/queue_control.h
	src/lib/dhcp/tests/queue_control_unittest.cc

Updates is mulitple files
2018-11-05 15:29:01 -05:00
Marcin Siodelski
926086ee7f [master] Added ChangeLog entry for #78,!85. 2018-11-05 20:20:09 +01:00
Marcin Siodelski
c54ea21646 [#78,!85] Addressed review comments. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
f6243bae6b [#78,!85] max-period in dhcp-disable set to sync-timeout HA parameter. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
17cd8f9421 [#78,!85] Updated HA/timeouts section in the User's Guide. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
055eec3bac [#78,!85] Send dhcp-disable every time we ask for a page of leases. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
968a3de563 [#78,!85] Tagged lease_cmds Guide section with id. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
942fab72f6 [#78,!85] Added section to the User Guide about sync-page-limit parameter. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
3f80f94392 [#78,!85] Sync page limit is now configurable. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
22879b5cf3 [#78,!85] Corrected unit test name. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
d557e4bcb7 [#78,!85] Use leaseX-get-page command instead of leaseX-get-all in HA sync. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
e1f7b0ed41 [#78,!85] HA command creator supports leaseX-get-page commands. 2018-11-05 13:38:41 -05:00
Marcin Siodelski
33931432cb [master] Added ChangeLog entry for #64,!41. 2018-11-05 17:48:01 +01:00
Marcin Siodelski
c1c1d0b714 [#64,!41] Minor updates to the class_cmds reference. 2018-11-05 11:38:48 -05:00
Marcin Siodelski
9a9808c612 [#64,!41] Updated class_cmds docs per review comments. 2018-11-05 11:38:48 -05:00
Tomek Mrugalski
e1b5adfc39 [#64,!41] Docs updated. 2018-11-05 11:38:48 -05:00
Marcin Siodelski
8543266e77 [64-client-class-cmds-hook] Added class_cmds hooks library to the list in guide. 2018-11-05 11:38:48 -05:00
Marcin Siodelski
faf5216c03 [64-client-class-cmds-hook] Added kea-docgen into the .gitignore. 2018-11-05 11:38:48 -05:00
Marcin Siodelski
879072603d [64-client-class-cmds-hook] Documented class_cmds in API docs. 2018-11-05 11:38:48 -05:00
Marcin Siodelski
14f4932334 [64-client-class-cmds-hook] Documented class_cmds in the User's Guide. 2018-11-05 11:38:48 -05:00
Marcin Siodelski
b5696786ab [64-client-class-cmds-hook] Better description of dependent_class parameter.
This is in the ClientClassDef::dependOnClass. Review comment.
2018-11-05 11:38:48 -05:00
Marcin Siodelski
08d650e439 [64-client-class-cmds-hook] Control whether class def parser appends position. 2018-11-05 11:38:48 -05:00
Francis Dupont
9cf2af27ed [5685] Removed unused unit test 2018-11-05 11:38:48 -05:00
Francis Dupont
0c0ae4697a [5685] Added dependency methods and tests 2018-11-05 11:38:48 -05:00
Francis Dupont
9ca5257cd4 [5685] Checkpoint: list -> vector 2018-11-05 11:38:48 -05:00
Thomas Markwalder
90fd7ebfaa [#42] Implemented PacketQueueMgr class
New files:
    src/lib/dhcp/packet_queue_mgr.h
    src/lib/dhcp/packet_queue_mgr4.cc
    src/lib/dhcp/packet_queue_mgr4.h
    src/lib/dhcp/packet_queue_mgr6.cc
    src/lib/dhcp/packet_queue_mgr6.h
    src/lib/dhcp/tests/packet_queue_mgr4_unittest.cc
    src/lib/dhcp/tests/packet_queue_mgr6_unittest.cc
    src/lib/dhcp/tests/packet_queue_testutils.h

src/bin/dhcp4/ctrl_dhcp4_srv.cc
    Cleaned up packet queue config block

src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/tests/config_parser_unittest.cc
    added queue-type

src/bin/dhcp4/dhcp4_messages.mes
    added DHCP4_CONFIG_PACKET_QUEUE message

src/lib/dhcp/Makefile.am
    packet_queue_mgr.h
    packet_queue_mgr4.cc packet_queue_mgr4.h
    packet_queue_mgr6.cc packet_queue_mgr6.h

src/lib/dhcp/iface_mgr.*
    Replaced packet queue members with PQM members
    Added PQM instantion to IfaceMgr ctor

src/lib/dhcp/packet_queue.h
    added getInfo,getInfoStr

src/lib/dhcp/tests/Makefile.am
    packet_queue_mgr4_unittest.cc
    packet_queue_mgr6_unittest.cc

src/lib/dhcpsrv/parsers/queue_control_parser.cc
    added queue-type
2018-11-05 11:21:29 -05:00
Wlodzimierz Wencel
d989e0c188 Update Makefile.am to add libkea-database.la 2018-11-05 09:08:53 -05:00
Tomek Mrugalski
ed1ad15587 [#202, !111] Corrected the ChangeLog numbering 2018-11-05 17:11:30 +07:00
Tomek Mrugalski
d2557d0389 [#202, !111] EXTRA_DIST corrected in doc/docgen/Makefile.am 2018-11-05 17:10:36 +07:00
Tomek Mrugalski
303af01697 [#202, !111] ChangeLog updated. 2018-11-05 17:10:36 +07:00
Tomek Mrugalski
3370bee2ed [#202, !111] make distcheck fix
Changes proposed by Wlodek Wencel
Signed-off-by: Tomek Mrugalski <tomasz@isc.org>
2018-11-05 17:09:31 +07:00
Francis Dupont
4546f30666 [master] Fixed conflict in ChangeLog 2018-11-05 09:27:01 +01:00
Tomek Mrugalski
372506ca35 [#180,!93] ChangeLog updated 2018-11-05 15:06:22 +07:00
Tomek Mrugalski
d12fb04d71 [#180,!93] Last doxygen warning addressed. 2018-11-05 14:16:20 +07:00
Tomek Mrugalski
63dc9ec8cf [#180,!93] More doxygen warnings fixed. 2018-11-05 14:09:07 +07:00
Francis Dupont
b6b88ab014 [180-address-some-doxygen-warnings-errors] Saved tentative fixes 2018-11-05 13:29:11 +07:00
Francis Dupont
94226669bb [master] Updated git hash 2018-11-04 07:20:45 +01:00
Francis Dupont
609ddc6961 [29-cryptolink-random-generator] Updated random users 2018-11-04 01:05:08 -05:00
Francis Dupont
9e742d3034 [29-cryptolink-random-generator] Added RNG support 2018-11-04 01:05:08 -05:00
Thomas Markwalder
036d249fd1 [#42, !103] Interrim commit, kea-dhcp4 supports "queue-control"
kea-dhcp4 will parse and use "queue-control" to configure ring
    buffer size:

    "Dhcp4":
    {
        "queue-control": {
            # max number of packets the ring will hold
            "capacity" : 100
        },
    :

    This is an interrim commit for testing purposes.
    Expect a fair amount of refactoring in subsequent commits.

New files:
	src/lib/dhcp/queue_control.cc
	src/lib/dhcp/queue_control.h
	src/lib/dhcp/tests/queue_control_unittest.cc
	src/lib/dhcpsrv/parsers/queue_control_parser.cc
	src/lib/dhcpsrv/parsers/queue_control_parser.h

src/bin/dhcp4/ctrl_dhcp4_srv.cc
    ControlledDhcpv4Srv::processConfig() -
        added logic to set packet queue controller

src/bin/dhcp4/dhcp4_lexer.ll b/src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
src/bin/dhcp4/parser_context.*
    Added queue-control parsing

src/bin/dhcp4/json_config_parser.cc
    configureDhcp4Server() - recognize and parse "queue-control"

src/bin/dhcp4/tests/config_parser_unittest.cc
    TEST_F(Dhcp4ParserTest, queueControl)
    TEST_F(Dhcp4ParserTest, queueControlInvalid)
    - new tests

src/lib/dhcp/iface_mgr.*
    IfaceMgr::getPacketQueueControl4()
    IfaceMgr::setPacketQueueControl4()
    IfaceMgr::getPacketQueueControl6()
    IfaceMgr::setPacketQueueControl6()

src/lib/dhcp/packet_queue.*
    Use QueueControl class

src/lib/dhcpsrv/srv_config.*
    Added QueueControl member, getter/setter
    SrvConfig::toElement() - now emits queue-control if not null
2018-11-01 11:19:55 -04:00
Marcin Siodelski
110214b56a [master] Added ChangeLog for #194. 2018-10-31 23:00:16 +01:00
Marcin Siodelski
bcce7d3c22 [#194,!104] Removed libkea-process dependency on MySQL, Postgres and CQL. 2018-10-31 16:28:57 -04:00