]>
git.ipfire.org Git - thirdparty/kea.git/log
Shawn Routhier [Thu, 18 Jun 2015 03:55:15 +0000 (20:55 -0700)]
[3799] Add more tests
Update the documents a bit
Fix up handling reservations from outside the subnet
Add more tests
Shawn Routhier [Wed, 17 Jun 2015 08:52:39 +0000 (01:52 -0700)]
[3799] Fix a typo in the docs
Shawn Routhier [Wed, 17 Jun 2015 08:50:41 +0000 (01:50 -0700)]
[3799] Add v6 subnet statistics
Using the v4 changes as a guide (3798) add statistics
for subnets for v6. The four stats are total addresses
and addresses used for both NA and PD.
Tomek Mrugalski [Tue, 16 Jun 2015 12:33:49 +0000 (14:33 +0200)]
[master] Compilation fix after 3798 merge.
Tomek Mrugalski [Tue, 16 Jun 2015 12:33:17 +0000 (14:33 +0200)]
[master] Compilation fix for d2 + cryptolink link issues.
Tomek Mrugalski [Tue, 16 Jun 2015 11:41:53 +0000 (13:41 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Tue, 16 Jun 2015 11:40:32 +0000 (13:40 +0200)]
[master] Merge branch 'trac3798' (per subnet stats in DHCPv4)
Conflicts:
src/bin/dhcp4/tests/dhcp4_test_utils.cc
Marcin Siodelski [Tue, 16 Jun 2015 10:50:23 +0000 (12:50 +0200)]
[master] Added ChangeLog entry for #3852.
Marcin Siodelski [Tue, 16 Jun 2015 10:33:41 +0000 (12:33 +0200)]
[master] Merge branch 'trac3852'
Tomek Mrugalski [Tue, 16 Jun 2015 09:39:46 +0000 (11:39 +0200)]
[3798] Changes after review:
- comments in StatsMgr improved
- added unit-test for CfgMgr::clear() and stats
- copyright years updated
Marcin Siodelski [Tue, 16 Jun 2015 08:54:21 +0000 (10:54 +0200)]
[3852] Addressed review comments.
Stephen Morris [Mon, 15 Jun 2015 18:56:55 +0000 (19:56 +0100)]
[3852] Corrected typos in the new allocation engine messages file
Thomas Markwalder [Mon, 15 Jun 2015 18:49:24 +0000 (14:49 -0400)]
[master] Added ChangeLog entry 955 for #3884.
Thomas Markwalder [Mon, 15 Jun 2015 18:32:46 +0000 (14:32 -0400)]
[master] Merge branch 'trac3884'
Adds kea-admin unit tests for PosgreSQL lease-dump
Thomas Markwalder [Mon, 15 Jun 2015 17:37:54 +0000 (13:37 -0400)]
[3884] Minor review changes.
Added extra wording about restarting PostgreSQL.
Thomas Markwalder [Mon, 15 Jun 2015 15:23:37 +0000 (11:23 -0400)]
[3884] Addressed review comments
Minor cleanup. Lease dump tests for both MySQL and PostgreSQL
now use multiple timestamps values.
Francis Dupont [Mon, 15 Jun 2015 11:35:40 +0000 (13:35 +0200)]
[master] Updated git hash
Francis Dupont [Mon, 15 Jun 2015 11:34:06 +0000 (13:34 +0200)]
[master] Merged trac3859 (getVersion() defined outside its module)
Francis Dupont [Mon, 15 Jun 2015 11:22:06 +0000 (13:22 +0200)]
[master] Updated git hash
Francis Dupont [Mon, 15 Jun 2015 11:21:08 +0000 (13:21 +0200)]
[master] Merged trac3513 (-V extended version)
Tomek Mrugalski [Mon, 15 Jun 2015 11:18:42 +0000 (13:18 +0200)]
[3798] Changes after review:
- {update,remove}Statistics moved from CfgMgr to SrvConfig,CfgSubnets4
Marcin Siodelski [Mon, 15 Jun 2015 10:43:11 +0000 (12:43 +0200)]
[3852] Added more traces to the Allocation Engine.
Tomek Mrugalski [Mon, 15 Jun 2015 10:25:12 +0000 (12:25 +0200)]
[3798] Changes after review:
- packet names updated in User's Guide
- StatsMgr now uses int64_t, not uint64_t
- StatsMgr::generateName() added
- DISCOVER => DHCPDISCOVER
Shawn Routhier [Mon, 15 Jun 2015 05:29:54 +0000 (22:29 -0700)]
[3513] change dhcp4 usage to cfgfile to be consistent with dhcp6
Shawn Routhier [Mon, 15 Jun 2015 04:55:56 +0000 (21:55 -0700)]
[3884] Fix up some cut and paste typos
Francis Dupont [Sat, 13 Jun 2015 12:25:21 +0000 (14:25 +0200)]
[master] Updated git hash
Francis Dupont [Sat, 13 Jun 2015 12:24:26 +0000 (14:24 +0200)]
[master] Finished merging of trac3829 (hmac_unittests.cc uses out of range char)
Francis Dupont [Sat, 13 Jun 2015 12:23:00 +0000 (14:23 +0200)]
[master] Merged trac3829 (hmac_unittests.cc uses out of range char)
Francis Dupont [Sat, 13 Jun 2015 12:19:28 +0000 (14:19 +0200)]
[master] Merged trac3855 (minor bug in dhcpsrv)
Francis Dupont [Sat, 13 Jun 2015 11:08:50 +0000 (13:08 +0200)]
[master] Updated git hash
Francis Dupont [Sat, 13 Jun 2015 11:07:43 +0000 (13:07 +0200)]
[master] Finished merge of trac3833 (unsigned for indexes)
Francis Dupont [Sat, 13 Jun 2015 09:34:15 +0000 (11:34 +0200)]
[master] Update the git hash to the last commit
Francis Dupont [Sat, 13 Jun 2015 09:00:43 +0000 (11:00 +0200)]
[master] Fixed merged of ctrl_dhcp6_srv.h (I misread dhcp6_srv.h, oops)
Francis Dupont [Sat, 13 Jun 2015 08:32:27 +0000 (10:32 +0200)]
[master] Missing update of configure.ac in trac3732 merge
Francis Dupont [Sat, 13 Jun 2015 08:25:11 +0000 (10:25 +0200)]
[master] Updated git hash
Francis Dupont [Sat, 13 Jun 2015 08:23:46 +0000 (10:23 +0200)]
[master] Updated ChangeLog and finished trac3732 merging
Francis Dupont [Sat, 13 Jun 2015 08:15:32 +0000 (10:15 +0200)]
[master] Finished merge of trac3732 (removed BUNDY)
Francis Dupont [Sat, 13 Jun 2015 07:22:59 +0000 (09:22 +0200)]
[3513] Adopted standard order for usage (flags then options) and main (same with stricter alpha)
Francis Dupont [Sat, 13 Jun 2015 07:09:19 +0000 (09:09 +0200)]
[3513] Updated guides
Thomas Markwalder [Fri, 12 Jun 2015 17:22:31 +0000 (13:22 -0400)]
[3884] Added unit tests for PostgreSQL lease-dump
src/bin/admin/tests/mysql_tests.sh.in
added missing assert_eq placeholders
src/bin/admin/tests/pgsql_tests.sh.in
pgsql_lease4_dump_test() - new function which tests dumping v4 leases
pgsql_lease4_dump_test() - new function which tests dumping v6 leases
Added the following test reference data files:
src/bin/admin/tests/data/pgsql.lease4_dump_test.reference.csv
src/bin/admin/tests/data/pgsql.lease6_dump_test.reference.csv
Francis Dupont [Fri, 12 Jun 2015 14:20:44 +0000 (16:20 +0200)]
[master] spelling
Thomas Markwalder [Fri, 12 Jun 2015 13:03:11 +0000 (09:03 -0400)]
[3884] Clean up PostgreSQL admin functions
src/bin/admin/admin-utils.sh
Revamped the PostgreSQL functions to mirror changes made to MySQL
functions. Primarily, no longer capturing psql output in an environment
variable. This provides greater flexibility in the caller.
Marcin Siodelski [Fri, 12 Jun 2015 12:55:08 +0000 (14:55 +0200)]
[3852] Added traces to the allocation engine.
Francis Dupont [Fri, 12 Jun 2015 12:47:28 +0000 (14:47 +0200)]
[master] msqg -> msgq
Marcin Siodelski [Thu, 11 Jun 2015 18:14:55 +0000 (20:14 +0200)]
[master] Added ChangeLog entry for #3805.
Marcin Siodelski [Thu, 11 Jun 2015 18:12:36 +0000 (20:12 +0200)]
[master] Merge branch 'trac3805'
Marcin Siodelski [Thu, 11 Jun 2015 18:11:39 +0000 (20:11 +0200)]
[3805] Fixed obvious error in the Hooks Developer Guide.
Stephen Morris [Thu, 11 Jun 2015 17:45:31 +0000 (18:45 +0100)]
[3805] Miscellaneous edits to the documentation update
Marcin Siodelski [Thu, 11 Jun 2015 16:46:46 +0000 (18:46 +0200)]
[3852] Created new logger for allocation engine.
Also, moved alloc-engine specific messages to separate files.
Stephen Morris [Thu, 11 Jun 2015 13:36:38 +0000 (14:36 +0100)]
[3732] Remove Doxygen references to deleted documentation sections
Marcin Siodelski [Thu, 11 Jun 2015 12:46:36 +0000 (14:46 +0200)]
[3805] Added logging considerations into the Hooks Dev Guide.
Francis Dupont [Thu, 11 Jun 2015 12:22:32 +0000 (14:22 +0200)]
[3833] Updated copyright
Francis Dupont [Thu, 11 Jun 2015 12:21:54 +0000 (14:21 +0200)]
[3833] Improved coding
Francis Dupont [Thu, 11 Jun 2015 12:20:50 +0000 (14:20 +0200)]
[3833] Improved coding
Francis Dupont [Thu, 11 Jun 2015 12:16:54 +0000 (14:16 +0200)]
[3833] Improved pack_1Byte and pack_2Bytes coding
Francis Dupont [Thu, 11 Jun 2015 12:13:45 +0000 (14:13 +0200)]
[3833] Improved iface_methods coding
Francis Dupont [Thu, 11 Jun 2015 12:10:42 +0000 (14:10 +0200)]
[3833] Added a static_cast from size_t to uint16_t
Francis Dupont [Thu, 11 Jun 2015 12:00:19 +0000 (14:00 +0200)]
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea
Francis Dupont [Thu, 11 Jun 2015 11:59:35 +0000 (13:59 +0200)]
[master] untabify
Thomas Markwalder [Thu, 11 Jun 2015 11:40:18 +0000 (07:40 -0400)]
[master] Added ChangeLog entry 949 for #3802
Thomas Markwalder [Thu, 11 Jun 2015 11:23:12 +0000 (07:23 -0400)]
[master] Re-Merging 3802 AGAIN
3rd time, maybe it is a charm?
Francis Dupont [Thu, 11 Jun 2015 11:19:01 +0000 (13:19 +0200)]
[master] Merged trac3860 (misc cleanups)
Francis Dupont [Thu, 11 Jun 2015 11:09:46 +0000 (13:09 +0200)]
[3859] Made getVersion() unit tests more regular
Francis Dupont [Thu, 11 Jun 2015 11:06:42 +0000 (13:06 +0200)]
[3859] Removed extra parentheses
Francis Dupont [Thu, 11 Jun 2015 10:59:12 +0000 (12:59 +0200)]
[3732] Applied #3732 review comments (doc clean up, add KEA_ to the msgq socket file env var)
Thomas Markwalder [Thu, 11 Jun 2015 10:51:36 +0000 (06:51 -0400)]
[master] Another re-merge for 3802
More intervening commits, so merging again
Francis Dupont [Thu, 11 Jun 2015 10:37:19 +0000 (12:37 +0200)]
[master] Updated git hash
Francis Dupont [Thu, 11 Jun 2015 10:36:28 +0000 (12:36 +0200)]
[master] Added trac3652 (multiple HR for the same v4 address) ChangeLog entry
Francis Dupont [Thu, 11 Jun 2015 10:34:02 +0000 (12:34 +0200)]
[master] Merged trac3652 (multiple HR for the same v4 address)
Thomas Markwalder [Thu, 11 Jun 2015 10:19:21 +0000 (06:19 -0400)]
[master] Re-merge changes for 3802
Additonal commits were made to master, while I was merging in 3802.
Thomas Markwalder [Thu, 11 Jun 2015 10:17:49 +0000 (06:17 -0400)]
[master] Merge branch 'trac3802'
Adds lease-dump to kea-admin. While merging, additonal changes
were needed:
src/bin/admin/tests/mysql_tests.sh.in
mysql_wipe() - functio was failing referential integrity checks
due to new tables added in schema 3.0. Was deleting all
tables except "hosts". This has been fixed.
Added src/bin/admin/scripts/mysql/lease_dump_3.0.sh
Marcin Siodelski [Thu, 11 Jun 2015 07:47:26 +0000 (09:47 +0200)]
[3805] Updated logging section in the User Guide.
Marcin Siodelski [Thu, 11 Jun 2015 05:38:12 +0000 (07:38 +0200)]
[master] Added ChangeLog for #3070.
Marcin Siodelski [Thu, 11 Jun 2015 05:36:59 +0000 (07:36 +0200)]
[master] Merge branch 'trac3070'
Marcin Siodelski [Thu, 11 Jun 2015 05:17:31 +0000 (07:17 +0200)]
[3070] Removed unused configuration structure.
Shawn Routhier [Wed, 10 Jun 2015 18:57:31 +0000 (11:57 -0700)]
[3513] Update the doc for -W and fix some typos
Thomas Markwalder [Wed, 10 Jun 2015 14:52:54 +0000 (10:52 -0400)]
[master] Added ChangeLog entry 946 for #3803.
Thomas Markwalder [Wed, 10 Jun 2015 14:34:14 +0000 (10:34 -0400)]
[master] Merge branch 'trac3803'
Documented kea-admin lease-dump in Kea administrator's guide
Francis Dupont [Wed, 10 Jun 2015 14:33:06 +0000 (16:33 +0200)]
[3513] Added some texts (to improve) about -W & co in guides
Francis Dupont [Wed, 10 Jun 2015 14:19:43 +0000 (16:19 +0200)]
[3513] 215 -> 2015 typo
Francis Dupont [Wed, 10 Jun 2015 14:17:32 +0000 (16:17 +0200)]
[3513] Fixed parially the bin/d*/kea-*.xml docs
Thomas Markwalder [Wed, 10 Jun 2015 14:15:17 +0000 (10:15 -0400)]
[3803] Addressed review comments
Minor changes to admin text.
Thomas Markwalder [Wed, 10 Jun 2015 14:01:45 +0000 (10:01 -0400)]
[3802] Updated copyright in src/bin/admin/tests/mysql_tests.sh.in
Francis Dupont [Wed, 10 Jun 2015 14:01:08 +0000 (16:01 +0200)]
[3513] Added the code for -W, now working on the doc
Marcin Siodelski [Wed, 10 Jun 2015 12:58:36 +0000 (14:58 +0200)]
[master] Added ChangeLog entry for #3807.
Marcin Siodelski [Wed, 10 Jun 2015 12:52:26 +0000 (14:52 +0200)]
[master] Merge branch 'trac3807'
Shawn Routhier [Wed, 10 Jun 2015 12:48:07 +0000 (05:48 -0700)]
Merge branch 'trac3070' of ssh://git.kea.isc.org/git/kea into trac3070
[trac3070] merge changes with some typo fixes
Shawn Routhier [Wed, 10 Jun 2015 12:47:17 +0000 (05:47 -0700)]
[trac3070] Fix some typos as part of the review
Thomas Markwalder [Wed, 10 Jun 2015 12:25:54 +0000 (08:25 -0400)]
[3802] Addressed review comments
Primarily, SQL text for lease-dump now comes from a file and the use of
PIPESTATUS has been eliminated:
src/bin/admin/admin-utils.sh
mysql_execute() - altered the function to not catch the mysql output in
in an environment variable. This removes the risk of large result sets
crashing the shell and allows callers more flexibility.
mysql_version() - now returns exit value of its call to mysql_execute.
mysql_version_printf() - deleted this function.
src/bin/admin/kea-admin.in
Removed the use of $_RESULT env variable formerly set by mysql_execute
Replaced use of mysql_version_printf with appropriately structured
calls to mysql_version
Check_file_overwrite () - utility function for prompting the user that
a given file will be overwritten
get_dump_qry() - new function which fetches the lease dump SQL text
specific to a given backend, version, and protocol from a file
mysql_dump()
- Updated to use get_dump_qry() to fetch the needed SQL
- Restructured to use a temp file rather than pipe to eliminate
use of PIPESTATUS
pgsql_dump()
Updated to get_dump_qry() to fetch the needed SQL
Removed use of PIPESTATUS (didn't need it anyway)
src/bin/admin/scripts/mysql/upgrade_1.0_to_2.0.sh.in
Updated calls to mysql_version
Added the following files which contain lease-dump SQL text:
src/bin/admin/scripts/mysql/lease_dump_1.0.sh
src/bin/admin/scripts/mysql/lease_dump_2.0.sh
src/bin/admin/scripts/pgsql/lease_dump_1.0.sh
Marcin Siodelski [Wed, 10 Jun 2015 11:45:53 +0000 (13:45 +0200)]
[3807] Addressed review comments.
Mostly fixing typos and issues in comments and log messages.
Tomek Mrugalski [Wed, 10 Jun 2015 11:36:06 +0000 (13:36 +0200)]
[master] Merge branch 'trac3796' (statistics interface, part 1)
Conflicts:
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
src/bin/dhcp6/tests/dhcp6_test_utils.cc
Thomas Markwalder [Wed, 10 Jun 2015 10:58:41 +0000 (06:58 -0400)]
[master] Added ChangeLog entry 944.
Thomas Markwalder [Wed, 10 Jun 2015 10:30:30 +0000 (06:30 -0400)]
[master] Merged branch 'trac3883'
3883 adds PostgreSQL support to kea-admin
Tomek Mrugalski [Wed, 10 Jun 2015 09:22:41 +0000 (11:22 +0200)]
[3796] Minor edit in one comment.
Tomek Mrugalski [Wed, 10 Jun 2015 08:48:24 +0000 (10:48 +0200)]
[3796] command_interpreter.cc|h|tests moved: src/lib/config => src/lib/cc
Marcin Siodelski [Wed, 10 Jun 2015 08:21:49 +0000 (10:21 +0200)]
[3070] Addressed review comments.
- Minor changes in User Guide
- Reordering DHCPv6 log messages
- Improved comment for fake allocation
- Cleanup in the config parser test
- Added new test for Rapid Commit
- Default value of rapid_commit_ in subnet.
Shawn Routhier [Tue, 9 Jun 2015 20:15:58 +0000 (13:15 -0700)]
[master] Added branch tag for 3808
Shawn Routhier [Tue, 9 Jun 2015 20:13:33 +0000 (13:13 -0700)]
[master] Enhance the d2 logging code
Split the d2 logging code into multiple loggers
to allow administrators to more easily contol
the amount of debug messages during debugging.
Merge branch 'trac3808'
Shawn Routhier [Tue, 9 Jun 2015 19:42:18 +0000 (12:42 -0700)]
[trac3808] Updates per review comments round 2
Add the ChangeLog entry
Update the documentation to change the underscores to hyphens
Tomek Mrugalski [Tue, 9 Jun 2015 17:31:00 +0000 (19:31 +0200)]
[master] Merge branch 'master' of ssh://git.kea.isc.org/git/kea