]>
git.ipfire.org Git - thirdparty/kea.git/log
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
Tomek Mrugalski [Wed, 10 Jun 2015 12:15:13 +0000 (14:15 +0200)]
[3880] Makefile fix.
Tomek Mrugalski [Wed, 10 Jun 2015 12:13:45 +0000 (14:13 +0200)]
[3880] Compilation fixes after rebase
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 [Tue, 9 Jun 2015 11:47:21 +0000 (13:47 +0200)]
[3880] Minor doxygen warning fixed.
Tomek Mrugalski [Tue, 9 Jun 2015 11:43:12 +0000 (13:43 +0200)]
[3880] Makefile updated.
Tomek Mrugalski [Tue, 9 Jun 2015 11:41:58 +0000 (13:41 +0200)]
[3880] Minimalistic description in the User's Guide added
Tomek Mrugalski [Tue, 9 Jun 2015 11:32:13 +0000 (13:32 +0200)]
[3880] Control channel documented (devel guide)
Tomek Mrugalski [Mon, 8 Jun 2015 20:22:45 +0000 (22:22 +0200)]
[3880] Compilation fix.
Tomek Mrugalski [Mon, 8 Jun 2015 19:55:56 +0000 (21:55 +0200)]
[3880] statistic-* commands are now registered in Dhcpv4Srv
Tomek Mrugalski [Mon, 8 Jun 2015 19:35:22 +0000 (21:35 +0200)]
[3880] Implemented handlers for statistic-* commands.
Tomek Mrugalski [Mon, 8 Jun 2015 17:57:34 +0000 (19:57 +0200)]
[3880] Extra sanity check added.
Tomek Mrugalski [Mon, 8 Jun 2015 17:46:26 +0000 (19:46 +0200)]
[3880] Unit-test for UNIX control socket written.
Tomek Mrugalski [Wed, 3 Jun 2015 14:32:59 +0000 (16:32 +0200)]
[3880] Support for control-socket implemented in DHCPv4.
Tomek Mrugalski [Tue, 2 Jun 2015 20:04:30 +0000 (22:04 +0200)]
[3880] Callback for handling UNIX connections implemented.
Tomek Mrugalski [Tue, 26 May 2015 19:26:25 +0000 (21:26 +0200)]
[3880] CommandSocketFactory implemented.
Tomek Mrugalski [Tue, 26 May 2015 18:16:02 +0000 (20:16 +0200)]
[3880] Initial implementation:
- CommandMgr class implemented
- unit-tests for CommandMgr implemented
- Stub implementation for CommandSocketFactory
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
Thomas Markwalder [Tue, 9 Jun 2015 17:20:11 +0000 (13:20 -0400)]
[3883] Additional review fixes
- Reversed order in assert_eq message paramenters
- pgsql_upgrade_test() was missing setup steps to wipe and create the db
Tomek Mrugalski [Tue, 9 Jun 2015 16:40:39 +0000 (18:40 +0200)]
[master] ChangeLog updated.
Tomek Mrugalski [Tue, 9 Jun 2015 16:39:31 +0000 (18:39 +0200)]
[master] Merge branch 'trac3794' (packet statistics in DHCPv4)
Francis Dupont [Tue, 9 Jun 2015 16:14:58 +0000 (18:14 +0200)]
[master] Merged trac3832 (isalpha() returns an int, not a bool)
Francis Dupont [Tue, 9 Jun 2015 16:11:55 +0000 (18:11 +0200)]
[master] Merged trac3867 (a typo made dhcp4_test_utils.h twice)
Francis Dupont [Tue, 9 Jun 2015 16:01:27 +0000 (18:01 +0200)]
[master] Merged trac3814 (removed config.h from check_valgrind.h)
Tomek Mrugalski [Tue, 9 Jun 2015 15:05:02 +0000 (17:05 +0200)]
[3794] Another 2 static_casts added.
Tomek Mrugalski [Tue, 9 Jun 2015 14:50:56 +0000 (16:50 +0200)]
[3794] Comments updated.
Tomek Mrugalski [Tue, 9 Jun 2015 14:48:51 +0000 (16:48 +0200)]
[3794] Changes after review:
- Pkt4::check() removed
- commented recent change in Pkt4::setType()
- Pkt4::setType() now used OptionInt<uint8> rather than
Option::setUint8()
Tomek Mrugalski [Tue, 9 Jun 2015 13:23:37 +0000 (15:23 +0200)]
[3796] arg description updated.
Tomek Mrugalski [Tue, 9 Jun 2015 13:13:45 +0000 (15:13 +0200)]
[3796] Changes after review:
- a lot of dead code removed from command_interpreter.cc|h|tests
- unit-tests an el() function now have comments
- comments improved (added for constants, cleaned up for functions)
- copyright years updated
- unnecessary includes removed
Marcin Siodelski [Tue, 9 Jun 2015 12:28:48 +0000 (14:28 +0200)]
[master] Added ChangeLog entry for #3810.
Marcin Siodelski [Tue, 9 Jun 2015 12:00:45 +0000 (14:00 +0200)]
[master] Merge branch 'trac3810'
Marcin Siodelski [Tue, 9 Jun 2015 11:58:43 +0000 (13:58 +0200)]
[3807] Fixed bug in the Option6StatusCode::toText
Marcin Siodelski [Tue, 9 Jun 2015 11:06:01 +0000 (13:06 +0200)]
[3070] Fixed some compilation failures.
Francis Dupont [Tue, 9 Jun 2015 10:53:05 +0000 (12:53 +0200)]
[master] Updated git hash
Francis Dupont [Tue, 9 Jun 2015 10:50:24 +0000 (12:50 +0200)]
[master] Merging trac3504b (RELEASE from bad location)
Francis Dupont [Tue, 9 Jun 2015 10:40:21 +0000 (12:40 +0200)]
[3504b] Renamed [Rr]eleaseNoSubnet
Francis Dupont [Tue, 9 Jun 2015 10:39:08 +0000 (12:39 +0200)]
[3504b] Unwrapped DHCP4_RELEASE_FAIL_NO_SUBNET definition
Marcin Siodelski [Tue, 9 Jun 2015 10:36:53 +0000 (12:36 +0200)]
[3070] Added log message for Rapid Commit.
Marcin Siodelski [Tue, 9 Jun 2015 10:18:44 +0000 (12:18 +0200)]
[3070] Added section about Rapid Commit to the User Guide.
Marcin Siodelski [Tue, 9 Jun 2015 10:00:21 +0000 (12:00 +0200)]
[3070] Implemented Rapid Commit support for DHCPv6 server.
Marcin Siodelski [Tue, 9 Jun 2015 10:35:14 +0000 (12:35 +0200)]
[3070] Parse rapid-commit parameter for subnet6.
Marcin Siodelski [Mon, 8 Jun 2015 12:50:59 +0000 (14:50 +0200)]
[3070] Added Rapid Commit flag to Subnet6.
Francis Dupont [Tue, 9 Jun 2015 08:13:37 +0000 (10:13 +0200)]
[3513] improved the config.report texts
Francis Dupont [Tue, 9 Jun 2015 07:43:49 +0000 (09:43 +0200)]
[3513] improved extended version layouts
Francis Dupont [Tue, 9 Jun 2015 07:34:50 +0000 (09:34 +0200)]
[3513] removed extra EXTENDED_VERSION
Shawn Routhier [Tue, 9 Jun 2015 02:15:36 +0000 (19:15 -0700)]
[trac3808] Updates per review comments
Marcin Siodelski [Mon, 8 Jun 2015 16:59:51 +0000 (18:59 +0200)]
[3810] Further changes as a result of the review.
Marcin Siodelski [Mon, 8 Jun 2015 16:54:58 +0000 (18:54 +0200)]
[3810] Addressed review comments.
Removed static constant and updated tests for HostReservationParser.
Thomas Markwalder [Mon, 8 Jun 2015 13:13:13 +0000 (09:13 -0400)]
[3883] Addressed review comments
Minor typos and cleanup.
Marcin Siodelski [Mon, 8 Jun 2015 11:50:31 +0000 (13:50 +0200)]
[3810] Host reservation parser checks for unsupported parameters.
Marcin Siodelski [Fri, 5 Jun 2015 09:15:21 +0000 (11:15 +0200)]
[3796] Removed unused function to prevent compilation failure on OS-X.
Shawn Routhier [Fri, 5 Jun 2015 03:41:20 +0000 (20:41 -0700)]
[trac3618] Tidy up some typos found while reviewing.
Francis Dupont [Wed, 3 Jun 2015 17:49:58 +0000 (19:49 +0200)]
[3504b] Rewrote ReleaseNoSubnet unit test
Francis Dupont [Wed, 3 Jun 2015 13:41:43 +0000 (15:41 +0200)]
[3504b] Switched to bad_packet_logger
Francis Dupont [Wed, 3 Jun 2015 13:18:55 +0000 (15:18 +0200)]
[3504b] processRelease() drops packets from bad location (i.e., no subnet)
Francis Dupont [Wed, 3 Jun 2015 13:17:26 +0000 (15:17 +0200)]
[3504b] Added new DHCP4_RELEASE_FAIL_NO_SUBNET message
Marcin Siodelski [Tue, 2 Jun 2015 15:37:24 +0000 (17:37 +0200)]
[3807] Improved log messages for the DHCPv6 server.
Also added a few minor corrections to the DHCPv4 server and implemented
new Option6StatusCode.
Thomas Markwalder [Fri, 29 May 2015 13:37:31 +0000 (09:37 -0400)]
[3794] Converted dhcp4 guide statistics list to table
doc/guide/dhcp4-srv.xml
converted item list of statistics to a table to improve readability.
Thomas Markwalder [Thu, 28 May 2015 18:18:04 +0000 (14:18 -0400)]
[3883] Added support for PostgreSQL to kea-admin
configure.ac
- added src/bin/admin/tests/pgsql_tests.sh to list of config
generated files (i.e AC_CONFIG_FILES)
src/bin/admin/tests/pgsql_tests.sh.in
- new file containing unit tests of for kea-admin PostgreSQL support
src/bin/admin/tests/Makefile.am
- added pgsql_tests.sh
src/bin/admin/admin-utils.sh
- added PosgreSQL support functions:
pgsql_execute()
pgsql_execute_script()
pgsql_version()
pgsql_version_print()
src/bin/admin/kea-admin.in
- implemented pgsql_init()
- removed pgsql_version(), kea-admin uses function in
admin-utils.sh directly
- implemented pgsql_upgrade() - note that it fails with exit 1
as there are not yet any upgrades available
Tomek Mrugalski [Wed, 27 May 2015 12:55:30 +0000 (14:55 +0200)]
[3798] Makefiles updated.
Tomek Mrugalski [Wed, 27 May 2015 12:29:06 +0000 (14:29 +0200)]
[3798] assigned-addresses statistic handling in Release processing
Tomek Mrugalski [Wed, 27 May 2015 11:38:02 +0000 (13:38 +0200)]
[3798] assigned-addresses stat modifications in AllocEngine
Thomas Markwalder [Wed, 27 May 2015 11:22:16 +0000 (07:22 -0400)]
[3803] Updated kea guide and kea-admin man pages for lease-dump
Tomek Mrugalski [Wed, 27 May 2015 10:37:53 +0000 (12:37 +0200)]
[3798] subnet[id].total-addresses implemented.
Thomas Markwalder [Tue, 26 May 2015 18:13:49 +0000 (14:13 -0400)]
[trac3802] Added unit tests for mysql lease_dump
src/bin/admin/admin-utils.sh
modified mysql_execute to return mysql's exit status
src/bin/admin/tests/mysql_tests.sh.in
added new tests: mysql_lease4_dump_test and mysql_lease4_dump_test
Added two data files used by the new tests for checking lease dump correctness:
src/bin/admin/tests/data/mysql.lease4_dump_test.reference.csv
src/bin/admin/tests/data/mysql.lease6_dump_test.reference.csv
NOTE that lease-dump for Postgresql has been implemented but lacks unit tests.
The unit tests will be completed once admin-utils.sh and kea-admin fully
support Postgres see #3883 and #3884.
Tomek Mrugalski [Fri, 22 May 2015 15:57:32 +0000 (17:57 +0200)]
[master] ChangeLog updated after #3881 merge.
Francis Dupont [Fri, 22 May 2015 06:29:03 +0000 (08:29 +0200)]
[3859] redeclare and redefine the getVersion()
Francis Dupont [Thu, 21 May 2015 23:19:40 +0000 (01:19 +0200)]
[3513] Added libcfgrpt.la to tests LDADDs
Francis Dupont [Thu, 21 May 2015 13:35:04 +0000 (15:35 +0200)]
[3697] added a throwTypeError macro to display position
Francis Dupont [Thu, 21 May 2015 13:23:39 +0000 (15:23 +0200)]
[3652] handle the IPv4 address already reserved case
Francis Dupont [Thu, 21 May 2015 13:12:29 +0000 (15:12 +0200)]
[3881] Added a config commit
Francis Dupont [Thu, 21 May 2015 12:32:26 +0000 (14:32 +0200)]
[master] updated git hash
Francis Dupont [Thu, 21 May 2015 12:31:40 +0000 (14:31 +0200)]
[master] Updated ChangeLog for trac3734
Francis Dupont [Thu, 21 May 2015 12:29:03 +0000 (14:29 +0200)]
[master] Merge branch 'trac3734'
Francis Dupont [Thu, 21 May 2015 12:23:17 +0000 (14:23 +0200)]
[master] updated git hash
Francis Dupont [Thu, 21 May 2015 12:21:57 +0000 (14:21 +0200)]
[master] Updated ChangeLog for trac3762
Francis Dupont [Thu, 21 May 2015 12:18:58 +0000 (14:18 +0200)]
[master] Merge branch 'trac3762'
Francis Dupont [Wed, 20 May 2015 21:16:11 +0000 (23:16 +0200)]
[master] spelling