]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Wed, 9 Jan 2013 12:41:35 +0000 (18:11 +0530)]
[2435] Make ZoneUpdater return a corresponding RRsetCollection for itself
Mukund Sivaraman [Wed, 9 Jan 2013 06:22:51 +0000 (11:52 +0530)]
[2435] Throw FindError in case there is a DataSourceError in ZoneFinder
Mukund Sivaraman [Wed, 9 Jan 2013 05:53:47 +0000 (11:23 +0530)]
[2435] Don't throw in case of out of zone queries
Mukund Sivaraman [Wed, 9 Jan 2013 05:34:40 +0000 (11:04 +0530)]
[2435] Handle find() with RRClass that may not be found
Mukund Sivaraman [Wed, 9 Jan 2013 05:25:18 +0000 (10:55 +0530)]
[2435] Test RRsetCollection against both MockAccessor and TestSQLite3Accessor
Mukund Sivaraman [Wed, 9 Jan 2013 05:17:02 +0000 (10:47 +0530)]
[2435] Remove the DatasrcIter implementation for now
It is not complete and unused, as the getBeginning() and getEnd()
methods simply throw now.
Mukund Sivaraman [Wed, 9 Jan 2013 05:14:26 +0000 (10:44 +0530)]
[2435] Describe that a reference to the updater is kept
Mukund Sivaraman [Wed, 9 Jan 2013 05:10:51 +0000 (10:40 +0530)]
[2435] Rename DsIter iterator class to DatasrcIter
Mukund Sivaraman [Wed, 9 Jan 2013 05:09:35 +0000 (10:39 +0530)]
[2435] Fix copyright year of files
Mukund Sivaraman [Mon, 7 Jan 2013 14:21:27 +0000 (19:51 +0530)]
[2435] Implement datasrc version of RRsetCollection.
Mukund Sivaraman [Mon, 7 Jan 2013 09:39:27 +0000 (15:09 +0530)]
[2432] Fix more cases of \return (use singular form).
Mukund Sivaraman [Mon, 7 Jan 2013 09:04:30 +0000 (14:34 +0530)]
[2432] Use prefix operator++.
Mukund Sivaraman [Mon, 7 Jan 2013 09:02:35 +0000 (14:32 +0530)]
[2432] Minimize code.
Mukund Sivaraman [Mon, 7 Jan 2013 09:00:41 +0000 (14:30 +0530)]
[2432] Use ASSERT_TRUE to not crash test suite in some places.
Mukund Sivaraman [Mon, 7 Jan 2013 08:56:37 +0000 (14:26 +0530)]
[2432] Fix use of \return (use singular form).
Mukund Sivaraman [Mon, 7 Jan 2013 08:55:16 +0000 (14:25 +0530)]
[2432] Use \throws in API doc.
Mukund Sivaraman [Mon, 7 Jan 2013 08:52:18 +0000 (14:22 +0530)]
[2432] Remove explicit template instantiation in one case.
I thought that explicit type name made the code more readable, but maybe
that's not the case so I've removed it now.
It still needs to be specified in the other constructor.
JINMEI Tatuya [Wed, 9 Jan 2013 21:38:10 +0000 (13:38 -0800)]
[2500] added notes that MNAME/RNAME must not be quoted string.
JINMEI Tatuya [Wed, 9 Jan 2013 21:37:14 +0000 (13:37 -0800)]
[2500] extracted createName() from soa.cc so it can be commonly used.
Marcin Siodelski [Wed, 9 Jan 2013 18:45:18 +0000 (19:45 +0100)]
[2317] Check for duplicated option definitions.
Marcin Siodelski [Wed, 9 Jan 2013 18:41:16 +0000 (19:41 +0100)]
[2317] Added remaining unit tests for DHCP option definitions parser.
Marcin Siodelski [Wed, 9 Jan 2013 17:09:18 +0000 (18:09 +0100)]
[2317] Test configuration of option definition comprising a record.
Marcin Siodelski [Wed, 9 Jan 2013 16:07:21 +0000 (17:07 +0100)]
[2317] Parse record-types field in DHCPv4 option definition configuration.
Marcin Siodelski [Wed, 9 Jan 2013 15:18:28 +0000 (16:18 +0100)]
[2317] Store configured option definitions in the CfgMgr object.
Tomek Mrugalski [Wed, 9 Jan 2013 14:45:40 +0000 (15:45 +0100)]
[2320] Minor memory leak in Dhcpv4_srv test fixed.
Tomek Mrugalski [Wed, 9 Jan 2013 13:40:27 +0000 (14:40 +0100)]
[2320] dynamic_cast in Subnet::getPool() removed
Mukund Sivaraman [Wed, 9 Jan 2013 12:41:35 +0000 (18:11 +0530)]
[2435] Make ZoneUpdater return a corresponding RRsetCollection for itself
Marcin Siodelski [Wed, 9 Jan 2013 12:18:15 +0000 (13:18 +0100)]
[2317] Added generic container holding option spaces.
Marcin Siodelski [Wed, 9 Jan 2013 11:14:30 +0000 (12:14 +0100)]
[2317] Create V4 option definition in the definition parser.
Stephen Morris [Wed, 9 Jan 2013 10:54:40 +0000 (10:54 +0000)]
[2320] Minor changes to the documentation
Michal 'vorner' Vaner [Wed, 9 Jan 2013 10:20:08 +0000 (11:20 +0100)]
[2436] Include some headers explicitly
It worked without this, this is just to make sure it doesn't break.
Marcin Siodelski [Wed, 9 Jan 2013 10:18:35 +0000 (11:18 +0100)]
[2317] More strict checks for option name format.
Michal 'vorner' Vaner [Wed, 9 Jan 2013 10:14:37 +0000 (11:14 +0100)]
[2436] Use example.org instead of root zone
Just to be closer to real life, no special reason.
Michal 'vorner' Vaner [Wed, 9 Jan 2013 10:06:43 +0000 (11:06 +0100)]
[2436] Test that warnings don't disrupt loading
Michal 'vorner' Vaner [Wed, 9 Jan 2013 10:06:13 +0000 (11:06 +0100)]
[2436] More renaming from validation to check
For consistency.
Michal 'vorner' Vaner [Wed, 9 Jan 2013 10:05:15 +0000 (11:05 +0100)]
[2436] Fix comment typo and make it clearer
Michal 'vorner' Vaner [Wed, 9 Jan 2013 09:43:12 +0000 (10:43 +0100)]
[2436] Proper terminology in comment
Michal 'vorner' Vaner [Wed, 9 Jan 2013 09:39:49 +0000 (10:39 +0100)]
[2436] Tweak log messages
And their IDs. Just slight clarifications.
Michal 'vorner' Vaner [Wed, 9 Jan 2013 09:26:12 +0000 (10:26 +0100)]
[2436] Remove fixed bug from man page
Marcin Siodelski [Wed, 9 Jan 2013 09:11:44 +0000 (10:11 +0100)]
[master] Added ChangeLog entry for #2313.
Marcin Siodelski [Wed, 9 Jan 2013 08:01:53 +0000 (09:01 +0100)]
[master] Merge branch 'trac2313'
Conflicts:
src/lib/dhcpsrv/cfgmgr.cc
src/lib/dhcpsrv/cfgmgr.h
Mukund Sivaraman [Wed, 9 Jan 2013 06:22:51 +0000 (11:52 +0530)]
[2435] Throw FindError in case there is a DataSourceError in ZoneFinder
Mukund Sivaraman [Wed, 9 Jan 2013 05:53:47 +0000 (11:23 +0530)]
[2435] Don't throw in case of out of zone queries
Mukund Sivaraman [Wed, 9 Jan 2013 05:34:40 +0000 (11:04 +0530)]
[2435] Handle find() with RRClass that may not be found
Mukund Sivaraman [Wed, 9 Jan 2013 05:25:18 +0000 (10:55 +0530)]
[2435] Test RRsetCollection against both MockAccessor and TestSQLite3Accessor
Mukund Sivaraman [Wed, 9 Jan 2013 05:17:02 +0000 (10:47 +0530)]
[2435] Remove the DatasrcIter implementation for now
It is not complete and unused, as the getBeginning() and getEnd()
methods simply throw now.
Mukund Sivaraman [Wed, 9 Jan 2013 05:14:26 +0000 (10:44 +0530)]
[2435] Describe that a reference to the updater is kept
Mukund Sivaraman [Wed, 9 Jan 2013 05:10:51 +0000 (10:40 +0530)]
[2435] Rename DsIter iterator class to DatasrcIter
Mukund Sivaraman [Wed, 9 Jan 2013 05:09:35 +0000 (10:39 +0530)]
[2435] Fix copyright year of files
JINMEI Tatuya [Wed, 9 Jan 2013 02:22:17 +0000 (18:22 -0800)]
[2436] style fixes: naming convention; position of &; combine short lines
JINMEI Tatuya [Wed, 9 Jan 2013 01:59:36 +0000 (17:59 -0800)]
[2500] added unit tests for SOA::compare().
totally irrelevant to the subject of the task, but since there was
no test for this method before, I'm trying to make it a little better
at this opportunity.
JINMEI Tatuya [Tue, 8 Jan 2013 04:18:00 +0000 (20:18 -0800)]
[2500] corrected some test data, making names in SOA RDATA absolute.
they were accidentally (incorrectly) accepted due to the lenience of
string version of Name constructor but should have been rejected (and
fixed).
JINMEI Tatuya [Tue, 8 Jan 2013 04:13:39 +0000 (20:13 -0800)]
[2500] re-enabled non-absolute name in SOA Rdata for loadzone tests.
this will pass on completion of this task.
JINMEI Tatuya [Tue, 8 Jan 2013 23:33:23 +0000 (15:33 -0800)]
[2500] added some more doc and more tests
JINMEI Tatuya [Tue, 8 Jan 2013 21:21:11 +0000 (13:21 -0800)]
[2500] check the case SOA-ish text begins with a new line (should be rejected)
JINMEI Tatuya [Tue, 8 Jan 2013 21:08:15 +0000 (13:08 -0800)]
[2500] use MasterLexer for "from string" ctor's of SOA rdata
Marcin Siodelski [Tue, 8 Jan 2013 19:49:32 +0000 (20:49 +0100)]
[2317] Created common function to get configured parameter from a storage.
JINMEI Tatuya [Tue, 8 Jan 2013 19:30:33 +0000 (11:30 -0800)]
[2436] explicitly include <string>, just in case.
JINMEI Tatuya [Tue, 8 Jan 2013 19:20:14 +0000 (11:20 -0800)]
[2436] constify
JINMEI Tatuya [Tue, 8 Jan 2013 18:01:11 +0000 (10:01 -0800)]
[master] Merge branch 'trac2437'
Marcin Siodelski [Tue, 8 Jan 2013 17:17:36 +0000 (18:17 +0100)]
[2317] Added parser classes for option definitions.
Tomek Mrugalski [Tue, 8 Jan 2013 17:10:50 +0000 (18:10 +0100)]
[2320] Changes after review.
Marcin Siodelski [Tue, 8 Jan 2013 16:51:17 +0000 (17:51 +0100)]
[master] Updated ChangeLog entry for #2315.
The updated description specifies that the change was in the DHCP code.
Also, the updated entry points out that new code is used internally by
the DHCP server. Okayed on jabber.
Marcin Siodelski [Thu, 3 Jan 2013 09:30:16 +0000 (10:30 +0100)]
[2317] Added option-def section in dhcp4.spec.
Marcin Siodelski [Tue, 8 Jan 2013 16:26:42 +0000 (17:26 +0100)]
[2313] Trivial: updates to some comments as a result of the second review.
Michal 'vorner' Vaner [Tue, 8 Jan 2013 15:12:45 +0000 (16:12 +0100)]
[2436] Adjust old loadzone tests
They were expecting the loadzone would just warn, not fail, on the bad
zone data.
Marcin Siodelski [Tue, 8 Jan 2013 14:44:03 +0000 (15:44 +0100)]
[2313] Changes as a result of the review.
Michal 'vorner' Vaner [Fri, 4 Jan 2013 17:30:30 +0000 (18:30 +0100)]
[2436] Remove the validation from the b10-loadzone
It is now done in the ZoneLoader in the C++ backend, so don't duplicate
the code.
Michal 'vorner' Vaner [Tue, 8 Jan 2013 14:23:25 +0000 (15:23 +0100)]
[2436] Update the mock finder, so it works with zone validation
Michal 'vorner' Vaner [Fri, 4 Jan 2013 17:28:05 +0000 (18:28 +0100)]
[2436] Perform the validation in ZoneLoader
TODO: Modify this commit and use the datasource RRsetCollection. This
way it doesn't work.
Marcin Siodelski [Tue, 8 Jan 2013 13:52:24 +0000 (14:52 +0100)]
[master] Added ChangeLog entry for #2315.
Michal 'vorner' Vaner [Fri, 4 Jan 2013 15:22:11 +0000 (16:22 +0100)]
[2436] Test there's validation in ZoneLoader
Michal 'vorner' Vaner [Fri, 4 Jan 2013 14:41:47 +0000 (15:41 +0100)]
[2436] Document validation in ZoneLoader
It should throw an exception if the validation fails.
Michal 'vorner' Vaner [Tue, 8 Jan 2013 13:14:13 +0000 (14:14 +0100)]
Merge remote-tracking branch 'origin/trac2435' into master
Marcin Siodelski [Tue, 8 Jan 2013 13:09:43 +0000 (14:09 +0100)]
[master] Merge branch 'trac2315'
Conflicts:
src/bin/dhcp4/config_parser.cc
src/bin/dhcp6/config_parser.cc
Tomek Mrugalski [Tue, 8 Jan 2013 12:53:34 +0000 (13:53 +0100)]
[2320] Changes after review, part 1
Tomek Mrugalski [Tue, 8 Jan 2013 11:07:07 +0000 (12:07 +0100)]
[2320] Pkt4::setType() is now implemented properly.
Marcin Siodelski [Tue, 8 Jan 2013 09:32:02 +0000 (10:32 +0100)]
[master] Added ChangeLog entry for #2545.
Marcin Siodelski [Tue, 8 Jan 2013 09:15:56 +0000 (10:15 +0100)]
[master] Merge branch 'trac2545'
Conflicts:
src/lib/dhcpsrv/Makefile.am
Marcin Siodelski [Tue, 8 Jan 2013 09:14:49 +0000 (10:14 +0100)]
[2545] Corrected a typo in dhcpX.spec files.
Naoki Kambe [Tue, 8 Jan 2013 04:27:14 +0000 (13:27 +0900)]
[2225_statistics] reload the counters module before starting tests
Naoki Kambe [Tue, 8 Jan 2013 04:23:41 +0000 (13:23 +0900)]
[2225_statistics] add multi-module tests for the scenarios
The following two scenarios are intended here:
- The counters are incremented in the scenario, which notify_out is solely
invoked and default statistics spec is used.
- The counters are incremented in the scenario, which XfroutServer is invoked
and the same spec file is loaded in several times
Naoki Kambe [Mon, 7 Jan 2013 12:41:34 +0000 (21:41 +0900)]
[2225_statistics] correct the module name according to renaming to counters.py
Naoki Kambe [Mon, 7 Jan 2013 11:40:58 +0000 (20:40 +0900)]
[2225_statistics] simplify too detailed documentation in start_timer() and stop_timer()
Naoki Kambe [Mon, 7 Jan 2013 11:19:13 +0000 (20:19 +0900)]
[2225_statistics] correct documentation of inc() and dec()
Naoki Kambe [Mon, 7 Jan 2013 11:17:14 +0000 (20:17 +0900)]
[2225_statistics] add a common helper function for incrementing or decrementing a counter
also inc() and dec() share its implementation.
Naoki Kambe [Mon, 7 Jan 2013 11:03:20 +0000 (20:03 +0900)]
[2225_statistics] add note to _concat()
Naoki Kambe [Mon, 7 Jan 2013 10:52:29 +0000 (19:52 +0900)]
[2225_statistics] rename counter.py to counters.py and make the related changes for the review comment
Mukund Sivaraman [Wed, 2 Jan 2013 10:28:01 +0000 (15:58 +0530)]
[2225_statistics] Make various documentation updates
These fix typos, grammar and also rewrite some comments so that they are
more clear to the reader.
Naoki Kambe [Fri, 14 Dec 2012 09:44:08 +0000 (18:44 +0900)]
[2225_statistics] rename dump_statistics() to get_statistics()
It's due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 09:40:27 +0000 (18:40 +0900)]
[2225_statistics] update document as it is
It's due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 09:29:02 +0000 (18:29 +0900)]
[2225_statistics] add helpful comments to the complicated expression
Also rsplit() is used instead of split() to be simplified.
It's due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 08:54:51 +0000 (17:54 +0900)]
[2225_statistics] rename to clear_all()
It's due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 08:49:00 +0000 (17:49 +0900)]
[2225_statistics] rename start()/stop() to start_timer()/stop_timer()
Due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 08:45:47 +0000 (17:45 +0900)]
[2225_statistics] remove 'else' statement
In stead of being removed, it just returns if DataNotFoundError is raised.
Due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 08:42:29 +0000 (17:42 +0900)]
[2225_statistics] update document of Counters.stop()
explicitly distinguishing duration time from date time.
Due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 08:25:40 +0000 (17:25 +0900)]
[2225_statistics] use timedelta.total_seconds() instead of redundant computation
Due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 08:15:40 +0000 (17:15 +0900)]
[2225_statistics] remove an unnecessary formating
Due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 08:12:20 +0000 (17:12 +0900)]
[2225_statistics] remove an unnecessary try/expect statement
Due to the review comment.
Naoki Kambe [Fri, 14 Dec 2012 08:31:31 +0000 (17:31 +0900)]
[2225_statistics] add step as kwarg into inc() and use it in dec() with step=-1
Due to the review comment.