]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
11 years ago[2949] Changes after review:
Tomek Mrugalski [Wed, 4 Feb 2015 15:47:43 +0000 (16:47 +0100)] 
[2949] Changes after review:

 - Dhcp6Client::oro_ is now private
 - Dhcp6Srv::copyDefaultOptions renamed to copyClientOptions
 - Comment in processInfRequest clarified

11 years ago[3669] Address review comments.
Marcin Siodelski [Wed, 4 Feb 2015 14:35:31 +0000 (15:35 +0100)] 
[3669] Address review comments.

11 years ago[trac3665] More tests and cleanup
Shawn Routhier [Wed, 4 Feb 2015 06:51:29 +0000 (22:51 -0800)] 
[trac3665] More tests and cleanup

Add more tests to verity the cleanup of leases files

Cleanup the code for comments, typos, spaces and the like.

11 years ago[2949] Minor changes after review.
Tomek Mrugalski [Tue, 3 Feb 2015 18:13:39 +0000 (19:13 +0100)] 
[2949] Minor changes after review.

11 years ago[master] Added ChangeLog entry for #3647.
Marcin Siodelski [Tue, 3 Feb 2015 18:09:47 +0000 (19:09 +0100)] 
[master] Added ChangeLog entry for #3647.

11 years ago[2949] Changes after review
Tomek Mrugalski [Tue, 3 Feb 2015 17:54:02 +0000 (18:54 +0100)] 
[2949] Changes after review

11 years ago[master] Merge branch 'trac3647'
Marcin Siodelski [Tue, 3 Feb 2015 17:47:36 +0000 (18:47 +0100)] 
[master] Merge branch 'trac3647'

11 years ago[3647] Fixed wording in the kea guide as a result of review.
Marcin Siodelski [Tue, 3 Feb 2015 17:30:09 +0000 (18:30 +0100)] 
[3647] Fixed wording in the kea guide as a result of review.

11 years ago[3563] Copyright years updated, minor cosmetics.
Tomek Mrugalski [Tue, 3 Feb 2015 16:44:29 +0000 (17:44 +0100)] 
[3563] Copyright years updated, minor cosmetics.

11 years ago[3563] Capitalizations corrected, new unit-test for AllocEngine added.
Tomek Mrugalski [Tue, 3 Feb 2015 16:30:18 +0000 (17:30 +0100)] 
[3563] Capitalizations corrected, new unit-test for AllocEngine added.

11 years ago[3563] Unit-test for running out of addresses with reserved pool added.
Tomek Mrugalski [Tue, 3 Feb 2015 16:14:38 +0000 (17:14 +0100)] 
[3563] Unit-test for running out of addresses with reserved pool added.

11 years ago[master] Added ChangeLog for #3692.
Marcin Siodelski [Tue, 3 Feb 2015 16:14:07 +0000 (17:14 +0100)] 
[master] Added ChangeLog for #3692.

11 years ago[master] Merge branch 'trac3692'
Marcin Siodelski [Tue, 3 Feb 2015 16:12:24 +0000 (17:12 +0100)] 
[master] Merge branch 'trac3692'

11 years ago[3692] Address review comments.
Marcin Siodelski [Tue, 3 Feb 2015 15:42:29 +0000 (16:42 +0100)] 
[3692] Address review comments.

Replaced the do-while loop with the for loop in the allocateLease4. Also,
updated the copyright date.

11 years ago[3563] Changes after review:
Tomek Mrugalski [Tue, 3 Feb 2015 15:29:07 +0000 (16:29 +0100)] 
[3563] Changes after review:

 - general improvements in AllocEngine
 - doc updated

11 years ago[3692] Corrected spell errors in allocation engine unit tests.
Marcin Siodelski [Tue, 3 Feb 2015 11:26:35 +0000 (12:26 +0100)] 
[3692] Corrected spell errors in allocation engine unit tests.

11 years ago[3692] Added unit test for the allocation engine short pool.
Marcin Siodelski [Tue, 3 Feb 2015 11:23:08 +0000 (12:23 +0100)] 
[3692] Added unit test for the allocation engine short pool.

11 years ago[trac3665] Dump leases from storage to file and use this in LFC
Shawn Routhier [Tue, 3 Feb 2015 06:22:38 +0000 (22:22 -0800)] 
[trac3665] Dump leases from storage to file and use this in LFC

Add the write method to lease_file_loader to dump the leaes files
from a storage container into a file.

