]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
10 years ago[3604] Going over the unit test to use the new iface config structure.
Marcin Siodelski [Fri, 6 Feb 2015 19:36:14 +0000 (20:36 +0100)] 
[3604] Going over the unit test to use the new iface config structure.

10 years ago[3604] Created a configuration parser for interface-config map.
Marcin Siodelski [Fri, 6 Feb 2015 18:56:39 +0000 (19:56 +0100)] 
[3604] Created a configuration parser for interface-config map.

The interface-config map will hold the "interfaces" list which used to
be a global parameter. The new configuration layout is incompatible with
a previous layout.

10 years ago[master] Use c-strings to create fstreams in lfc.
Marcin Siodelski [Fri, 6 Feb 2015 12:48:01 +0000 (13:48 +0100)] 
[master] Use c-strings to create fstreams in lfc.

10 years ago[master] Fixing entry 887 in the ChangeLog.
Marcin Siodelski [Fri, 6 Feb 2015 10:04:05 +0000 (11:04 +0100)] 
[master] Fixing entry 887 in the ChangeLog.

Added commits for all tickets implementing kea-lfc. Also, corrected the
LRC design url. Commiting on my discretion.

10 years ago[trac3665] Add commit tag
Shawn Routhier [Fri, 6 Feb 2015 03:04:09 +0000 (19:04 -0800)] 
[trac3665] Add commit tag

10 years agoMerge branch 'trac3665' Add processing for LFC
Shawn Routhier [Fri, 6 Feb 2015 02:59:31 +0000 (18:59 -0800)] 
Merge branch 'trac3665'  Add processing for LFC

This branch adds the main processing functions for
lease file cleanup.  We added

code in lease_file_loader.h to write leases from storage to a file

code in lfc_controller to read leaes into storage from a file
and then write the storage out to a file (using lease_file_loader)
and then to move the files around to get the names correct.

Conflicts:
ChangeLog

10 years ago[trac3665] Update change log per review
Shawn Routhier [Fri, 6 Feb 2015 02:32:28 +0000 (18:32 -0800)] 
[trac3665] Update change log per review

10 years ago[3665] Trivial: cleanup of the doxygen for lfc.
Marcin Siodelski [Thu, 5 Feb 2015 19:01:41 +0000 (20:01 +0100)] 
[3665] Trivial: cleanup of the doxygen for lfc.

10 years ago[3665] Some trivial changes as a result of the review.
Marcin Siodelski [Thu, 5 Feb 2015 17:20:56 +0000 (18:20 +0100)] 
[3665] Some trivial changes as a result of the review.

10 years agoMerge remote branch 'remotes/origin/trac3520'
Jeremy C. Reed [Thu, 5 Feb 2015 15:34:32 +0000 (10:34 -0500)] 
Merge remote branch 'remotes/origin/trac3520'

10 years ago[master] ChangeLog updated.
Tomek Mrugalski [Thu, 5 Feb 2015 15:17:51 +0000 (16:17 +0100)] 
[master] ChangeLog updated.

10 years ago[master] Disabled 2 failing unit-tests (fix planned in #3677)
Tomek Mrugalski [Thu, 5 Feb 2015 15:16:42 +0000 (16:16 +0100)] 
[master] Disabled 2 failing unit-tests (fix planned in #3677)

10 years ago[master] Merge branch 'trac3563' (Reservations in DHCPv6)
Tomek Mrugalski [Thu, 5 Feb 2015 15:12:03 +0000 (16:12 +0100)] 
[master] Merge branch 'trac3563' (Reservations in DHCPv6)

Conflicts:
src/lib/dhcpsrv/alloc_engine.cc

10 years ago[3563] Final changes after 2nd review:
Tomek Mrugalski [Thu, 5 Feb 2015 12:28:12 +0000 (13:28 +0100)] 
[3563] Final changes after 2nd review:
 - if-else clauses in allocateLeases6
 - allocateUnreservedLeases6 uses for instead of do loop

10 years ago[trac3665] Updates per review comments
Shawn Routhier [Thu, 5 Feb 2015 05:39:53 +0000 (21:39 -0800)] 
[trac3665] Updates per review comments

One of the large items was to rearrange the
lfc_controller test code to:
- not use .c_str()
- check the non-existance of the temporary files after processing
- remove any files after each subtest
- Use a_1 instead of A_1 for variable names

There were also some other coding standards issues as well
as additional comments and such.

10 years ago[master] ChangeLog updated.
Tomek Mrugalski [Wed, 4 Feb 2015 16:09:17 +0000 (17:09 +0100)] 
[master] ChangeLog updated.

10 years ago[master] Merge branch 'trac2949' (inf-request in dhcpv6)
Tomek Mrugalski [Wed, 4 Feb 2015 15:48:14 +0000 (16:48 +0100)] 
[master] Merge branch 'trac2949' (inf-request in dhcpv6)

10 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

10 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.

10 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.

10 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.

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

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

10 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.

10 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.

10 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.

10 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.

10 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.

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

10 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.

10 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

10 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.

10 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.

10 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.

10 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

10 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.

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

10 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.

10 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

10 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.

10 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

10 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.

10 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

10 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.

10 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.

10 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

10 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.

10 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.

10 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

10 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.

10 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.

10 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.

10 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.

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

10 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.

10 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)

10 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.

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

10 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)

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

10 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.

10 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

10 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

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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.

10 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

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

10 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

10 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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 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

10 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

10 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.

10 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

10 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)