]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Sat, 18 Jul 2015 14:38:16 +0000 (16:38 +0200)]
[rfc7550] Merge branch 'trac3947' into rfc7550
Marcin Siodelski [Sat, 18 Jul 2015 14:35:09 +0000 (16:35 +0200)]
[3947] Do not send hint prefixes in the Reply to Renew or Rebind.
Marcin Siodelski [Sat, 18 Jul 2015 11:42:26 +0000 (13:42 +0200)]
[rfc7550] Merge branch 'trac3947' into rfc7550
Marcin Siodelski [Sat, 18 Jul 2015 11:39:26 +0000 (13:39 +0200)]
[3947] DHCPv6 server returns NoPrefixAvail on Rebind now.
Marcin Siodelski [Wed, 15 Jul 2015 06:16:51 +0000 (08:16 +0200)]
[rfc7550] Merge branch 'trac3947' into rfc7550
Marcin Siodelski [Tue, 14 Jul 2015 13:19:56 +0000 (15:19 +0200)]
[master] Added ChangeLog entry for #3484.
Marcin Siodelski [Tue, 14 Jul 2015 13:18:36 +0000 (15:18 +0200)]
[master] Merge branch 'trac3484'
Stephen Morris [Tue, 14 Jul 2015 12:46:33 +0000 (13:46 +0100)]
[3484] Further corrections to spelling and grammar in the documentation
Marcin Siodelski [Tue, 14 Jul 2015 12:24:43 +0000 (14:24 +0200)]
[3947] Heavy changes to the Dhcp6Client configuration structures.
Also, fixed failing unit tests.
Stephen Morris [Tue, 14 Jul 2015 11:59:52 +0000 (12:59 +0100)]
[3484] Miscellanous editing changes during review
Correction of typos/grammatical errors etc. Also included text in the
contributors' section explaining why test-driven development is used.
Stephen Morris [Tue, 14 Jul 2015 11:59:19 +0000 (12:59 +0100)]
[3484] Correct error in example code
Marcin Siodelski [Mon, 13 Jul 2015 17:35:28 +0000 (19:35 +0200)]
[3947] Implemented 'new-leases-on-renew' parameter.
Marcin Siodelski [Mon, 13 Jul 2015 15:45:33 +0000 (17:45 +0200)]
[master] Merge branch 'trac3941'
Marcin Siodelski [Fri, 10 Jul 2015 15:04:31 +0000 (17:04 +0200)]
[3947] Implemented test for acqusition of the address in Renew.
Marcin Siodelski [Fri, 10 Jul 2015 09:26:25 +0000 (11:26 +0200)]
[3947] Added git ignore for stats mgr tests.
Marcin Siodelski [Fri, 10 Jul 2015 09:23:27 +0000 (11:23 +0200)]
[3947] Implemented basic test for the RFC7550 Renew.
This test checks that the client can request allocation of the
prefix when it renews the existing IA_NA binding.
The DHCPv6 test client had to be extended to faciliate this.
Francis Dupont [Thu, 9 Jul 2015 12:46:25 +0000 (14:46 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 9 Jul 2015 12:45:32 +0000 (14:45 +0200)]
[master] Finished merge of trac3920 (data_ defined twice)
Marcin Siodelski [Thu, 9 Jul 2015 08:38:07 +0000 (10:38 +0200)]
[3941] Renamed logger objects used by DHCPv4 and DHCPv6 server.
Thomas Markwalder [Wed, 8 Jul 2015 16:23:48 +0000 (12:23 -0400)]
[master] Fixed BSD compile error introduced by 3769
Added #include for waitpid() added to testing by 3769.
Marcin Siodelski [Wed, 8 Jul 2015 14:55:19 +0000 (16:55 +0200)]
[3484] Fixed quite a few doxygen warnings.
Marcin Siodelski [Wed, 8 Jul 2015 14:11:39 +0000 (16:11 +0200)]
[3484] Small fixes to remaining dox files.
Thomas Markwalder [Wed, 8 Jul 2015 14:07:21 +0000 (10:07 -0400)]
[master] Added ChangeLog entry 978, for #3769.
Thomas Markwalder [Wed, 8 Jul 2015 13:49:49 +0000 (09:49 -0400)]
[master] Servers now create PID files
Merge branch 'trac3769'
Marcin Siodelski [Wed, 8 Jul 2015 13:19:15 +0000 (15:19 +0200)]
[3769] Fixed typos in the message files.
Marcin Siodelski [Wed, 8 Jul 2015 13:09:55 +0000 (15:09 +0200)]
[3484] Updated Developer's Guide for libdhcpsrv.
Thomas Markwalder [Wed, 8 Jul 2015 13:01:53 +0000 (09:01 -0400)]
[3769] Addressed review comments
Removed Daemon::init() method, improved server log message
descpriptions, and minor typos.
Marcin Siodelski [Wed, 8 Jul 2015 12:42:49 +0000 (14:42 +0200)]
[3484] Updated sections of the Developer's Guide concerning libdhcp++.
Marcin Siodelski [Wed, 8 Jul 2015 11:33:47 +0000 (13:33 +0200)]
[3484] Updated Developer's Guide for the DHCPv4 server.
Marcin Siodelski [Tue, 7 Jul 2015 14:22:31 +0000 (16:22 +0200)]
[3484] Updated heavily outdated sections about the DHCPv6 component.
Tomek Mrugalski [Tue, 7 Jul 2015 14:47:43 +0000 (16:47 +0200)]
[master] ChangeLog updated after #3873 merge.
Tomek Mrugalski [Tue, 7 Jul 2015 14:44:13 +0000 (16:44 +0200)]
[master] Merge branch 'trac3873' (FAQ section in the User's Guide)
Tomek Mrugalski [Tue, 7 Jul 2015 14:43:52 +0000 (16:43 +0200)]
[3873] Minor word-smithing after review
Tomek Mrugalski [Tue, 7 Jul 2015 14:17:32 +0000 (16:17 +0200)]
[master] ChangeLog updated after 3928 merge.
Tomek Mrugalski [Tue, 7 Jul 2015 14:16:00 +0000 (16:16 +0200)]
[master] Merge branch 'trac3928' (missing images in dist tarball)
Marcin Siodelski [Tue, 7 Jul 2015 13:19:56 +0000 (15:19 +0200)]
[3484] Updated documentation of the user_chk library.
Marcin Siodelski [Tue, 7 Jul 2015 12:45:22 +0000 (14:45 +0200)]
[3484] Updated hooks maintenance guide.
Marcin Siodelski [Tue, 7 Jul 2015 12:13:52 +0000 (14:13 +0200)]
[3484] Updated Guide for Component Developers.
Mostly nits.
Marcin Siodelski [Tue, 7 Jul 2015 11:36:47 +0000 (13:36 +0200)]
[3484] Updated description of hooks for DHCPv4 and DHCPv6 server.
Marcin Siodelski [Tue, 7 Jul 2015 11:34:51 +0000 (13:34 +0200)]
[3484] Small updates to the Contributor's Guide.
Marcin Siodelski [Tue, 7 Jul 2015 11:33:40 +0000 (13:33 +0200)]
[3484] Moved logo to the top left corner of the developer's guide.
Marcin Siodelski [Tue, 7 Jul 2015 11:32:34 +0000 (13:32 +0200)]
[3484] Replaced BIND10 logo with ISC logo in the developer's guide.
Thomas Markwalder [Mon, 6 Jul 2015 14:30:54 +0000 (10:30 -0400)]
[3769] Updated Kea Admin guide with PID file info
Added discussion of PID files to start up section for
each of the servers.
Thomas Markwalder [Mon, 6 Jul 2015 13:35:38 +0000 (09:35 -0400)]
[3769] Removed static from Daemon::config_file_ and proc_name_
Rendered config_file_ and proc_name_ instance members as there is
no reason for them to be static.
Thomas Markwalder [Thu, 2 Jul 2015 21:17:08 +0000 (17:17 -0400)]
[3769] DHCPv6 now uses PID file
Added PID file creation to DHCP6
src/bin/dhcp6/dhcp6_messages.mes
- added log DHCP6_ALREADY_RUNNING
src/bin/dhcp6/main.cc
- added logic to create the PID and catch
exception specific to PID conflict
src/bin/dhcp6/tests/Makefile.am
- exports KEA_PIDFILE_DIR
src/bin/dhcp6/tests/dhcp6_process_tests.sh.in
- added call to server_pid_file_test
src/bin/dhcp6/tests/dhcp6_unittests.cc
- main(int argc, char* argv[])
sets env var KEA_PIDFILE_DIR
Thomas Markwalder [Thu, 2 Jul 2015 20:49:53 +0000 (16:49 -0400)]
[3769] DHPCv4 now uses PID file, made pid test common
src/lib/testutils/dhcp_test_lib.sh.in
- server_pid_file_test() - common test for any server
to verify PID file management
src/bin/d2/tests/d2_process_tests.sh.in
remmoved duplicate_server_start_test
now calls server_pid_file_test
Added PID file creation to DHCP4
src/bin/dhcp4/dhcp4_messages.mes
- added log DHCP4_ALREADY_RUNNING
src/bin/dhcp4/main.cc
- added logic to create the PID and catch
exception specific to PID conflict
src/bin/dhcp4/tests/Makefile.am
- exports KEA_PIDFILE_DIR
src/bin/dhcp4/tests/dhcp4_process_tests.sh.in
- added call to server_pid_file_test
src/bin/dhcp4/tests/dhcp4_unittests.cc
- main(int argc, char* argv[])
sets env var KEA_PIDFILE_DIR
Thomas Markwalder [Thu, 2 Jul 2015 18:42:58 +0000 (14:42 -0400)]
[3769] Added env var,KEA_PIDFILE_DIR; D2 now uses a PIDFile
src/lib/dhcpsrv/daemon.c/h
Daemon::Daemon() - Constructor will now override the default PID
directory with the value of env variable KEA_PIDFILE_DIR. This
provides a simple means to alter the value for tests.
Added am_file_author_ flag so Daemon instances will only delete
a file they have written.
src/lib/testutils/dhcp_test_lib.sh.in
- verify_server_pid() - new function which verifies that a server has a PID file
and that it contains the server's PID, and that the process is alive.
src/bin/keactrl/tests/Makefile.am
- added export of KEA_PIDFILE_DIR to override default PID directory during tests
Added PID file creation to D2
src/bin/d2/d_controller.cc
- DControllerBase::launch() - Added block to createPIDFile()
-DControllerBase::parseArgs() Replaced call to Daemon::init()
with call to Daemon::setConfigFile()
src/bin/d2/tests/Makefile.am
- added export of KEA_PIDFILE_DIR to override default PID directory during tests
src/bin/d2/tests/d2_process_tests.sh.in
- dupcliate_server_start_test() - new test which verifies that D2 cannot be
started twice (with the same configuration file)
src/bin/d2/tests/d2_unittests.cc
- main(int argc, char* argv[]) sets environment variable KEA_PIDFILE_DIR
to override default PID diretory during tests
src/lib/util/pid_file.cc/h
src/lib/util/tests/pid_file_unittest.cc
Changed PIDFile::check() to return either the PID contained in the PID file
if the process is alive, or 0, rather than bool. This permits callers
to see/log the PID.
Francis Dupont [Thu, 2 Jul 2015 12:46:46 +0000 (14:46 +0200)]
[master] Removed spurious io in util::io from doxygen comments (reviewed by jabber)
Shawn Routhier [Thu, 2 Jul 2015 06:15:50 +0000 (23:15 -0700)]
[3873] Fix typos
Thomas Markwalder [Wed, 1 Jul 2015 20:20:40 +0000 (16:20 -0400)]
[3769] Added support for creating PIDFiles to dhcpsrv::Daemon
src/lib/dhcpsrv/daemon.h/cc
New methods:
static void setConfigFile(const std::string& config_file);
std::string getProcName() const;
setProcName(const std::string& proc_name);
std::string getPIDFileDir() const;
void setPIDFileDir(const std::string& pid_file_dir);
std::string getPIDFileName() const;
void setPIDFileName(const std::string& pid_file_name);
void createPIDFile(int pid = 0);
std::string makePIDFileName() const;
New members:
std::string proc_name_;
std::string pid_file_dir_;
isc::util::PIDFilePtr pid_file_;
src/lib/dhcpsrv/tests/daemon_unittest.cc
New tests:
TEST_F(DaemonTest, getSetConfigFile)
TEST_F(DaemonTest, getSetProcName)
TEST_F(DaemonTest, getSetPIDFileDir)
TEST_F(DaemonTest, setPIDFileName)
TEST_F(DaemonTest, makePIDFileName)
TEST_F(DaemonTest, createPIDFile)
TEST_F(DaemonTest, createPIDFileOverwrite)
TEST_F(DaemonTest, PIDFileCleanup)
src/lib/util/pid_file.h
Added typedef boost::shared_ptr<PIDFile> PIDFilePtr;
Tomek Mrugalski [Wed, 1 Jul 2015 14:08:57 +0000 (16:08 +0200)]
[3873] FAQ/troubleshooting section added.
Marcin Siodelski [Tue, 30 Jun 2015 16:47:37 +0000 (18:47 +0200)]
[master] Added ChangeLog entry for #3578.
Marcin Siodelski [Tue, 30 Jun 2015 16:45:43 +0000 (18:45 +0200)]
[master] Merge branch 'trac3578'
Shawn Routhier [Tue, 30 Jun 2015 15:41:56 +0000 (08:41 -0700)]
[3578] Minor fixes to docs
Tomek Mrugalski [Tue, 30 Jun 2015 13:40:48 +0000 (15:40 +0200)]
[3928] Added missing images in src/lib/hooks/images to EXTRA_DIST
Tomek Mrugalski [Tue, 30 Jun 2015 13:04:25 +0000 (15:04 +0200)]
[3928] Missing images added to EXTRA_DIST
Marcin Siodelski [Tue, 30 Jun 2015 12:22:19 +0000 (14:22 +0200)]
[master] Added ChangeLog for #3887.
Marcin Siodelski [Tue, 30 Jun 2015 12:21:08 +0000 (14:21 +0200)]
[master] Merge branch 'trac3887'
Marcin Siodelski [Tue, 30 Jun 2015 09:06:15 +0000 (11:06 +0200)]
[master] Added ChangeLog entry for #3740.
Marcin Siodelski [Tue, 30 Jun 2015 08:56:20 +0000 (10:56 +0200)]
[master] Merge branch 'trac3740'
Marcin Siodelski [Tue, 30 Jun 2015 08:54:08 +0000 (10:54 +0200)]
[3740] Changes to the DHCPv4 message description per review comments.
Marcin Siodelski [Tue, 30 Jun 2015 08:43:18 +0000 (10:43 +0200)]
[master] Added ChangeLog entry for #3846.
Marcin Siodelski [Tue, 30 Jun 2015 08:26:12 +0000 (10:26 +0200)]
[master] Merge branch 'trac3846'
Marcin Siodelski [Tue, 30 Jun 2015 08:18:23 +0000 (10:18 +0200)]
[3578] Updated User's Guide per review comments.
Clarifications in the section concerning option values setup.
Shawn Routhier [Tue, 30 Jun 2015 05:50:19 +0000 (22:50 -0700)]
[3470] Tidy up some typos
Shawn Routhier [Tue, 30 Jun 2015 05:28:20 +0000 (22:28 -0700)]
[3578] Tidy up some typos in the docs
Thomas Markwalder [Mon, 29 Jun 2015 18:08:46 +0000 (14:08 -0400)]
[master] Fixed distcheck issues with src/bin/admin tests
There were several minor issues related to src/bin/admin tests
that were visible only when distcheck was perfomed with mysql
and/or postgresql enabled.
Marcin Siodelski [Mon, 29 Jun 2015 09:52:16 +0000 (11:52 +0200)]
[3846] Trivial change in the kea-guide.
Marcin Siodelski [Mon, 29 Jun 2015 09:49:46 +0000 (11:49 +0200)]
[3846] Removed the invalid note from the kea-guide.
Marcin Siodelski [Mon, 29 Jun 2015 09:46:14 +0000 (11:46 +0200)]
[3846] Revised DHCPv6 option definitions in the kea-guide.
Marcin Siodelski [Mon, 29 Jun 2015 09:45:52 +0000 (11:45 +0200)]
[3846] Revised DHCPv4 option definitions in the kea guide.
Francis Dupont [Sat, 27 Jun 2015 11:20:22 +0000 (13:20 +0200)]
[3920] Applied proposed cleanup of Pkt{,4} buf/len constructor
Francis Dupont [Sat, 27 Jun 2015 11:13:02 +0000 (13:13 +0200)]
[3920] Removed reinit of data_
Francis Dupont [Sat, 27 Jun 2015 11:08:39 +0000 (13:08 +0200)]
[master] Finished merge of trac3839 (removed unused exception variables)
Francis Dupont [Sat, 27 Jun 2015 11:02:39 +0000 (13:02 +0200)]
[3839] copyright
Francis Dupont [Sat, 27 Jun 2015 11:02:07 +0000 (13:02 +0200)]
[3839] reindented
Francis Dupont [Sat, 27 Jun 2015 07:12:29 +0000 (09:12 +0200)]
[master] Removed spurious lease_(0) introduced by accident in #3919 marge
Marcin Siodelski [Fri, 26 Jun 2015 17:08:50 +0000 (19:08 +0200)]
[master] Added ChangeLog entry for #3913.
Marcin Siodelski [Fri, 26 Jun 2015 16:41:40 +0000 (18:41 +0200)]
[master] Merge branch 'trac3913'
Marcin Siodelski [Fri, 26 Jun 2015 16:33:29 +0000 (18:33 +0200)]
[3913] Addressed review comments.
Moved the function from the anon namespace to the AllocEngine class.
Marcin Siodelski [Fri, 26 Jun 2015 10:29:25 +0000 (12:29 +0200)]
[3913] Allocation engine extends the lifetime of the lease for Request.
Francis Dupont [Fri, 26 Jun 2015 07:16:39 +0000 (09:16 +0200)]
[master] Updated git hash
Francis Dupont [Fri, 26 Jun 2015 07:15:55 +0000 (09:15 +0200)]
[master] Finished merge of trac3919 (cppcheck small fixes)
Francis Dupont [Fri, 26 Jun 2015 07:06:10 +0000 (09:06 +0200)]
[3919] grammar
Francis Dupont [Fri, 26 Jun 2015 07:00:44 +0000 (09:00 +0200)]
[3919] copyrights
Francis Dupont [Thu, 25 Jun 2015 12:08:54 +0000 (14:08 +0200)]
[master] Merged trac3858a (locat paths in libdhcpsrv_unittests)
Francis Dupont [Thu, 25 Jun 2015 10:54:18 +0000 (12:54 +0200)]
[master] Merged trac3922 (Stopwatch not copyable)
Francis Dupont [Wed, 24 Jun 2015 17:45:57 +0000 (19:45 +0200)]
[3922] Made Stopwatch not copyable
Tomek Mrugalski [Wed, 24 Jun 2015 16:42:39 +0000 (18:42 +0200)]
[master] ChangeLog updated after 3918 merge.
Tomek Mrugalski [Wed, 24 Jun 2015 16:41:24 +0000 (18:41 +0200)]
[master] Merge branch 'trac3918' (KEA_SOCKET_TEST_DIR variable)
Conflicts:
src/lib/util/tests/socketsession_unittest.cc
Francis Dupont [Wed, 24 Jun 2015 14:10:06 +0000 (16:10 +0200)]
[3920] Removed redundant data_ declaration from derived DControllerBase class
Francis Dupont [Wed, 24 Jun 2015 14:01:45 +0000 (16:01 +0200)]
[3920] Removed redundant data_ declaration from derived Pkt4 class
Francis Dupont [Wed, 24 Jun 2015 13:47:12 +0000 (15:47 +0200)]
[3919] Reverted last change and added a comment
Francis Dupont [Wed, 24 Jun 2015 13:33:53 +0000 (15:33 +0200)]
[3919] reworked last unit test which cannot be parsed by buggy cppchecl
Francis Dupont [Wed, 24 Jun 2015 13:02:52 +0000 (15:02 +0200)]
[3919] Removed unused old_leases
Francis Dupont [Wed, 24 Jun 2015 12:59:31 +0000 (14:59 +0200)]
[3919] Fixed typo
Francis Dupont [Wed, 24 Jun 2015 12:58:04 +0000 (14:58 +0200)]
[3919] Fixed cppcheck suppressions
Francis Dupont [Wed, 24 Jun 2015 12:56:19 +0000 (14:56 +0200)]
[3919] Fixed cppcheck suppressions
Tomek Mrugalski [Wed, 24 Jun 2015 12:42:57 +0000 (14:42 +0200)]
[3918] Changes after review:
- filename length is printed if path is too long
- unit-test added for too long path
Tomek Mrugalski [Wed, 24 Jun 2015 12:42:16 +0000 (14:42 +0200)]
[3918] Documentation updated.