- 06 Feb, 2015 3 commits
-
-
Shawn Routhier authored
-
Shawn Routhier authored
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 authored
-
- 05 Feb, 2015 8 commits
-
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Jeremy C. Reed authored
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
Conflicts: src/lib/dhcpsrv/alloc_engine.cc
-
Tomek Mrugalski authored
- if-else clauses in allocateLeases6 - allocateUnreservedLeases6 uses for instead of do loop
-
Shawn Routhier authored
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.
-
- 04 Feb, 2015 4 commits
-
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
- Dhcp6Client::oro_ is now private - Dhcp6Srv::copyDefaultOptions renamed to copyClientOptions - Comment in processInfRequest clarified
-
Shawn Routhier authored
Add more tests to verity the cleanup of leases files Cleanup the code for comments, typos, spaces and the like.
-
- 03 Feb, 2015 15 commits
-
-
Tomek Mrugalski authored
-
Marcin Siodelski authored
-
Tomek Mrugalski authored
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Marcin Siodelski authored
Replaced the do-while loop with the for loop in the allocateLease4. Also, updated the copyright date.
-
Tomek Mrugalski authored
- general improvements in AllocEngine - doc updated
-
Marcin Siodelski authored
-
Marcin Siodelski authored
-
Shawn Routhier authored
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.
-
- 02 Feb, 2015 1 commit
-
-
Stephen Morris authored
-
- 30 Jan, 2015 1 commit
-
-
Shawn Routhier authored
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.
-
- 29 Jan, 2015 3 commits
-
-
Shawn Routhier authored
-
Shawn Routhier authored
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 authored
Update the PIDFile test code to create the file for the not writable test. Add entry in ChangeLog
-
- 28 Jan, 2015 5 commits
-
-
Marcin Siodelski authored
Passing the std::string doesn't work on Linux. For some reason it works on BSD.
-
Marcin Siodelski authored
-
Marcin Siodelski authored
PIDFile::write closes the stream before throwing an exception. Also, remove the TESTNAME2 file before and after the test.
-
Tomek Mrugalski authored
-
Tomek Mrugalski authored
-