]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Tue, 27 Nov 2018 19:08:46 +0000 (20:08 +0100)]
[#136,!143] Added global-reservation.json to Makefile.am
Marcin Siodelski [Tue, 27 Nov 2018 18:02:25 +0000 (19:02 +0100)]
[#136,!143] Updated global-reservations.json
As a result of review. Improved header comment, indentation and some other
comments.
Francis Dupont [Tue, 27 Nov 2018 15:02:44 +0000 (16:02 +0100)]
[136-add-global-host-reservation-examples] Added (and used to find and fix a bug) global reservation examples
Francis Dupont [Tue, 27 Nov 2018 14:25:26 +0000 (15:25 +0100)]
[136-add-global-host-reservation-examples] Removed extra spaces at end of line
Marcin Siodelski [Tue, 27 Nov 2018 20:30:53 +0000 (21:30 +0100)]
[#229,!140] option-def is not accepted in class parser for v6 case.
Per review comment.
Marcin Siodelski [Tue, 27 Nov 2018 12:19:24 +0000 (13:19 +0100)]
[#229,!140] Class parser can now check if all parameters are recognized.
Marcin Siodelski [Tue, 27 Nov 2018 15:26:44 +0000 (16:26 +0100)]
[master] Added Changelog for #85.
Thomas Markwalder [Tue, 27 Nov 2018 14:24:02 +0000 (09:24 -0500)]
[#85,!142] Did some minor wordsmithing.
Marcin Siodelski [Tue, 27 Nov 2018 13:40:34 +0000 (14:40 +0100)]
[#85,!142] Added stat_cmds to the list of available hooks.
Francis Dupont [Tue, 27 Nov 2018 13:45:23 +0000 (13:45 +0000)]
[master] Regen flex/bison (with bison 3.2.2)
Tomek Mrugalski [Tue, 27 Nov 2018 12:39:03 +0000 (13:39 +0100)]
[#275, !130] reverted unnecessary changes in .hh files
Francis Dupont [Mon, 26 Nov 2018 15:33:39 +0000 (15:33 +0000)]
[#275, !130] Regen flex/bison
Francis Dupont [Tue, 20 Nov 2018 13:28:58 +0000 (14:28 +0100)]
[275-config-control-syntax-cleanup] Fixed config-control syntax
Francis Dupont [Tue, 27 Nov 2018 12:04:22 +0000 (13:04 +0100)]
[75-radius-documentation-needs-an-update] Resolved merge conflict
Vicky Risk [Mon, 26 Nov 2018 22:53:53 +0000 (17:53 -0500)]
Revert "add admin.xml to create another docs page"
This reverts commit
5e1d852b6413694522918204ef9c172c927308d5
Vicky Risk [Mon, 26 Nov 2018 22:48:50 +0000 (17:48 -0500)]
add admin.xml to create another docs page
Marcin Siodelski [Fri, 23 Nov 2018 08:43:14 +0000 (09:43 +0100)]
[#158,!136] Added ability to remove all hosts for subnet id.
Marcin Siodelski [Mon, 26 Nov 2018 20:18:48 +0000 (21:18 +0100)]
[master] Added ChangeLog entry for #263.
Francis Dupont [Mon, 26 Nov 2018 15:24:01 +0000 (16:24 +0100)]
[263-changes-that-came-out-during-sanity-checks-of-1-5-0-beta-and-should-be-applied-before-1-5-0] Added more items in AUTHOR and a space between URL and final dot
Marcin Siodelski [Mon, 26 Nov 2018 11:42:41 +0000 (12:42 +0100)]
[#263,!137] Updated link to kea-messages in tools/system_messages.cc
Marcin Siodelski [Mon, 26 Nov 2018 11:37:10 +0000 (12:37 +0100)]
[#263,!137] Reference kea-messages.html generated by Jenkins.
Marcin Siodelski [Mon, 26 Nov 2018 11:34:01 +0000 (12:34 +0100)]
[#263,!137] Man pages point to the KB for User's guide.
Marcin Siodelski [Mon, 26 Nov 2018 10:43:35 +0000 (11:43 +0100)]
[#263,!137] Added netconf to AUTHORS and README.
Marcin Siodelski [Mon, 26 Nov 2018 10:29:00 +0000 (11:29 +0100)]
[#263,!137] Removed extranoeus characters in Kea User's guide intro.
Marcin Siodelski [Mon, 26 Nov 2018 10:25:06 +0000 (11:25 +0100)]
[#263,!137] Change links to gitlab where possible.
Thomas Markwalder [Mon, 26 Nov 2018 19:49:08 +0000 (14:49 -0500)]
[master] Added ChangeLog 1486.
Thomas Markwalder [Mon, 26 Nov 2018 19:46:07 +0000 (14:46 -0500)]
Merge branch 'master' of gitlab.isc.org:isc-projects/kea
Thomas Markwalder [Mon, 26 Nov 2018 19:42:57 +0000 (14:42 -0500)]
[master] Congestion Handling enabled by default for Beta 2
Merges in !132.
Thomas Markwalder [Mon, 26 Nov 2018 19:42:57 +0000 (14:42 -0500)]
[#276,!132] Congestion Handling enabled by default for Beta 2
Francis Dupont [Mon, 26 Nov 2018 13:44:49 +0000 (14:44 +0100)]
[177-serialize-netconf-tests] Added missing shtests
Francis Dupont [Thu, 22 Nov 2018 14:22:12 +0000 (15:22 +0100)]
[177-serialize-netconf-tests] Moved shell tests into tests/shtests
Francis Dupont [Mon, 26 Nov 2018 13:19:29 +0000 (14:19 +0100)]
[master] Updated ChangeLog for #204, !97
Marcin Siodelski [Mon, 26 Nov 2018 12:51:03 +0000 (13:51 +0100)]
[65-libyang-simplify-update-models] Minor corrections in the netconf guide.
Francis Dupont [Sat, 24 Nov 2018 14:43:32 +0000 (15:43 +0100)]
[65-libyang-simplify-update-models] Tried to address comments
Thomas Markwalder [Fri, 23 Nov 2018 16:51:43 +0000 (11:51 -0500)]
[#276,!132] Addressed review comments
Doc clean up.
Francis Dupont [Thu, 22 Nov 2018 14:49:11 +0000 (15:49 +0100)]
[65-libyang-simplify-update-models] Removed distribution of moved module files
Francis Dupont [Thu, 22 Nov 2018 14:41:25 +0000 (15:41 +0100)]
[65-libyang-simplify-update-models] Updated all-keys (added enable-queue)
Francis Dupont [Tue, 20 Nov 2018 17:09:00 +0000 (18:09 +0100)]
[65-libyang-simplify-update-models] Added global reservation-mode
Francis Dupont [Tue, 20 Nov 2018 15:56:06 +0000 (16:56 +0100)]
[65-libyang-simplify-update-models] Moved loggers
Francis Dupont [Tue, 20 Nov 2018 14:35:18 +0000 (15:35 +0100)]
[65-libyang-simplify-update-models] Removes always-include-fqdn
Francis Dupont [Tue, 20 Nov 2018 13:19:36 +0000 (14:19 +0100)]
[65-libyang-simplify-update-models] Revert dhcp[46] syntax fixes
Francis Dupont [Tue, 20 Nov 2018 10:06:23 +0000 (11:06 +0100)]
[65-libyang-simplify-update-models] Revamped list methods: only [gs]etDatabases needs the list name
Francis Dupont [Tue, 20 Nov 2018 03:34:17 +0000 (04:34 +0100)]
[65-libyang-simplify-update-models] Updated netconf tests
Francis Dupont [Tue, 20 Nov 2018 02:56:02 +0000 (03:56 +0100)]
[65-libyang-simplify-update-models] Removed all extra containers
Francis Dupont [Mon, 19 Nov 2018 18:33:32 +0000 (19:33 +0100)]
[65-libyang-simplify-update-models] Checkpoint: removed option-data-list (more to come)
Francis Dupont [Mon, 19 Nov 2018 18:28:28 +0000 (19:28 +0100)]
[65-libyang-simplify-update-models] Less defaults
Francis Dupont [Mon, 19 Nov 2018 17:52:29 +0000 (18:52 +0100)]
[65-libyang-simplify-update-models] Added new entries - fixed syntax
Francis Dupont [Mon, 19 Nov 2018 16:14:02 +0000 (17:14 +0100)]
[65-libyang-simplify-update-models] Removed defaults
Francis Dupont [Mon, 19 Nov 2018 15:55:03 +0000 (16:55 +0100)]
[65-libyang-simplify-update-models] Implemented authoritative
Marcin Siodelski [Wed, 21 Nov 2018 20:46:49 +0000 (21:46 +0100)]
[master] Added ChangeLog for #53.
Thomas Markwalder [Wed, 21 Nov 2018 20:18:56 +0000 (15:18 -0500)]
[#276,!132] Changed dhcp-queue-control.enable-queue to default to true
Marcin Siodelski [Fri, 16 Nov 2018 19:27:21 +0000 (20:27 +0100)]
[#53,!125] Mysql buffer always initialized for HW address in v6.
Marcin Siodelski [Fri, 16 Nov 2018 18:34:07 +0000 (19:34 +0100)]
[#53,!125] Reverted previous test change after fixing the mgr code.
Marcin Siodelski [Fri, 16 Nov 2018 18:30:27 +0000 (19:30 +0100)]
[#53,!125] Ensure that the HW address and client id buffers are non-zero.
Marcin Siodelski [Fri, 16 Nov 2018 18:07:47 +0000 (19:07 +0100)]
[#53,!125] Ensure that the MySQL buffer size is greater than 0.
Marcin Siodelski [Fri, 16 Nov 2018 12:32:10 +0000 (13:32 +0100)]
[#53,!125] Added workaround in the mysql empty-hwaddr test for MariaDB.
Marcin Siodelski [Fri, 16 Nov 2018 12:05:36 +0000 (13:05 +0100)]
[#53,!125] Set null buffer in mysql if the hwaddr, client id is empty.
Marcin Siodelski [Fri, 16 Nov 2018 10:58:35 +0000 (11:58 +0100)]
[#53,!125] Use MYSQL_TYPE_STRING instead of MYSQL_TYPE_VARCHAR.
The latter causes 'buffer type not supported' errors on OpenSUSE and
perhaps some other systems running MariaDB.
Francis Dupont [Tue, 20 Nov 2018 22:58:30 +0000 (22:58 +0000)]
[master] Regen flex/bison
Thomas Markwalder [Tue, 20 Nov 2018 19:53:08 +0000 (14:53 -0500)]
[master] Added ChangeLog entry 1483.
Thomas Markwalder [Tue, 20 Nov 2018 19:48:44 +0000 (14:48 -0500)]
[master] Remerged into merge of !120
Thomas Markwalder [Tue, 20 Nov 2018 19:46:03 +0000 (14:46 -0500)]
[master] Use of threaded/packet-queue (i.e. Congestion handling) is now configurable
Merges in #260,!120
Thomas Markwalder [Tue, 20 Nov 2018 19:28:39 +0000 (14:28 -0500)]
[#260,!120] More post-rebase changes
modified: src/bin/dhcp4/dhcp4_messages.mes
modified: src/bin/dhcp4/tests/config_parser_unittest.cc
modified: src/bin/dhcp4/tests/get_config_unittest.cc
modified: src/bin/dhcp6/tests/get_config_unittest.cc
Vicky Risk [Tue, 20 Nov 2018 19:09:33 +0000 (14:09 -0500)]
Update lfc.dox
Marcin Siodelski [Tue, 20 Nov 2018 17:13:19 +0000 (18:13 +0100)]
[#260,!120] Nap longer - missed in previous commit.
Marcin Siodelski [Tue, 20 Nov 2018 16:42:33 +0000 (17:42 +0100)]
[#260,!120] Further changes in watched_thread tests to avoid races.
Marcin Siodelski [Tue, 20 Nov 2018 16:24:15 +0000 (17:24 +0100)]
[#260,!120] Minor fixes as a result of review.
Thomas Markwalder [Tue, 20 Nov 2018 15:35:56 +0000 (10:35 -0500)]
[#260,!120] Addressed more review comments
Removed RCV_ prefix from WatchedThread::WatchtType members
Scrubbed WatchedThread source for lingering packet/receiver comments
Adjusted test wait times
Marcin Siodelski [Tue, 20 Nov 2018 14:21:57 +0000 (15:21 +0100)]
[#260,!120] As it didn't compile for me, I fixed dependencies in Makefile.am
Thomas Markwalder [Tue, 20 Nov 2018 11:31:38 +0000 (06:31 -0500)]
[#260,!120] Addressed more review comments
doc/guide/congestion-handling.xml
Added subsections to Congestion Handling chapter
src/lib/dhcp/iface_mgr.*
Removed Receiver class, replaced with new class lib::util::thread::WatchedThread
Renamed IfaceMgr::receiver_ to dhcp_receiver
Renamed add_fd to addFDtoSet
src/lib/dhcp/packet_queue_mgr.h
PacketQueueMgr::unregisterFactory() - destroys queue instance
if it matches type being unregistered
New files:
src/lib/util/threads/
watched_thread.h
watched_thread.cc
src/lib/util/threads/tests
watched_thread_unittest.cc
Marcin Siodelski [Mon, 19 Nov 2018 16:49:28 +0000 (17:49 +0100)]
[#260, !120] Fixed typo in the User's guide.
Thomas Markwalder [Mon, 19 Nov 2018 16:18:52 +0000 (11:18 -0500)]
[#260, !120] PacketQueueMgr4/6 are no longer singletons
dhcp::IfaceMgr simply owns instances of the packet queue
managers, rather than them being singletons.
Thomas Markwalder [Mon, 19 Nov 2018 13:09:55 +0000 (08:09 -0500)]
[#260,!120] Moved thread creation from Receiver ctor to new start function
dhcp::Receiver - moved creating receiver's thread out of the constructor
to new Receier::start() method. This alleviates issues with thread worker
functions referring to Receiver members before Receiver fully exists.
Thomas Markwalder [Fri, 16 Nov 2018 14:04:41 +0000 (09:04 -0500)]
[#260,!120] Removed Mutexing from IfaceMgr, PacketQueue must now be thread-safe
Removed Mutexing from IfaceMgr, added it to default kea packet queue
implementations. PacketQueue derivations are required to be thread-safe,
thus leaving upto implementers to choose how.
Thomas Markwalder [Thu, 15 Nov 2018 20:38:57 +0000 (15:38 -0500)]
[#260,!120] Extracted IfaceMgr thread bits into new class, isc::dhcp::Receiver
src/lib/dhcp/iface_mgr.*
Extracted the thread, watch sockets, mutex, and error message members
from IfaceMgr and wrapped them in a new class, isc:dhcp::Receiver.
IfaceMgr::add_fd(int fd, int& maxfd, fd_set* sockets) - new
convenience method for adding descriptors to fd_set(s)
src/lib/dhcp/tests/iface_mgr_unittest.cc
class ReceiverTest - new test fixture
TEST_F(ReceiverTest, receiverClassBasics) - new unit test
Thomas Markwalder [Wed, 14 Nov 2018 16:14:15 +0000 (11:14 -0500)]
[#260,!120] Addressed most of review comments
Addressed all comments except parsing regen and
refactor of watch sockets in IfaceMgr. Doing those
separately.
Thomas Markwalder [Tue, 13 Nov 2018 15:48:39 +0000 (10:48 -0500)]
[#260,!120] Replaced hard-coded default queue type names
Thomas Markwalder [Tue, 13 Nov 2018 13:54:49 +0000 (08:54 -0500)]
[#260,!120] Added Congestion Handling chapter to admin guide
Added a new chapter on Congestion Handling rather than independent
sections for kea-dhcp4 and 6.
modified: doc/guide/Makefile.am
modified: doc/guide/kea-guide.xml
new file: doc/guide/congestion-handling.xml
Thomas Markwalder [Mon, 12 Nov 2018 20:04:02 +0000 (15:04 -0500)]
[#260,!120] Added dhcp-queue-control parser defaults
Added dhcp-queue-control defaults to SimpleParser<4/6>
Revamped server config unit tests
Thomas Markwalder [Mon, 12 Nov 2018 18:43:25 +0000 (13:43 -0500)]
[#260, !120] Beefed up IfaceMgr unit tests
src/lib/dhcp/iface_mgr.*
IfaceMgr::isReceiverRunning() - new, public convenience method
src/lib/dhcp/tests/iface_mgr_unittest.cc
Revamped sendReceive<4/6> tests to test both direct and
indirect packet reception
TEST_F(IfaceMgrTest, configureDHCPPacketQueueTest4)
TEST_F(IfaceMgrTest, configureDHCPPacketQueueTest6) - new tests
Thomas Markwalder [Sat, 10 Nov 2018 18:20:22 +0000 (13:20 -0500)]
[#260,!120] Packet queueing is now optional
src/bin/dhcp<4/6>/ctrl_dhcp<4/6>_srv.cc
ControlledDhcpv<4/6>Srv::processConfig() - now calls
IfaceMgr::configureDHCPPacketQueue
src/bin/dhcp<4/6>/dhcp<4/6>_parser.yy
dhpc-queue-control parsing updated to enforce
enable-queue/queue-type rules
src/bin/dhcp<4/6>/tests/config_parser_unittest.cc
TEST_F(Dhcp<4/6>ParserTest, dhcpQueueControl)
TEST_F(Dhcp<4/6>ParserTest, dhcpQueueControlInvalid)
src/lib/dhcp/iface_mgr.*
IfaceMgr
- closeSockets() - now calls stopDHCPReceiver
- openSockets<4/6>() - now calls startDHCPReceiver
- receive<4/6>Indirect() - new function which monitors receiver
thread watch sockets, reads DHCP packets from queue
- receive<4/6>Direct() - new function which monitors and reads DHCP
packets from interface sockets directly
- receive<4/6>() - rewritten to call receive<4/6>Indirect
if receiver thread is running, otherwise it calls receive<4/6>Direct
- configureDHCPPacketQueue() - new function which either enables queuing
by creating a new packet queue, or disables it by destroying the
existing queue
src/lib/dhcp/packet_queue_mgr.h
PacketQueue::destroyPacketQueue() - new function
src/lib/dhcp/packet_queue_mgr<4/6>.cc
PacketQueueMgr<4/6>::PacketQueueMgr<4/6>() - no longer creates a
default packet queue
src/lib/dhcpsrv/cfg_iface.cc
CfgIface::closeSockets() - removed call to stopDHCPReceiver
CfgIface::openSockets() - removed call to startDHCPReceiver
src/lib/dhcpsrv/parsers/dhcp_queue_control_parser.*
DHCPQueueControlParser
- removed unused family_ member
- parse() - added support for enable-queue
src/lib/dhcpsrv/tests/dhcp_queue_control_parser_unittest.cc
- new file
Thomas Markwalder [Sat, 10 Nov 2018 18:20:22 +0000 (13:20 -0500)]
[#260,!20] Packet queueing is now optional
src/bin/dhcp<4/6>/ctrl_dhcp<4/6>_srv.cc
ControlledDhcpv<4/6>Srv::processConfig() - now calls
IfaceMgr::configureDHCPPacketQueue
src/bin/dhcp<4/6>/dhcp<4/6>_parser.yy
dhpc-queue-control parsing updated to enforce
enable-queue/queue-type rules
src/bin/dhcp<4/6>/tests/config_parser_unittest.cc
TEST_F(Dhcp<4/6>ParserTest, dhcpQueueControl)
TEST_F(Dhcp<4/6>ParserTest, dhcpQueueControlInvalid)
src/lib/dhcp/iface_mgr.*
IfaceMgr
- closeSockets() - now calls stopDHCPReceiver
- openSockets<4/6>() - now calls startDHCPReceiver
- receive<4/6>Indirect() - new function which monitors receiver
thread watch sockets, reads DHCP packets from queue
- receive<4/6>Direct() - new function which monitors and reads DHCP
packets from interface sockets directly
- receive<4/6>() - rewritten to call receive<4/6>Indirect
if receiver thread is running, otherwise it calls receive<4/6>Direct
- configureDHCPPacketQueue() - new function which either enables queuing
by creating a new packet queue, or disables it by destroying the
existing queue
src/lib/dhcp/packet_queue_mgr.h
PacketQueue::destroyPacketQueue() - new function
src/lib/dhcp/packet_queue_mgr<4/6>.cc
PacketQueueMgr<4/6>::PacketQueueMgr<4/6>() - no longer creates a
default packet queue
src/lib/dhcpsrv/cfg_iface.cc
CfgIface::closeSockets() - removed call to stopDHCPReceiver
CfgIface::openSockets() - removed call to startDHCPReceiver
src/lib/dhcpsrv/parsers/dhcp_queue_control_parser.*
DHCPQueueControlParser
- removed unused family_ member
- parse() - added support for enable-queue
src/lib/dhcpsrv/tests/dhcp_queue_control_parser_unittest.cc
- new file
Francis Dupont [Tue, 20 Nov 2018 18:05:14 +0000 (19:05 +0100)]
[master] Updated git hash
Francis Dupont [Tue, 20 Nov 2018 17:59:31 +0000 (18:59 +0100)]
[268-reservation-mode-is-not-global] Updated ChangeLog
Francis Dupont [Tue, 20 Nov 2018 16:16:12 +0000 (17:16 +0100)]
[268-reservation-mode-is-not-global] Patching get_config_unittest.cc to remove always-include-fqdn left by rebase
Marcin Siodelski [Tue, 20 Nov 2018 15:44:26 +0000 (16:44 +0100)]
[268-reservation-mode-is-not-global] Minor editorial updates in User's Guide.
Francis Dupont [Tue, 20 Nov 2018 14:20:08 +0000 (15:20 +0100)]
[268-reservation-mode-is-not-global] Added where reservation-mode parameter can be specified
Francis Dupont [Tue, 20 Nov 2018 14:11:20 +0000 (14:11 +0000)]
[#268,!125] Regen flex/bison
Francis Dupont [Fri, 16 Nov 2018 22:49:15 +0000 (23:49 +0100)]
[268-reservation-mode-is-not-global] Updated doc and config tests
Francis Dupont [Fri, 16 Nov 2018 22:09:31 +0000 (23:09 +0100)]
[268-reservation-mode-is-not-global] Updated code for global reservation mode
Francis Dupont [Tue, 20 Nov 2018 17:46:14 +0000 (18:46 +0100)]
[master] Added ChangeLog entry about keatest-module.yang cleanup
Marcin Siodelski [Tue, 20 Nov 2018 17:13:19 +0000 (18:13 +0100)]
[#260,!120] Nap longer - missed in previous commit.
Marcin Siodelski [Tue, 20 Nov 2018 16:42:33 +0000 (17:42 +0100)]
[#260,!120] Further changes in watched_thread tests to avoid races.
Marcin Siodelski [Tue, 20 Nov 2018 16:24:15 +0000 (17:24 +0100)]
[#260,!120] Minor fixes as a result of review.
Francis Dupont [Mon, 12 Nov 2018 17:04:00 +0000 (18:04 +0100)]
[65-libyang-clean-keatext] Reduced model and adapted tests
Thomas Markwalder [Tue, 20 Nov 2018 15:35:56 +0000 (10:35 -0500)]
[#260,!120] Addressed more review comments
Removed RCV_ prefix from WatchedThread::WatchtType members
Scrubbed WatchedThread source for lingering packet/receiver comments
Adjusted test wait times
Marcin Siodelski [Tue, 20 Nov 2018 14:21:57 +0000 (15:21 +0100)]
[#260,!120] As it didn't compile for me, I fixed dependencies in Makefile.am
Francis Dupont [Tue, 20 Nov 2018 13:56:57 +0000 (14:56 +0100)]
[master] Added ChangeLog entry for always-include-fqdn removal
Francis Dupont [Tue, 20 Nov 2018 13:51:15 +0000 (13:51 +0000)]
[#182, !128] Regen flex/bison
Francis Dupont [Sat, 17 Nov 2018 14:54:32 +0000 (15:54 +0100)]
[182-remove-always-include-fqdn-configuration-parameter-from-d2clientconfig] Finished to remove always-include-fqdn