Update the LFC code to use the lease_file_loader functions to
load the leases from the appropriate files and then to write
them to the output file and finally to move the file around.

11 years ago[2949] Miscellaneous edits to the "DHCPv6 Stateless Configuration" section
Stephen Morris [Mon, 2 Feb 2015 16:43:27 +0000 (16:43 +0000)] 
[2949] Miscellaneous edits to the "DHCPv6 Stateless Configuration" section

11 years ago[3669] Fixing trivial error in the Memfile lease manager.
Marcin Siodelski [Mon, 2 Feb 2015 16:18:13 +0000 (17:18 +0100)] 
[3669] Fixing trivial error in the Memfile lease manager.

The path to the kea-lfc was not initialized properly.

11 years ago[3669] Refuse to load leases from a file when the LFC is in progress.
Marcin Siodelski [Mon, 2 Feb 2015 15:53:14 +0000 (16:53 +0100)] 
[3669] Refuse to load leases from a file when the LFC is in progress.

11 years ago[3669] Include stdint.h in ProcessSpawn test to prevent compilation fail.
Marcin Siodelski [Fri, 30 Jan 2015 18:10:53 +0000 (19:10 +0100)] 
[3669] Include stdint.h in ProcessSpawn test to prevent compilation fail.

11 years ago[3669] Add the test for writing to lease file after LFC.
Marcin Siodelski [Fri, 30 Jan 2015 18:09:35 +0000 (19:09 +0100)] 
[3669] Add the test for writing to lease file after LFC.

11 years ago[3669] Improved error handling when triggering LFC.
Marcin Siodelski [Fri, 30 Jan 2015 15:50:37 +0000 (16:50 +0100)] 
[3669] Improved error handling when triggering LFC.

Introduced a couple of new log messages and improved unit tests.

11 years ago[3669] It is now possible to reopen a CSV file and seek to its end.
Marcin Siodelski [Fri, 30 Jan 2015 10:44:22 +0000 (11:44 +0100)] 
[3669] It is now possible to reopen a CSV file and seek to its end.

11 years ago[trac3665] Add code to do the cleanup moves for the lease files
Shawn Routhier [Fri, 30 Jan 2015 07:46:27 +0000 (23:46 -0800)] 
[trac3665] Add code to do the cleanup moves for the lease files

After we have completed writing the lease file and moved it to finish
we need to delete the previous and copy files if they exist and move
the finish file to previous.

11 years ago[3669] Specify the pid file location for kea-lfc in the Memfile backend.
Marcin Siodelski [Thu, 29 Jan 2015 18:13:18 +0000 (19:13 +0100)] 
[3669] Specify the pid file location for kea-lfc in the Memfile backend.

11 years ago[3669] Memfile spawns kea-lfc for lease file cleanup.
Marcin Siodelski [Wed, 28 Jan 2015 22:08:03 +0000 (23:08 +0100)] 
[3669] Memfile spawns kea-lfc for lease file cleanup.

11 years ago[3669] Created ProcessSpawn class for running background processes.
Marcin Siodelski [Thu, 29 Jan 2015 16:31:22 +0000 (17:31 +0100)] 
[3669] Created ProcessSpawn class for running background processes.

11 years ago[3669] Memfile backend rotates the lease file before running LFC.
Marcin Siodelski [Tue, 27 Jan 2015 10:00:53 +0000 (11:00 +0100)] 
[3669] Memfile backend rotates the lease file before running LFC.

11 years agoChangeLog update for #trac3687
Shawn Routhier [Thu, 29 Jan 2015 03:59:56 +0000 (19:59 -0800)] 
ChangeLog update for #trac3687

11 years agoMerge branch 'trac3687' Add PIDFile class
Shawn Routhier [Thu, 29 Jan 2015 03:56:47 +0000 (19:56 -0800)] 
Merge branch 'trac3687' Add PIDFile class

Conflicts:
ChangeLog

Add PIDFile class to write, delete and check PID files.

Use the PIDFile class in the LFC process to ensure that
only one LFC is running at a time.

11 years ago[trac3867] Update PIDFile test code per review comments
Shawn Routhier [Thu, 29 Jan 2015 03:37:39 +0000 (19:37 -0800)] 
[trac3867] Update PIDFile test code per review comments

Update the PIDFile test code to create the file for the
not writable test.

Add entry in ChangeLog

