]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Mon, 9 Feb 2015 21:33:52 +0000 (22:33 +0100)]
[master] Added ChangeLog entry for #3669.
Marcin Siodelski [Mon, 9 Feb 2015 20:39:41 +0000 (21:39 +0100)]
[master] Merge branch 'trac3669'
Marcin Siodelski [Mon, 9 Feb 2015 07:55:35 +0000 (08:55 +0100)]
[3669] Trivial fix in the process_spawn_app.sh script.
Marcin Siodelski [Mon, 9 Feb 2015 07:47:32 +0000 (08:47 +0100)]
[3669] Second round of review comments.
Marcin Siodelski [Fri, 6 Feb 2015 12:48:01 +0000 (13:48 +0100)]
[master] Use c-strings to create fstreams in lfc.
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.
Shawn Routhier [Fri, 6 Feb 2015 03:04:09 +0000 (19:04 -0800)]
[trac3665] Add commit tag
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
Shawn Routhier [Fri, 6 Feb 2015 02:32:28 +0000 (18:32 -0800)]
[trac3665] Update change log per review
Marcin Siodelski [Thu, 5 Feb 2015 19:26:05 +0000 (20:26 +0100)]
[3669] Corrected the warning message in the ProcessSpawn.
Marcin Siodelski [Thu, 5 Feb 2015 19:01:41 +0000 (20:01 +0100)]
[3665] Trivial: cleanup of the doxygen for lfc.
Marcin Siodelski [Thu, 5 Feb 2015 17:43:16 +0000 (18:43 +0100)]
[3669] Fix the distcheck issue with process_spawn_app.sh script.
Marcin Siodelski [Thu, 5 Feb 2015 17:20:56 +0000 (18:20 +0100)]
[3665] Some trivial changes as a result of the review.
Marcin Siodelski [Thu, 5 Feb 2015 16:24:24 +0000 (17:24 +0100)]
[3669] Distcheck fix in util
Marcin Siodelski [Thu, 5 Feb 2015 16:01:32 +0000 (17:01 +0100)]
[3669] Added some more commentary in various places.
Jeremy C. Reed [Thu, 5 Feb 2015 15:34:32 +0000 (10:34 -0500)]
Merge remote branch 'remotes/origin/trac3520'
Tomek Mrugalski [Thu, 5 Feb 2015 15:17:51 +0000 (16:17 +0100)]
[master] ChangeLog updated.
Tomek Mrugalski [Thu, 5 Feb 2015 15:16:42 +0000 (16:16 +0100)]
[master] Disabled 2 failing unit-tests (fix planned in #3677)
Marcin Siodelski [Thu, 5 Feb 2015 15:15:26 +0000 (16:15 +0100)]
[3669] Added status clearing to ProcessSpawn.
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
Marcin Siodelski [Thu, 5 Feb 2015 14:59:06 +0000 (15:59 +0100)]
[3669] Re-organized the LFC in Memfile_LeaseMgr to use updated ProcessSpawn
Marcin Siodelski [Thu, 5 Feb 2015 14:58:28 +0000 (15:58 +0100)]
[3669] Added support for ProcessSpawn spawning more processes.
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
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.
Tomek Mrugalski [Wed, 4 Feb 2015 16:09:17 +0000 (17:09 +0100)]
[master] ChangeLog updated.
Tomek Mrugalski [Wed, 4 Feb 2015 15:48:14 +0000 (16:48 +0100)]
[master] Merge branch 'trac2949' (inf-request in dhcpv6)
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
Marcin Siodelski [Wed, 4 Feb 2015 14:35:31 +0000 (15:35 +0100)]
[3669] Address review comments.
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.
Tomek Mrugalski [Tue, 3 Feb 2015 18:13:39 +0000 (19:13 +0100)]
[2949] Minor changes after review.
Marcin Siodelski [Tue, 3 Feb 2015 18:09:47 +0000 (19:09 +0100)]
[master] Added ChangeLog entry for #3647.
Tomek Mrugalski [Tue, 3 Feb 2015 17:54:02 +0000 (18:54 +0100)]
[2949] Changes after review
Marcin Siodelski [Tue, 3 Feb 2015 17:47:36 +0000 (18:47 +0100)]
[master] Merge branch 'trac3647'
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.
Tomek Mrugalski [Tue, 3 Feb 2015 16:44:29 +0000 (17:44 +0100)]
[3563] Copyright years updated, minor cosmetics.
Tomek Mrugalski [Tue, 3 Feb 2015 16:30:18 +0000 (17:30 +0100)]
[3563] Capitalizations corrected, new unit-test for AllocEngine 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.
Marcin Siodelski [Tue, 3 Feb 2015 16:14:07 +0000 (17:14 +0100)]
[master] Added ChangeLog for #3692.
Marcin Siodelski [Tue, 3 Feb 2015 16:12:24 +0000 (17:12 +0100)]
[master] Merge branch 'trac3692'
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.
Tomek Mrugalski [Tue, 3 Feb 2015 15:29:07 +0000 (16:29 +0100)]
[3563] Changes after review:
- general improvements in AllocEngine
- doc updated
Marcin Siodelski [Tue, 3 Feb 2015 11:26:35 +0000 (12:26 +0100)]
[3692] Corrected spell errors in allocation engine unit tests.
Marcin Siodelski [Tue, 3 Feb 2015 11:23:08 +0000 (12:23 +0100)]
[3692] Added unit test for the allocation engine short pool.
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.
Stephen Morris [Mon, 2 Feb 2015 16:43:27 +0000 (16:43 +0000)]
[2949] Miscellaneous edits to the "DHCPv6 Stateless Configuration" section
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.
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.
Marcin Siodelski [Fri, 30 Jan 2015 18:10:53 +0000 (19:10 +0100)]
[3669] Include stdint.h in ProcessSpawn test to prevent compilation fail.
Marcin Siodelski [Fri, 30 Jan 2015 18:09:35 +0000 (19:09 +0100)]
[3669] Add the test for writing to lease file after 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.
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.
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.
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.
Marcin Siodelski [Wed, 28 Jan 2015 22:08:03 +0000 (23:08 +0100)]
[3669] Memfile spawns kea-lfc for lease file cleanup.
Marcin Siodelski [Thu, 29 Jan 2015 16:31:22 +0000 (17:31 +0100)]
[3669] Created ProcessSpawn class for running background processes.
Marcin Siodelski [Tue, 27 Jan 2015 10:00:53 +0000 (11:00 +0100)]
[3669] Memfile backend rotates the lease file before running LFC.
Shawn Routhier [Thu, 29 Jan 2015 03:59:56 +0000 (19:59 -0800)]
ChangeLog update for #trac3687
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.
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
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.
Marcin Siodelski [Wed, 28 Jan 2015 19:45:30 +0000 (20:45 +0100)]
[3687] Trivial fix: typo in the pid_file.cc
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.
Tomek Mrugalski [Wed, 28 Jan 2015 14:50:43 +0000 (15:50 +0100)]
[2949] Doc updated for inf-request
Tomek Mrugalski [Wed, 28 Jan 2015 14:09:22 +0000 (15:09 +0100)]
[2949] Inf-request support implemented.
Tomek Mrugalski [Wed, 28 Jan 2015 14:06:17 +0000 (15:06 +0100)]
[2949] Final tweaks in inf-request tests.
Tomek Mrugalski [Wed, 28 Jan 2015 13:53:26 +0000 (14:53 +0100)]
[2949] Another unit-tests improvement for inf-request
Tomek Mrugalski [Wed, 28 Jan 2015 13:33:28 +0000 (14:33 +0100)]
[2949] Inf-Request unit-tests updated.
Tomek Mrugalski [Wed, 28 Jan 2015 13:26:09 +0000 (14:26 +0100)]
[2949] Remaining unit-tests implemented.
Shawn Routhier [Wed, 28 Jan 2015 06:14:59 +0000 (22:14 -0800)]
[trac3687] Update per first set of review comments
Marcin Siodelski [Tue, 27 Jan 2015 21:13:49 +0000 (22:13 +0100)]
[3687] Trivial fixes: typos and indentation.
Tomek Mrugalski [Tue, 27 Jan 2015 19:23:29 +0000 (20:23 +0100)]
[2949] Severl unit-tests for inf-request implemented.
Marcin Siodelski [Tue, 27 Jan 2015 17:37:11 +0000 (18:37 +0100)]
[3692] Prevent infinite loops in allocation engine when pool exhausted.
Tomek Mrugalski [Tue, 27 Jan 2015 14:38:39 +0000 (15:38 +0100)]
[master] ChangeLog, AUTHORS updated after 3552 merge.
Tomek Mrugalski [Tue, 27 Jan 2015 14:32:17 +0000 (15:32 +0100)]
[3552] Copyright years updated.
Tomek Mrugalski [Tue, 27 Jan 2015 14:30:44 +0000 (15:30 +0100)]
[3552] User's Guide updated.
Tomek Mrugalski [Tue, 27 Jan 2015 14:30:29 +0000 (15:30 +0100)]
[3552] Patch by Adam Kalmus (with minor clean-ups)
Tomek Mrugalski [Tue, 27 Jan 2015 13:14:30 +0000 (14:14 +0100)]
[master] Paths to MySQL/PGSQL scripts corrected.
Tomek Mrugalski [Tue, 27 Jan 2015 12:47:59 +0000 (13:47 +0100)]
[master] ChangeLog updated.
Tomek Mrugalski [Tue, 27 Jan 2015 12:46:56 +0000 (13:46 +0100)]
[master] Merge branch 'trac3644' (doc update for kea-admin)
Tomek Mrugalski [Tue, 27 Jan 2015 12:45:24 +0000 (13:45 +0100)]
[3644] Minor typo corrected.
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.
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
Shawn Routhier [Tue, 27 Jan 2015 00:12:09 +0000 (16:12 -0800)]
[trac3687] Add unittests
Some cleanup and add unittests
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.
Tomek Mrugalski [Mon, 26 Jan 2015 10:08:39 +0000 (11:08 +0100)]
[master] compilation fix after #3664 merge.
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.
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.
Tomek Mrugalski [Fri, 23 Jan 2015 18:29:56 +0000 (19:29 +0100)]
[3563] Comments updated, doxygen errors removed.
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.
Marcin Siodelski [Fri, 23 Jan 2015 10:54:57 +0000 (11:54 +0100)]
[3664] Corrected a typo in the lfc main function.
Marcin Siodelski [Fri, 23 Jan 2015 10:53:32 +0000 (11:53 +0100)]
[3664] Trivial fixes to documentation of LFCController class.
Shawn Routhier [Fri, 23 Jan 2015 05:54:22 +0000 (21:54 -0800)]
[trac3664] Update per review comments
Tomek Mrugalski [Thu, 22 Jan 2015 21:50:50 +0000 (22:50 +0100)]
[3563] removeNonreservedLeases6 implemented
Tomek Mrugalski [Thu, 22 Jan 2015 21:15:13 +0000 (22:15 +0100)]
[3563] Implemented 2 unit-tests, emoveNonmatchingReservedLeases6
Tomek Mrugalski [Thu, 22 Jan 2015 19:14:30 +0000 (20:14 +0100)]
[3563] Six unit-tests implemented for AllocEngine6 + Reservations
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
Francis Dupont [Thu, 22 Jan 2015 11:03:03 +0000 (12:03 +0100)]
spelling
Francis Dupont [Thu, 22 Jan 2015 11:00:01 +0000 (12:00 +0100)]
spelling
Francis Dupont [Thu, 22 Jan 2015 10:58:08 +0000 (11:58 +0100)]
spelling
Francis Dupont [Thu, 22 Jan 2015 10:55:16 +0000 (11:55 +0100)]
spelling