]>
git.ipfire.org Git - thirdparty/kea.git/log
Tomek Mrugalski [Tue, 6 May 2014 12:59:36 +0000 (14:59 +0200)]
[3398] The result of configuration design discussion added
Tomek Mrugalski [Tue, 6 May 2014 11:55:20 +0000 (13:55 +0200)]
[trac3400] ChangeLog updated.
Thomas Markwalder [Fri, 2 May 2014 15:42:56 +0000 (11:42 -0400)]
[3382] A bit more clean up.
I removed todos on regarding use of binary of text. I could not demonstrate
any appreciable difference between the two forms and binary results require
more manual conversion. Performance should be examined as a separte effort.
Thomas Markwalder [Thu, 1 May 2014 19:21:37 +0000 (15:21 -0400)]
[3382] Replaced hard coded column types with constants
Replaced hard coded numbers for column types in tagged_statements[]
initialization.
Replaced test of error message text for duplicate key violations with
test of the SQL state code. This is the recommended mechanism as
error text can be affected by localization and is subject to content
change.
Thomas Markwalder [Thu, 1 May 2014 14:35:38 +0000 (10:35 -0400)]
[3328] Removed use of PgSqlStatementBind
Unlike, MySQL, PostgreSQL does not return anything to the caller when
preparing an SQL statement, rather one uses its text name to execute it.
PgSqlStatementBind was an unecessary duplication of data already available
in tagged_statements. This also resolved the unused member complaint from
cppcheck regarding TaggedStatement::index.
Also corrected two cppchecks in unit tests.
Thomas Markwalder [Thu, 1 May 2014 13:56:02 +0000 (09:56 -0400)]
[3382] Replaced remaining uses of PgSqlParam with PsqlBindArray
Replaced use of PgSqlParam with PsqlBindArray throughout.
Updated commentary and general clean up.
Thomas Markwalder [Wed, 30 Apr 2014 15:46:57 +0000 (11:46 -0400)]
[3382] v6 working with new PsqlBindArray
Initial use of PsqlBindArray, working for v6.
Marcin Siodelski [Tue, 29 Apr 2014 20:19:56 +0000 (22:19 +0200)]
[master] Merge branch 'trac3409'
Conflicts:
src/lib/dhcpsrv/d2_client_cfg.cc
src/lib/dhcpsrv/dhcp_parsers.cc
Thomas Markwalder [Tue, 29 Apr 2014 19:19:45 +0000 (15:19 -0400)]
[3382] v4 Working with new PsqlBindArray
Initial use of PsqlBindArray, working for v4.
Marcin Siodelski [Tue, 29 Apr 2014 16:27:14 +0000 (18:27 +0200)]
[3409] Addressed review comments.
Marcin Siodelski [Mon, 28 Apr 2014 15:11:40 +0000 (17:11 +0200)]
[3409] Append line number to error caused by undefined global parameter.
Marcin Siodelski [Mon, 28 Apr 2014 14:58:24 +0000 (16:58 +0200)]
[3409] Append line number for errors when duplicated subnet id is used.
Marcin Siodelski [Mon, 28 Apr 2014 13:57:41 +0000 (15:57 +0200)]
[3409] Append line number when adding duplicated option definition.
Marcin Siodelski [Mon, 28 Apr 2014 13:25:07 +0000 (15:25 +0200)]
[3409] Unit tests check that the error message contains line number etc.
Thomas Markwalder [Fri, 25 Apr 2014 17:44:55 +0000 (13:44 -0400)]
[master] Corrected unit test build failure under Solaris 11
Reverted change to configure.ac that broke the test for sys/filio.h.
This include is needed for unit tests in dhcp_ddns.
Marcin Siodelski [Fri, 25 Apr 2014 17:18:20 +0000 (19:18 +0200)]
[3409] Fix line number logging in DHCPv4 as a result of manual testing.
Thomas Markwalder [Fri, 25 Apr 2014 15:15:39 +0000 (11:15 -0400)]
[master] Fix for 3387, asiodns::IOFetch unit test failing
The unit test, IOFetchTest.TcpSendReceive65535, was failing
routinely on a NetBSD VM. The VM was running so slowly that
this test was timing out. Typically it takes less than
500ms. On this VM it was taking over 4.5s and then hitting
a safety valve timeout. That timeout value was increased.
Tomek Mrugalski [Fri, 25 Apr 2014 14:17:50 +0000 (16:17 +0200)]
[3400] Example config file.
Marcin Siodelski [Fri, 25 Apr 2014 12:16:43 +0000 (14:16 +0200)]
[3409] Pass whole context to the OptionDefListParser.
Marcin Siodelski [Fri, 25 Apr 2014 12:06:04 +0000 (14:06 +0200)]
[3409] Fixed culprit line logging for non-existing parameters.
Marcin Siodelski [Fri, 25 Apr 2014 09:56:46 +0000 (11:56 +0200)]
[3409] Log position of the elements in DHCPv6 config parser.
Thomas Markwalder [Thu, 24 Apr 2014 18:06:19 +0000 (14:06 -0400)]
[master] Merge branch 'trac3121'
Internal refactor, moved error logic from commit() to build() for
D2 parsers
Marcin Siodelski [Thu, 24 Apr 2014 17:55:55 +0000 (19:55 +0200)]
[3409] Use reset function to set the pointer to the Subnet config parser
Thomas Markwalder [Thu, 24 Apr 2014 17:09:24 +0000 (13:09 -0400)]
[master] Added ChangeLog entry 782 for Trac #3328.
Marcin Siodelski [Thu, 24 Apr 2014 17:02:19 +0000 (19:02 +0200)]
[3409] The DHCPv4 config parser logs positions of the elements in config.
Thomas Markwalder [Thu, 24 Apr 2014 16:45:46 +0000 (12:45 -0400)]
[master] Merge branch 'trac3328'
Adds sender_ip,sender_port,max_queue_size to D2 client config
Marcin Siodelski [Thu, 24 Apr 2014 16:27:08 +0000 (18:27 +0200)]
[3328] Fixed some typos in the bind10-guide.
Thomas Markwalder [Thu, 24 Apr 2014 15:46:11 +0000 (11:46 -0400)]
[3328] Addressed review comments
Fixed typos and replaced used of DHCPv<n> with b10-dhcp<n> in
D2 relevant sections of the admin guide.
Added sender_ip and max_queue_size value to dhcp4 and dhcp6 unit
tests.
Added used of DFT constants in D2ClientCfg default constructor.
Thomas Markwalder [Thu, 24 Apr 2014 14:04:02 +0000 (10:04 -0400)]
[3121] Addressed review comments
Added suggested code commentary.
Marcin Siodelski [Thu, 24 Apr 2014 08:54:42 +0000 (10:54 +0200)]
[3409] Append position into error messages logged from dhcp_parsers.cc
Marcin Siodelski [Wed, 23 Apr 2014 18:51:46 +0000 (20:51 +0200)]
[3409] Store position of the data element in the value storage.
Tomek Mrugalski [Wed, 23 Apr 2014 17:48:35 +0000 (19:48 +0200)]
[3400] Documentation updated.
Tomek Mrugalski [Wed, 23 Apr 2014 17:48:06 +0000 (19:48 +0200)]
[3400] Several improvements in JSON backend:
- file read can now ignore # comments in file
- there are JSON specific unit-tests now in src/bin/dhcp6
- BIND10 backend specific tests moved to separate file
Marcin Siodelski [Wed, 23 Apr 2014 17:44:32 +0000 (19:44 +0200)]
[master] Added Changelog entry for #3148.
Marcin Siodelski [Wed, 23 Apr 2014 08:57:52 +0000 (10:57 +0200)]
[master] Merge branch 'trac3148'
Marcin Siodelski [Wed, 23 Apr 2014 08:53:12 +0000 (10:53 +0200)]
[3148] Implemented getLeases6 methods which take lease type into account.
Marcin Siodelski [Wed, 23 Apr 2014 08:38:00 +0000 (10:38 +0200)]
[3148] Fixed obvious bugs in Dhcpv6Srv unit tests.
Marcin Siodelski [Tue, 22 Apr 2014 14:40:29 +0000 (16:40 +0200)]
[3409] Updated Element data structure to hold the file name.
Tomek Mrugalski [Tue, 22 Apr 2014 13:21:26 +0000 (15:21 +0200)]
[3400] Initial JSON file read support added in b10-dhcp6
- added --with-kea-config=JSON,BIND10 added to configure.ac
- JSON-file config backend added for b10-dhcp6
- Config file can now be read from a JSON file
Thomas Markwalder [Mon, 21 Apr 2014 16:03:38 +0000 (12:03 -0400)]
[3328] Updated kea admin guide with new dhcp-ddns config values
Thomas Markwalder [Mon, 21 Apr 2014 14:26:16 +0000 (10:26 -0400)]
[3328] Change Dhcp6 spec file so D2 server IP address matches Dhcp4
Out of the box both DHCP servers should look at the same defualt address
for D2, as D2 only opens one ip/port (currently).
Marcin Siodelski [Fri, 18 Apr 2014 16:53:53 +0000 (18:53 +0200)]
[master] Added Changelog entry for #3408.
Marcin Siodelski [Fri, 18 Apr 2014 16:15:33 +0000 (18:15 +0200)]
[master] Merge branch 'trac3408'
Marcin Siodelski [Fri, 18 Apr 2014 16:11:48 +0000 (18:11 +0200)]
[3408] Addressed review comments.
Tomek Mrugalski [Fri, 18 Apr 2014 12:45:09 +0000 (14:45 +0200)]
[3408] Compilation fix.
Marcin Siodelski [Fri, 18 Apr 2014 10:27:36 +0000 (12:27 +0200)]
[3121] Corrected some little typos.
Marcin Siodelski [Fri, 18 Apr 2014 09:22:45 +0000 (11:22 +0200)]
[3408] Additional doxygen fixes in data.h
Marcin Siodelski [Fri, 18 Apr 2014 09:04:50 +0000 (11:04 +0200)]
[3408] Added a few comments in the data.cc concerning element position.
Marcin Siodelski [Fri, 18 Apr 2014 09:01:05 +0000 (11:01 +0200)]
[3408] Doxygen cleanup in data.h.
Thomas Markwalder [Thu, 17 Apr 2014 20:49:27 +0000 (16:49 -0400)]
[3328] Added additional validation in D2ClientCfg
Added checks in D2ClientCfg to make user server and
sender ip values are the same family, and that
the server ip/port is not exactly the same as the
sender ip/port.
Thomas Markwalder [Thu, 17 Apr 2014 19:40:50 +0000 (15:40 -0400)]
[3328] Updated Kea6 to support new values
Updated spec file and unit tests with new dhcp-ddns values:
server-ip, server-port, and max-queue-size
Thomas Markwalder [Thu, 17 Apr 2014 19:29:05 +0000 (15:29 -0400)]
[3328] Updated Kea4 to support new values
Updated spec file and unit tests with new dhcp-ddns values:
server-ip, server-port, and max-queue-size
Thomas Markwalder [Thu, 17 Apr 2014 18:50:19 +0000 (14:50 -0400)]
[3328] Added new configurable values to dhcpsrv::D2ClientConfig
Adding new members to D2ClientConfig
- sender_ip
- sender_port
- max_queue_size
Modified D2ClientConfigParser to parse the new values
Modified D2ClientMgr to make use of the new values
Updated the appropriate unittests
Marcin Siodelski [Thu, 17 Apr 2014 16:53:43 +0000 (18:53 +0200)]
[3408] Propagate line numbers and positions of elements in Element objects
Thomas Markwalder [Thu, 17 Apr 2014 13:09:45 +0000 (09:09 -0400)]
[3121] Moved validation logic to build method for DdnsDomain parsing
Modified code for domain parsing.
Thomas Markwalder [Thu, 17 Apr 2014 11:38:25 +0000 (07:38 -0400)]
[3121] Moved validation logic to build method for DnsServeInfo parsing
Modified DnsServerInfoParser, DnsServerInfoListParser, and unit tests
Thomas Markwalder [Thu, 17 Apr 2014 10:37:02 +0000 (06:37 -0400)]
[master] Added ChangeLog entry 779 for trac3158
Thomas Markwalder [Thu, 17 Apr 2014 10:34:12 +0000 (06:34 -0400)]
[master] Merge branch 'trac3158'
Adds D2 developer's guide
Marcin Siodelski [Thu, 17 Apr 2014 09:40:06 +0000 (11:40 +0200)]
[master] Merge branch 'trac3394'
Thomas Markwalder [Wed, 16 Apr 2014 18:47:59 +0000 (14:47 -0400)]
[3394] Extraneous white space removed in dhcpsrv/Makefile.am
Thomas Markwalder [Wed, 16 Apr 2014 18:40:20 +0000 (14:40 -0400)]
[3158] Addressed review comments
Fixed the main page table of contents to include D2's sections as subpages
Minor word changes and clean up
Marcin Siodelski [Wed, 16 Apr 2014 18:11:30 +0000 (20:11 +0200)]
[3158] Removed a few nits as result of the review.
Thomas Markwalder [Wed, 16 Apr 2014 14:52:30 +0000 (10:52 -0400)]
[3121] Moved validation logic to build method for TSIGKeyInfo parsing
Modified TSIGKeyInfoParser, TSIGKeyInfoListParser, and unit tests
Marcin Siodelski [Tue, 15 Apr 2014 18:59:13 +0000 (20:59 +0200)]
[master] Merge branch 'trac3395'
Marcin Siodelski [Tue, 15 Apr 2014 18:24:08 +0000 (20:24 +0200)]
[3395] Addressed review comments.
Thomas Markwalder [Tue, 15 Apr 2014 17:37:56 +0000 (13:37 -0400)]
[3395] Corrected a few grammatical miffs
Marcin Siodelski [Tue, 15 Apr 2014 14:09:01 +0000 (16:09 +0200)]
[3394] Renamed Kea libraries from libb10-something to libkea-something.
Marcin Siodelski [Tue, 15 Apr 2014 08:23:10 +0000 (10:23 +0200)]
[master] Merge branch 'trac3391'
Thomas Markwalder [Mon, 14 Apr 2014 20:06:40 +0000 (16:06 -0400)]
[3158] Added doxygen developer's guide page for D2
Added src/bin/d2/images to image path in doc/Doxyfile
Added d2 subpage to doc/devel/mainpage.dox
Added the following:
Marcin Siodelski [Mon, 14 Apr 2014 19:18:01 +0000 (21:18 +0200)]
[3391] Minor change to configure.ac as a result of the review.
Marcin Siodelski [Mon, 14 Apr 2014 14:37:30 +0000 (16:37 +0200)]
[3395] Comment out the preface.
Marcin Siodelski [Mon, 14 Apr 2014 14:32:09 +0000 (16:32 +0200)]
[3395] bind10-guide cleanup.
Marcin Siodelski [Fri, 11 Apr 2014 13:13:26 +0000 (15:13 +0200)]
[3395] Updated BIND10 Guide, removing DNS parts and updating examples.
Marcin Siodelski [Thu, 10 Apr 2014 14:10:23 +0000 (16:10 +0200)]
[3391] Fix distcheck issues.
Marcin Siodelski [Thu, 10 Apr 2014 09:26:47 +0000 (11:26 +0200)]
[3391] Disable building lettuce tests.
Marcin Siodelski [Thu, 10 Apr 2014 08:27:06 +0000 (10:27 +0200)]
[3391] Removed references to DNS docs in from doxygen.
Marcin Siodelski [Wed, 9 Apr 2014 20:09:14 +0000 (22:09 +0200)]
[3391] Removed DNS specific folders from the tree.
Also, updated configure.ac to not reference removed files. The
--disable-dhcp and --disable-dns configuration flags have been removed.
Jeremy C. Reed [Wed, 9 Apr 2014 14:15:44 +0000 (07:15 -0700)]
Point to developers website
Thsi is another test of git with new repo
Jeremy C. Reed [Wed, 9 Apr 2014 14:11:00 +0000 (07:11 -0700)]
update README for Kea
This is mostly just a test of using new git repo for kea.
Jeremy C. Reed [Tue, 8 Apr 2014 18:17:51 +0000 (13:17 -0500)]
[master] fixed typos and misspellings in .mes message files
Jeremy C. Reed [Tue, 8 Apr 2014 18:05:27 +0000 (13:05 -0500)]
[master] fix misspellings
fixed many typos
also consistently spell and capitalize PostgreSQL.
Jeremy C. Reed [Tue, 8 Apr 2014 17:52:33 +0000 (12:52 -0500)]
[master] fix typo
as reported on dhcp jabber
Jeremy C. Reed [Tue, 8 Apr 2014 17:51:32 +0000 (12:51 -0500)]
[master] don't have duplicate ID
(discussed a little on jabber)
Jeremy C. Reed [Tue, 8 Apr 2014 17:39:44 +0000 (12:39 -0500)]
[master] bump year for copyright in guide
Jeremy C. Reed [Tue, 8 Apr 2014 17:38:18 +0000 (12:38 -0500)]
[master] increase copyright year for the generated messages documentation
(maybe this should be automatically set to current year)
Jeremy C. Reed [Tue, 8 Apr 2014 13:22:51 +0000 (08:22 -0500)]
[master] add space that I accidently removed
(blame it on my broken laptop which randomly types simulated "x"
characters which is delete char in vi. I should have the diff reviewed!)
Jeremy C. Reed [Mon, 7 Apr 2014 20:35:53 +0000 (15:35 -0500)]
[master] added release date stamp
Jeremy C. Reed [Mon, 7 Apr 2014 20:34:17 +0000 (15:34 -0500)]
[master] remove an entry and renumber
One change was not in any released version and then was reverted.
So remove it.
So change the revert message entry and renumber some entries.
This was discussed via jabber a couple weeks ago,
but nobody reviewed my patch for this.
Jeremy C. Reed [Mon, 7 Apr 2014 20:29:19 +0000 (15:29 -0500)]
[master] changelog improvements
grammar
PostgreSQL like project shows the term
typo fix
mention DHCP
Jeremy C. Reed [Mon, 7 Apr 2014 20:20:37 +0000 (15:20 -0500)]
[master] changelog formatting
On line 9 use a tab before the keyword type.
and line too long
Jeremy C. Reed [Mon, 7 Apr 2014 20:17:55 +0000 (15:17 -0500)]
[master] order some messages files
using reorder_message_file.py tool
Jeremy C. Reed [Mon, 7 Apr 2014 20:17:31 +0000 (15:17 -0500)]
[master] add year range for copyright
Thomas Markwalder [Fri, 4 Apr 2014 19:09:37 +0000 (15:09 -0400)]
[master] Fixed libdhcpsrv unit tests that failed to compile under GTEST 1.5
Added output redirect operator "<<" to Lease class so new unit tests in
libdhcpsrv will compile under gtest 1.5.
Also fixed incorrect index into lease collection for same tests.
Marcin Siodelski [Fri, 4 Apr 2014 15:07:30 +0000 (17:07 +0200)]
[master] Explicitly cast the integer value to streampos.
Older gcc compiler (4.1) doesn't implicitly cast the integer value to a
streampos value. This caused compilation problems on Centos5. The explicit
cast eliminates this issue.
Thomas Markwalder [Fri, 4 Apr 2014 13:31:04 +0000 (09:31 -0400)]
[master] Fixed missing log placeholder in b10-dhcp4
Testing undercovered a missing log place holder in Dhcp4_srv.cc, which
surfaces when a release for a non-existance lease is received.
This has been corrected.
Marcin Siodelski [Fri, 4 Apr 2014 12:38:03 +0000 (14:38 +0200)]
[master] Pass string instead of c-string in CSVFile class constructor.
This fixes a performance issue reported by cppcheck.
Marcin Siodelski [Fri, 4 Apr 2014 12:09:19 +0000 (14:09 +0200)]
[master] Removed unused primary_separator_ member from CSVFile class.
Thomas Markwalder [Fri, 4 Apr 2014 10:21:05 +0000 (06:21 -0400)]
[master] Corrected typos in bind10-guide for Postgresql setup
Marcin Siodelski [Thu, 3 Apr 2014 12:04:58 +0000 (14:04 +0200)]
[master] Added ChangeLog entry 779 for #3360.
Also, fixed whitespaces in 778.
Marcin Siodelski [Thu, 3 Apr 2014 12:01:03 +0000 (14:01 +0200)]
[master] Merge branch 'trac3360'
Conflicts:
doc/guide/bind10-guide.xml