11 years ago[3687] Pass c-string to the constructor of fstream.
Marcin Siodelski [Wed, 28 Jan 2015 19:54:06 +0000 (20:54 +0100)] 
[3687] Pass c-string to the constructor of fstream.

Passing the std::string doesn't work on Linux. For some reason it works
on BSD.

11 years ago[3687] Trivial fix: typo in the pid_file.cc
Marcin Siodelski [Wed, 28 Jan 2015 19:45:30 +0000 (20:45 +0100)] 
[3687] Trivial fix: typo in the pid_file.cc

11 years ago[3687] Two minor changes as a result of code review.
Marcin Siodelski [Wed, 28 Jan 2015 19:23:21 +0000 (20:23 +0100)] 
[3687] Two minor changes as a result of code review.

PIDFile::write closes the stream before throwing an exception. Also,
remove the TESTNAME2 file before and after the test.

11 years ago[2949] Doc updated for inf-request
Tomek Mrugalski [Wed, 28 Jan 2015 14:50:43 +0000 (15:50 +0100)] 
[2949] Doc updated for inf-request

11 years ago[2949] Inf-request support implemented.
Tomek Mrugalski [Wed, 28 Jan 2015 14:09:22 +0000 (15:09 +0100)] 
[2949] Inf-request support implemented.

11 years ago[2949] Final tweaks in inf-request tests.
Tomek Mrugalski [Wed, 28 Jan 2015 14:06:17 +0000 (15:06 +0100)] 
[2949] Final tweaks in inf-request tests.

11 years ago[2949] Another unit-tests improvement for inf-request
Tomek Mrugalski [Wed, 28 Jan 2015 13:53:26 +0000 (14:53 +0100)] 
[2949] Another unit-tests improvement for inf-request

11 years ago[2949] Inf-Request unit-tests updated.
Tomek Mrugalski [Wed, 28 Jan 2015 13:33:28 +0000 (14:33 +0100)] 
[2949] Inf-Request unit-tests updated.

11 years ago[2949] Remaining unit-tests implemented.
Tomek Mrugalski [Wed, 28 Jan 2015 13:26:09 +0000 (14:26 +0100)] 
[2949] Remaining unit-tests implemented.

11 years ago[trac3687] Update per first set of review comments
Shawn Routhier [Wed, 28 Jan 2015 06:14:59 +0000 (22:14 -0800)] 
[trac3687] Update per first set of review comments

11 years ago[3687] Trivial fixes: typos and indentation.
Marcin Siodelski [Tue, 27 Jan 2015 21:13:49 +0000 (22:13 +0100)] 
[3687] Trivial fixes: typos and indentation.

11 years ago[3690] Tentative fix for allocating v4 address reserved to someone else.
Marcin Siodelski [Tue, 27 Jan 2015 19:50:32 +0000 (20:50 +0100)] 
[3690] Tentative fix for allocating v4 address reserved to someone else.

11 years ago[2949] Severl unit-tests for inf-request implemented.
Tomek Mrugalski [Tue, 27 Jan 2015 19:23:29 +0000 (20:23 +0100)] 
[2949] Severl unit-tests for inf-request implemented.

11 years ago[3692] Prevent infinite loops in allocation engine when pool exhausted.
Marcin Siodelski [Tue, 27 Jan 2015 17:37:11 +0000 (18:37 +0100)] 
[3692] Prevent infinite loops in allocation engine when pool exhausted.

11 years ago[master] ChangeLog, AUTHORS updated after 3552 merge.
Tomek Mrugalski [Tue, 27 Jan 2015 14:38:39 +0000 (15:38 +0100)] 
[master] ChangeLog, AUTHORS updated after 3552 merge.

11 years ago[3552] Copyright years updated.
Tomek Mrugalski [Tue, 27 Jan 2015 14:32:17 +0000 (15:32 +0100)] 
[3552] Copyright years updated.

11 years ago[3552] User's Guide updated.
Tomek Mrugalski [Tue, 27 Jan 2015 14:30:44 +0000 (15:30 +0100)] 
[3552] User's Guide updated.

11 years ago[3552] Patch by Adam Kalmus (with minor clean-ups)
Tomek Mrugalski [Tue, 27 Jan 2015 14:30:29 +0000 (15:30 +0100)] 
[3552] Patch by Adam Kalmus (with minor clean-ups)

11 years ago[master] Paths to MySQL/PGSQL scripts corrected.
Tomek Mrugalski [Tue, 27 Jan 2015 13:14:30 +0000 (14:14 +0100)] 
[master] Paths to MySQL/PGSQL scripts corrected.

