]>
git.ipfire.org Git - thirdparty/kea.git/log
Michal 'vorner' Vaner [Mon, 14 Jan 2013 18:09:07 +0000 (19:09 +0100)]
[2582] Run the MSGQ poller in separate thread
This will be needed in the following work. If we run in the same thread
and tried to connect to self by the cc library, it would deadlock, since
the library blocks waiting for answer.
Also, small cleanup of shutdown is included.
No functional change should be observable.
Tomek Mrugalski [Mon, 14 Jan 2013 17:14:19 +0000 (18:14 +0100)]
[2597] Documentation updated.
JINMEI Tatuya [Mon, 14 Jan 2013 17:03:06 +0000 (09:03 -0800)]
[master] editorial: removed an unnecessary semicolon
commiting at my discretion.
Tomek Mrugalski [Mon, 14 Jan 2013 16:57:26 +0000 (17:57 +0100)]
[2597] Server-id in DHCPv4 is now stored to a file.
Tomek Mrugalski [Mon, 14 Jan 2013 16:48:07 +0000 (17:48 +0100)]
[2597] Server-ID is now stored and read from a file.
Jelte Jansen [Mon, 14 Jan 2013 16:19:19 +0000 (17:19 +0100)]
[master] Merge branch 'trac680'
Jelte Jansen [Mon, 14 Jan 2013 16:18:07 +0000 (17:18 +0100)]
[680] Update text and added code comments
Jelte Jansen [Mon, 14 Jan 2013 16:08:28 +0000 (17:08 +0100)]
[2498] Add another HINFO test
and remove some code that should not have been committed
Shane Kerr [Mon, 14 Jan 2013 15:51:21 +0000 (16:51 +0100)]
[2571] Explain unit test for character 255.
JINMEI Tatuya [Wed, 9 Jan 2013 04:18:06 +0000 (20:18 -0800)]
[2571] a small optimization: avoid calling strlen() every time in loop
JINMEI Tatuya [Wed, 9 Jan 2013 04:12:37 +0000 (20:12 -0800)]
[2571] editorial cleanups: &/* position, use camel name for func; const
Shane Kerr [Fri, 21 Dec 2012 09:11:05 +0000 (10:11 +0100)]
[2571] Change from char to int when we need special character values.
In cases where we use values outside of normal character range (-128
to 127 or 0 to 255) to indicate special things, like EOF, we need to
insure that we can hold these values. To do that, we use an int.
It turns out that the default type conversions also meant that our
JSON conversion from strings would break in some cases. A test was
added to show that, and to confirm the fix.
Jelte Jansen [Mon, 14 Jan 2013 15:12:44 +0000 (16:12 +0100)]
[master] Added missing virtual destructor to Lease class
Michal 'vorner' Vaner [Mon, 14 Jan 2013 14:20:47 +0000 (15:20 +0100)]
[2582] Missing log message added
A leftover from logging switch, there was a call to write to stdout,
instead of logging.
Jelte Jansen [Mon, 14 Jan 2013 13:49:08 +0000 (14:49 +0100)]
[680] Update 'no default' bindctl message
Marcin Siodelski [Mon, 14 Jan 2013 13:20:50 +0000 (14:20 +0100)]
[2317] Eliminated cppcheck errors.
Marcin Siodelski [Mon, 14 Jan 2013 11:25:01 +0000 (12:25 +0100)]
[2317] Added changes as a result of the review.
Jelte Jansen [Mon, 14 Jan 2013 11:04:28 +0000 (12:04 +0100)]
[2498] Add a few quoting tests for toText() in HINFO and NAPTR
Jelte Jansen [Mon, 14 Jan 2013 10:08:31 +0000 (11:08 +0100)]
[2498] Add operator= and use scoped_ptr in HINFO and NAPTR
JINMEI Tatuya [Sat, 12 Jan 2013 08:41:34 +0000 (00:41 -0800)]
[2573] added python wrapper for ZoneLoader extension
JINMEI Tatuya [Sat, 12 Jan 2013 08:18:55 +0000 (00:18 -0800)]
[2573] doc for MasterLoader updates
JINMEI Tatuya [Sat, 12 Jan 2013 08:01:12 +0000 (00:01 -0800)]
[2573] added getXXX methods to datasrc ZoneLoader.
JINMEI Tatuya [Sat, 12 Jan 2013 04:44:04 +0000 (20:44 -0800)]
[2573] implemented loader getSize and getPosition
JINMEI Tatuya [Fri, 11 Jan 2013 23:48:14 +0000 (15:48 -0800)]
[2573] defined MasterLoader::getRRCount().
JINMEI Tatuya [Sat, 12 Jan 2013 04:38:04 +0000 (20:38 -0800)]
[2573] changed lexer's getTotalSourceSize/Position with accumulation.
now the size is not decreased when it's popped. on second thought, I think
it makes more sense to eventually get more precise estimation of the
total progress.
JINMEI Tatuya [Fri, 11 Jan 2013 23:04:04 +0000 (15:04 -0800)]
[2576] use the generic delete_zone in b10-loadzone instead of sqlite3 hack
JINMEI Tatuya [Fri, 11 Jan 2013 22:55:30 +0000 (14:55 -0800)]
[2576] added python wrapper for DataSourceClient::deleteZone
JINMEI Tatuya [Fri, 11 Jan 2013 18:51:29 +0000 (10:51 -0800)]
[master] introduce a temporary variable to work around some build failure
some compilers seem to be confused if we directly call a method
on the result of dynamic_cast. I suspect it's a bug of the compiler in
template handling, but the workaround doesn't look so messy and I think
it's acceptable.
committing at my discretion.
Stephen Morris [Fri, 11 Jan 2013 18:40:56 +0000 (18:40 +0000)]
[2559] Remove database access string from the parser class
This is now constructed "ont the fly" when the configuration change
is committed.
JINMEI Tatuya [Fri, 11 Jan 2013 18:35:54 +0000 (10:35 -0800)]
[master] explicitly cast -1 to std::streampos. needed for some compilers.
Stephen Morris [Fri, 11 Jan 2013 18:27:01 +0000 (18:27 +0000)]
[2317] Add missing includes to resolve compilation problems
JINMEI Tatuya [Fri, 11 Jan 2013 17:10:58 +0000 (09:10 -0800)]
[master] Merge branch 'trac2572'
JINMEI Tatuya [Fri, 11 Jan 2013 17:10:36 +0000 (09:10 -0800)]
[2572] small doc update
JINMEI Tatuya [Fri, 11 Jan 2013 16:58:19 +0000 (08:58 -0800)]
[master] Merge branch 'trac2575'
Mukund Sivaraman [Fri, 11 Jan 2013 14:52:40 +0000 (20:22 +0530)]
[2225_statistics] Change description of multi-threaded use
Mukund Sivaraman [Fri, 11 Jan 2013 14:48:16 +0000 (20:18 +0530)]
[2225_statistics] Remove unnecessary documentation
Mukund Sivaraman [Fri, 11 Jan 2013 14:47:27 +0000 (20:17 +0530)]
[2225_statistics] Minor grammar correction
Tomek Mrugalski [Fri, 11 Jan 2013 14:37:32 +0000 (15:37 +0100)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
Tomek Mrugalski [Fri, 11 Jan 2013 14:37:07 +0000 (15:37 +0100)]
[master] Fix for warning in src/lib/dhcpsrv/option_space.cc
Jelte Jansen [Fri, 11 Jan 2013 13:23:42 +0000 (14:23 +0100)]
[master] Add virtual destructor for base class Iter
Tomek Mrugalski [Fri, 11 Jan 2013 13:04:34 +0000 (14:04 +0100)]
[master] distcheck fix in src/lib/dhcpsrv
Mukund Sivaraman [Fri, 11 Jan 2013 11:46:38 +0000 (17:16 +0530)]
[2435] Move RRsetCollectionBase::FindError out of the class and rename it
Mukund Sivaraman [Fri, 11 Jan 2013 09:01:08 +0000 (14:31 +0530)]
Merge branch 'master' into trac2593
Stephen Morris [Fri, 11 Jan 2013 08:38:05 +0000 (08:38 +0000)]
[2559] Add database access parser to DHCPv4 server
Stephen Morris [Fri, 11 Jan 2013 08:37:15 +0000 (08:37 +0000)]
[2559] Add debug message when database is closed
Yoshitaka Aharen [Fri, 11 Jan 2013 06:31:25 +0000 (15:31 +0900)]
[2157] editorial fix: namings and comments
Yoshitaka Aharen [Fri, 11 Jan 2013 05:07:28 +0000 (14:07 +0900)]
[2157] add some notes to generate_docfile
Yoshitaka Aharen [Fri, 11 Jan 2013 04:56:34 +0000 (13:56 +0900)]
[2157] check some statistics counters are unaffected
JINMEI Tatuya [Fri, 11 Jan 2013 02:03:47 +0000 (18:03 -0800)]
[master] changelog entry for #2500
JINMEI Tatuya [Fri, 11 Jan 2013 01:39:00 +0000 (17:39 -0800)]
[master] Merge branch 'trac2500'
JINMEI Tatuya [Thu, 10 Jan 2013 23:39:38 +0000 (15:39 -0800)]
[2572] fixed a typo: push vs pop
JINMEI Tatuya [Thu, 10 Jan 2013 23:37:11 +0000 (15:37 -0800)]
[2572] adjusted getTotalSourceSize() to handle unknown source size
JINMEI Tatuya [Thu, 10 Jan 2013 23:23:29 +0000 (15:23 -0800)]
[2572] introduced a special source size of "unknown".
this will help handle special cases like using the lexer with stdin
associated with a pipe.
Marcin Siodelski [Thu, 10 Jan 2013 20:22:44 +0000 (21:22 +0100)]
[2317] Specify option space names for DHCPv6 options.
Stephen Morris [Thu, 10 Jan 2013 19:40:58 +0000 (19:40 +0000)]
[2559] Remove elements with empty values from database access string
Marcin Siodelski [Thu, 10 Jan 2013 17:39:03 +0000 (18:39 +0100)]
[2317] Improved some comments in the DHCPv4 data parsers.
Marcin Siodelski [Thu, 10 Jan 2013 17:19:21 +0000 (18:19 +0100)]
[2317] Option data parser is dependent on option definitions parser.
JINMEI Tatuya [Thu, 10 Jan 2013 17:05:20 +0000 (09:05 -0800)]
[2575] clarified/corrected some comments for tests.
also enabled DatabaseClientTest::createZoneRollbackOnExists with the mock
accessor, too (it should have been done but was overlooked).
Tomek Mrugalski [Thu, 10 Jan 2013 15:32:24 +0000 (16:32 +0100)]
[master] Merge branch 'trac2320' (DHCPv4 allocation engine)
Conflicts:
ChangeLog
src/bin/dhcp4/config_parser.cc
src/bin/dhcp6/config_parser.cc
src/lib/dhcpsrv/lease_mgr.cc
src/lib/dhcpsrv/lease_mgr.h
src/lib/dhcpsrv/memfile_lease_mgr.cc
src/lib/dhcpsrv/subnet.cc
src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
Stephen Morris [Thu, 10 Jan 2013 15:30:10 +0000 (15:30 +0000)]
[2559] Add some debugging and error messages to the DHCP4/6 servers
Michal 'vorner' Vaner [Thu, 10 Jan 2013 15:23:13 +0000 (16:23 +0100)]
[2436] Rephrase a TODO comment
So it is a little bit clearer.
Michal 'vorner' Vaner [Thu, 10 Jan 2013 15:16:18 +0000 (16:16 +0100)]
[2436] Use a reference
According to the standard, it is safe here. So we save ourselves a copy.
Mukund Sivaraman [Thu, 10 Jan 2013 14:15:35 +0000 (19:45 +0530)]
[2593] Workaround the aliasing problem in boost::optional
This uses the workaround suggested by Jinmei in:
https://lists.isc.org/pipermail/bind10-dev/2013-January/004192.html
It is less optimal than the normal code, but we have no choice if we
have to support Debian 6 stable which currently ships with a broken
Boost.
Mukund Sivaraman [Thu, 10 Jan 2013 13:50:19 +0000 (19:20 +0530)]
[2435] Test use of NO_WILDCARD option
Mukund Sivaraman [Thu, 10 Jan 2013 13:49:28 +0000 (19:19 +0530)]
[2435] Update comment
Mukund Sivaraman [Thu, 10 Jan 2013 13:40:36 +0000 (19:10 +0530)]
[2435] Test use of FIND_GLUE_OK option
Stephen Morris [Thu, 10 Jan 2013 13:16:22 +0000 (13:16 +0000)]
[2559] Move Database Access parser to dhcpsrv
Tomek Mrugalski [Thu, 10 Jan 2013 13:04:17 +0000 (14:04 +0100)]
[2320] perfdhcp tests updated after Pkt4::setType() changed.
Stephen Morris [Thu, 10 Jan 2013 13:02:39 +0000 (13:02 +0000)]
[2559] Merge branch 'master' into trac2559
Conflicts:
src/bin/dhcp6/config_parser.cc
Pick up relocation of the base parser header file to dhcpsrv,
and the correction to the getting of a full configuration
(ticket 2619).
Mukund Sivaraman [Thu, 10 Jan 2013 12:29:38 +0000 (17:59 +0530)]
[2435] Make a minor comment update
Marcin Siodelski [Thu, 10 Jan 2013 12:27:52 +0000 (13:27 +0100)]
[2317] Group configured options by their spaces.
Mukund Sivaraman [Thu, 10 Jan 2013 11:57:30 +0000 (17:27 +0530)]
[2435] Check ZoneFinder find() result and return accordingly
Marcin Siodelski [Thu, 10 Jan 2013 11:57:53 +0000 (12:57 +0100)]
[2317] Configure space when setting option value.
Jelte Jansen [Thu, 10 Jan 2013 11:28:38 +0000 (12:28 +0100)]
[2498] Add naptr to factory_users list
Jelte Jansen [Thu, 10 Jan 2013 11:18:25 +0000 (12:18 +0100)]
[2498] Remove deprecated character_string files
Jelte Jansen [Thu, 10 Jan 2013 11:11:23 +0000 (12:11 +0100)]
[2498] Cleanups; mostly include files
Jelte Jansen [Thu, 10 Jan 2013 10:35:35 +0000 (11:35 +0100)]
[2498] Fix compareCharStrings for empty charstrings
Jelte Jansen [Thu, 10 Jan 2013 08:56:52 +0000 (09:56 +0100)]
[2498] move out some common charstrings functions
And add a number of tests
Jelte Jansen [Wed, 9 Jan 2013 10:44:49 +0000 (11:44 +0100)]
[2498] Update HINFO and NAPTR to use new createFromText
Also change internal representation of strings to type CharString;
because CharString is (currently) hidden, this meant introducing pimpl to these classes. Also the relevant getters now return copies instead of references to strings.
Mukund Sivaraman [Thu, 10 Jan 2013 10:20:36 +0000 (15:50 +0530)]
[2435] Remove redundant class definition
Jelte Jansen [Thu, 10 Jan 2013 10:11:57 +0000 (11:11 +0100)]
[master] Update changelog for merge of #2619
Mukund Sivaraman [Thu, 10 Jan 2013 10:11:06 +0000 (15:41 +0530)]
[2435] Add a note that some RRTypes are not specifically handled
Mukund Sivaraman [Thu, 10 Jan 2013 10:07:41 +0000 (15:37 +0530)]
[2435] Add detailed doc for getRRsetCollection()
Jelte Jansen [Thu, 10 Jan 2013 10:07:35 +0000 (11:07 +0100)]
[master] Merge branch 'trac2619_merge'
Jelte Jansen [Wed, 9 Jan 2013 14:16:07 +0000 (15:16 +0100)]
[2619] Make getFullConfig() not 'flatten' the data
Rather, it does a getValue on all top-level elements and puts them in the map to return
This changes behaviour slightly, but it should reflect the actual use better than the old ones (even in existing cases)
Marcin Siodelski [Thu, 10 Jan 2013 09:21:59 +0000 (10:21 +0100)]
[2317] Added option definition config parser for the DHCPv6 server.
Mukund Sivaraman [Thu, 10 Jan 2013 09:17:29 +0000 (14:47 +0530)]
[2435] Move datasrc::RRsetCollection implementation into database.cc
This is so that it is not directly instantiated, but returned by
getRRsetCollection() on the updater.
JINMEI Tatuya [Thu, 10 Jan 2013 07:32:56 +0000 (23:32 -0800)]
[2575] documentation updates
JINMEI Tatuya [Thu, 10 Jan 2013 07:09:57 +0000 (23:09 -0800)]
[2575] added deleteZone() to client class.
also added some more hack to the DB unittests so add/delete zone tests
can work with mock accessor, too.
JINMEI Tatuya [Thu, 10 Jan 2013 05:06:46 +0000 (21:06 -0800)]
[2575] define IF of deleteZone() and implement it for SQLite3.
JINMEI Tatuya [Thu, 10 Jan 2013 02:19:47 +0000 (18:19 -0800)]
[2572] documented additional exceptions from InputSource wrt getting size.
JINMEI Tatuya [Thu, 10 Jan 2013 02:12:57 +0000 (18:12 -0800)]
[2572] clarified that istream source must be complete on pushSource.
JINMEI Tatuya [Thu, 10 Jan 2013 02:10:52 +0000 (18:10 -0800)]
[2572] added MasterLexer::getPosition().
JINMEI Tatuya [Thu, 10 Jan 2013 01:31:14 +0000 (17:31 -0800)]
[2572] added MasterLexer::getTotalSourceSize().
JINMEI Tatuya [Thu, 10 Jan 2013 01:03:27 +0000 (17:03 -0800)]
[2572] added InputSource::getPosition() to return the current positio of src.
JINMEI Tatuya [Thu, 10 Jan 2013 00:32:56 +0000 (16:32 -0800)]
[2572] added InputSource::getSize() to know the total size of the source.
JINMEI Tatuya [Fri, 4 Jan 2013 23:52:52 +0000 (15:52 -0800)]
[2438] corrected pytype var name (to match the one defined in .h)
JINMEI Tatuya [Fri, 4 Jan 2013 22:15:50 +0000 (14:15 -0800)]
[2438] make sure intermediate errors are cleared.
JINMEI Tatuya [Fri, 4 Jan 2013 17:38:11 +0000 (09:38 -0800)]
[2438] missing EXTRA_DIST
JINMEI Tatuya [Fri, 4 Jan 2013 17:18:11 +0000 (09:18 -0800)]
[2438] added Python wrapper for RRsetCollection (base and DNS derived ver.).