11 years ago[master] ChangeLog updated.
Tomek Mrugalski [Tue, 27 Jan 2015 12:47:59 +0000 (13:47 +0100)] 
[master] ChangeLog updated.

11 years ago[master] Merge branch 'trac3644' (doc update for kea-admin)
Tomek Mrugalski [Tue, 27 Jan 2015 12:46:56 +0000 (13:46 +0100)] 
[master] Merge branch 'trac3644' (doc update for kea-admin)

11 years ago[3644] Minor typo corrected.
Tomek Mrugalski [Tue, 27 Jan 2015 12:45:24 +0000 (13:45 +0100)] 
[3644] Minor typo corrected.

11 years ago[trac3687] Add PIDFile class to manage PID files
Shawn Routhier [Tue, 27 Jan 2015 04:34:10 +0000 (20:34 -0800)] 
[trac3687] Add PIDFile class to manage PID files

Add the PIDFile class to manage PID files (check, write, delete)

Update the LFC code to use the PIDFile class to run only a single
instance at a time.

11 years agoMerge branch 'master' into trac3687
Shawn Routhier [Tue, 27 Jan 2015 03:25:05 +0000 (19:25 -0800)] 
Merge branch 'master' into trac3687

This will pull the LFC code into the PID branch allowing
addition of the PID calls into LFC

11 years ago[trac3687] Add unittests
Shawn Routhier [Tue, 27 Jan 2015 00:12:09 +0000 (16:12 -0800)] 
[trac3687] Add unittests

Some cleanup and add unittests

11 years ago[3575] Small correction in reservations text.
Tomek Mrugalski [Mon, 26 Jan 2015 19:31:11 +0000 (20:31 +0100)] 
[3575] Small correction in reservations text.

11 years ago[3575] Reservations section added for DHCPv6
Tomek Mrugalski [Mon, 26 Jan 2015 19:25:06 +0000 (20:25 +0100)] 
[3575] Reservations section added for DHCPv6

11 years ago[3575] Reservations for v4 documented.
Tomek Mrugalski [Mon, 26 Jan 2015 16:53:01 +0000 (17:53 +0100)] 
[3575] Reservations for v4 documented.

11 years ago[3644] Review and edit of kea-admin part of the guide
Stephen Morris [Mon, 26 Jan 2015 13:45:22 +0000 (13:45 +0000)] 
[3644] Review and edit of kea-admin part of the guide

The edit also included a reorganisation of the sections.

11 years ago[master] compilation fix after #3664 merge.
Tomek Mrugalski [Mon, 26 Jan 2015 10:08:39 +0000 (11:08 +0100)] 
[master] compilation fix after #3664 merge.

11 years agoMerge branch 'trac3664' Add base LFC process code
Shawn Routhier [Sat, 24 Jan 2015 03:41:02 +0000 (19:41 -0800)] 
Merge branch 'trac3664' Add base LFC process code

This merge adds the basic code for handling lease file cleanup (LFC).
It provides the basic framework for the process as well as code to
do argument parsing.

11 years ago[trac3664] Updates per second review comments
Shawn Routhier [Sat, 24 Jan 2015 03:38:00 +0000 (19:38 -0800)] 
[trac3664] Updates per second review comments

Add comments to the test code

Modify the getopt code to explicitly handle unknown arguments and
missing option arguments.

11 years ago[3563] Comments updated, doxygen errors removed.
Tomek Mrugalski [Fri, 23 Jan 2015 18:29:56 +0000 (19:29 +0100)] 
[3563] Comments updated, doxygen errors removed.

11 years ago[3664] Trivial fix: added space in the exception thrown from main.cc.
Marcin Siodelski [Fri, 23 Jan 2015 11:34:34 +0000 (12:34 +0100)] 
[3664] Trivial fix: added space in the exception thrown from main.cc.

11 years ago[3664] Corrected a typo in the lfc main function.
Marcin Siodelski [Fri, 23 Jan 2015 10:54:57 +0000 (11:54 +0100)] 
[3664] Corrected a typo in the lfc main function.

11 years ago[3664] Trivial fixes to documentation of LFCController class.
Marcin Siodelski [Fri, 23 Jan 2015 10:53:32 +0000 (11:53 +0100)] 
[3664] Trivial fixes to documentation of LFCController class.

11 years ago[trac3664] Update per review comments
Shawn Routhier [Fri, 23 Jan 2015 05:54:22 +0000 (21:54 -0800)] 
[trac3664] Update per review comments

11 years ago[3563] removeNonreservedLeases6 implemented
Tomek Mrugalski [Thu, 22 Jan 2015 21:50:50 +0000 (22:50 +0100)] 
[3563] removeNonreservedLeases6 implemented

11 years ago[3563] Implemented 2 unit-tests, emoveNonmatchingReservedLeases6
Tomek Mrugalski [Thu, 22 Jan 2015 21:15:13 +0000 (22:15 +0100)] 
[3563] Implemented 2 unit-tests, emoveNonmatchingReservedLeases6

11 years ago[3563] Six unit-tests implemented for AllocEngine6 + Reservations
Tomek Mrugalski [Thu, 22 Jan 2015 19:14:30 +0000 (20:14 +0100)] 
[3563] Six unit-tests implemented for AllocEngine6 + Reservations

11 years ago[3664] Minor changes as a result of the review.
Marcin Siodelski [Thu, 22 Jan 2015 15:31:04 +0000 (16:31 +0100)] 
[3664] Minor changes as a result of the review.

- Fixed identation in configure.ac
- Added kea-lfc to Doxygen
- Corrected some little typos in the kea-lfc man page
- Removed unnecessary headers and libraries
- lfc.h updated - one comment, one method made const
- added anonymous namespace for lfc_controller_unittests.cc

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 11:03:03 +0000 (12:03 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 11:00:01 +0000 (12:00 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:58:08 +0000 (11:58 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:55:16 +0000 (11:55 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:53:30 +0000 (11:53 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:51:30 +0000 (11:51 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:42:56 +0000 (11:42 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:41:36 +0000 (11:41 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:40:21 +0000 (11:40 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:38:47 +0000 (11:38 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:37:07 +0000 (11:37 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:31:42 +0000 (11:31 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:30:35 +0000 (11:30 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:28:13 +0000 (11:28 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:25:36 +0000 (11:25 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 10:00:55 +0000 (11:00 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 09:54:25 +0000 (10:54 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 09:49:15 +0000 (10:49 +0100)] 
spelling

11 years agospelling
Francis Dupont [Thu, 22 Jan 2015 09:45:06 +0000 (10:45 +0100)] 
spelling

11 years ago[master] Added ChangeLog entry for #3656
Francis Dupont [Thu, 22 Jan 2015 09:42:17 +0000 (10:42 +0100)] 
[master] Added ChangeLog entry for #3656

11 years ago[master] handle unknown client in the INIT-REBOOT state. #3656
Francis Dupont [Thu, 22 Jan 2015 09:40:51 +0000 (10:40 +0100)] 
[master] handle unknown client in the INIT-REBOOT state. #3656

11 years ago[trac3687] First round of pid file handling
Shawn Routhier [Thu, 22 Jan 2015 07:37:11 +0000 (23:37 -0800)] 
[trac3687] First round of pid file handling

Create a utility class to handle pid files.

This allows somebody to check, write and delete pid files
for use in mediating processes.

The Check routine will attempt to read a pid file and
then check if the pid is in use.  The write routine will
delete the current pid file and write a new pid to the file.
The delete routine simply deletes the old pid file.

11 years ago[trac3664] Cleanup
Shawn Routhier [Thu, 22 Jan 2015 03:33:32 +0000 (19:33 -0800)] 
[trac3664] Cleanup

Cleanup spaces and such to meet coding specs

Remove testing artifacts

Update man page documenation

11 years ago[master] removed use of exit() in D2 for version command line argument processing...
Francis Dupont [Wed, 21 Jan 2015 19:45:26 +0000 (20:45 +0100)] 
[master] removed use of exit() in D2 for version command line argument processing (#3616)

11 years ago[trac3664] Code updates and add unittests for parsing
Shawn Routhier [Wed, 21 Jan 2015 06:37:10 +0000 (22:37 -0800)] 
[trac3664] Code updates and add unittests for parsing

Add the structure for doing unittests and add some tests
to exercise parseArgs().

Rename the class to lfcController to be more in line with
the coding spec.

11 years ago[3563] CfgHosts::get6(subnet_id, addr) implemented, with unit-tests.
Tomek Mrugalski [Tue, 20 Jan 2015 20:15:25 +0000 (21:15 +0100)] 
[3563] CfgHosts::get6(subnet_id, addr) implemented, with unit-tests.