2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

12271 Commits

Author SHA1 Message Date
JINMEI Tatuya
04db154ec2 [2244] fixed a typo in a log message. 2012-10-08 15:49:24 -07:00
JINMEI Tatuya
c7ab107ab6 [master] define dbutil_test.sh as noinst_SCRIPTS to auto-regenerate on modify.
this will prevent surprising test failure on an incrementally updated dev
tree.  okayed on jabber.
2012-10-08 14:12:02 -07:00
JINMEI Tatuya
dd19112777 [master] added changelog for #1870 2012-10-08 14:11:39 -07:00
JINMEI Tatuya
4973e638d3 [master] Merge branch 'trac1870' 2012-10-08 14:02:58 -07:00
JINMEI Tatuya
d41d8af0c7 [master] Merge branch 'trac2203' 2012-10-08 13:57:05 -07:00
JINMEI Tatuya
869d14d705 [2292] minor cleanups: constify, indentation 2012-10-08 11:32:18 -07:00
Mukund Sivaraman
9a9260c258 [2266] Remove all traces of RRsetList
It is no longer used anywhere.
2012-10-08 23:40:24 +05:30
Mukund Sivaraman
daedcaea54 Merge branch 'trac1899_2' 2012-10-08 22:59:25 +05:30
JINMEI Tatuya
432064bc3e [master] add std:: for memset(). sunstudio requires this with <cstring> 2012-10-08 16:41:33 +00:00
Jelte Jansen
1ab996e4c5 [master] Merge branch 'trac2275' 2012-10-08 14:53:19 +02:00
Mukund Sivaraman
bf260bbc80 [master] Add libb10-cc.la to tests Makefile.am 2012-10-08 14:42:55 +05:30
Jelte Jansen
f8261d10f1 [master] Merge branch 'trac2278' 2012-10-08 09:57:26 +02:00
Jelte Jansen
7bcaf2b790 [2275] fix strncpy in socketrequestortest 2012-10-08 09:41:11 +02:00
Mukund Sivaraman
f5bd1368b7 [1899] Allow other RRtypes in nsec3 table (for RRSIGs)
* The unique constraint on NSEC3 owner per zone is now removed
* NSEC3 RRSIGs are now returned next to their RR set
* Test was adjusted to check for RRSIGs too
2012-10-08 12:36:28 +05:30
Michal 'vorner' Vaner
00d3de1af8 [2292] Update tests
They don't need the mutable versions to work, but they used them anyway.
2012-10-07 17:19:12 +02:00
Michal 'vorner' Vaner
73900f62a7 [2292] Re-add version of find removed by accident
This one was not mutable, it just took Name as an argument.
2012-10-07 17:18:33 +02:00
Michal 'vorner' Vaner
7a628baa1a [2292] Drop tests for InMemoryClient::add
As the method was removed.
2012-10-07 17:03:18 +02:00
Michal 'vorner' Vaner
915576b6aa [2292] Remove unused template parameters
The domain tree no longer supports the mutable find versions, so we
don't need the template parameters allowing for them.
2012-10-07 16:50:50 +02:00
Michal 'vorner' Vaner
e1b4bf1cb5 [2292] Remove mutable find methods
They are currently used in test code only (so we'll need to update the
tests to compile). The real code seams clean now.
2012-10-07 16:38:23 +02:00
Michal 'vorner' Vaner
76243c3ccd [2292] Remove the setZoneData method
Currently, the content of zone is passed to the addZone method. No way
to change it later, but the addZone overwrites the old value if called
again.

This should hopefully allow for removal of mutable find methods from the
tree.
2012-10-07 16:13:56 +02:00
JINMEI Tatuya
86a4bae1ff [2204] cleanup: removed unused func, and renamed "ClientList" with "DataSrc".
getClientListClasses() was removed.  It's not used anymore.
a few methods named with "ClientList" were renamed with adding "DataSrc".
The resulting names are a bit long, but since there's no namespace
qualification, simply saying "client" can be confusing (it could be
interpreted to mean DNS clients, for example).
2012-10-05 17:04:28 -07:00
JINMEI Tatuya
0b6e74f544 [2204] regression fix: make sure the datasrc config is installed to server. 2012-10-05 16:52:37 -07:00
JINMEI Tatuya
d7846ea4a9 [2204] removed server function/template param from configureDataSourceGeneric.
This is pure cleanup.  This function already doesn't use the server.
2012-10-05 16:48:03 -07:00
JINMEI Tatuya
5d61dba1dc [2204] extracted swapDataSrcClientLists() from configureDataSource().
now configureDataSource() can take time.
2012-10-05 16:40:10 -07:00
JINMEI Tatuya
c286e0dec7 [2204] completely replaced setClientList with swapDataSrcClientLists.
the test cases using setClientList were updated so they use
swapDataSrcClientLists (some of them work as a test for the "swap" itself).
now we don't need setClientList, so it was removed.
2012-10-05 16:02:01 -07:00
JINMEI Tatuya
d664fca786 [2204] simplify configureDataSource by always creating a new lists and swap.
so we don't have to worry about what are in the current lists or rollback
operations.
swapDataSrcClientLists() is newly introduced for AuthSrv.  No direc tests
yet (technically bad in terms TDD but the definition is very simple), which
will be provided in the next step.
the lock is now moved inside swapDataSrcClientLists().

note: even though this version builds everything, the amount of work
should be mostly the same because the only save is to create the empty
ClientList when the new and old have the same class of client.  The expensive
part is ClientList::configure().  This version doesn't need any more call
to configure() than the old version.
2012-10-05 15:15:18 -07:00
JINMEI Tatuya
a0a5e207d4 [2204] changed internal representation of auth_srv's "client_lists_" to ptrs.
this will be necessary later in this branch.
also renamed the member variable "datasrc_client_lists_" as the mere "client"
can be ambiguous.
2012-10-05 14:03:52 -07:00
JINMEI Tatuya
b160122e46 [2204] Merge branch 'trac2203' into trac2204 2012-10-05 13:13:19 -07:00
JINMEI Tatuya
44d9dfa8aa [2203] renamed datasrc_configurator to datasrc_config; it represents it better. 2012-10-05 10:12:42 -07:00
Jelte Jansen
fbc8d38199 [2275] address review comments 2012-10-05 12:10:56 +02:00
JINMEI Tatuya
7a40926af1 [2244] rename Componet.running() is_running() for consistency.
this branch introduced is_failed() (and failed() was already defined for
a different a purpose), so for consistency it would be better to name
the running version is_xxx too.
2012-10-04 22:19:27 -07:00
JINMEI Tatuya
f8a0343290 [2244] cleanup: reordered log message file 2012-10-04 22:11:45 -07:00
JINMEI Tatuya
74cc637858 [2244] make sure restarting components only when they are in config.
this should fix the main problem of this ticket.
2012-10-04 22:10:40 -07:00
JINMEI Tatuya
fa1d1161f7 [2244] a minor editorial fix to the previous comment update 2012-10-04 21:08:55 -07:00
JINMEI Tatuya
17bffd0838 [2244] added comment about has_comonent as it may not be very obvious. 2012-10-04 20:53:37 -07:00
JINMEI Tatuya
0ff7d113eb [2244] added a simple has_component() method to configurtor.
should be pretty trivial, so added a couple of test cases as part of
other tests.
2012-10-04 17:55:57 -07:00
JINMEI Tatuya
3584fbbffa [2244] make sure configurtor's build_plan() handles 'failed' component.
this fixes the test case introduced at the beginning of the branch.
2012-10-04 17:38:43 -07:00
JINMEI Tatuya
bff3846230 [2244] introduced a new "Failed" state of Component. 2012-10-04 17:37:09 -07:00
JINMEI Tatuya
a1d9278fd6 [2244] added a test case that reproduces one aspect of the problem.
the configurator should be able to delete a component to be removed
even if the it's failing (unexpectedly).  The current implementation
doesn't handle that condition correctly.
2012-10-04 17:27:15 -07:00
JINMEI Tatuya
93e596c474 [master] Merge branch 'trac2284' 2012-10-04 14:33:56 -07:00
JINMEI Tatuya
f037ebb23c [2284] minor comment update about in-memory finder context's getFinder().
with the cleanup in this ticket we can now actually return NULL, but
intermediate status of other #2283 tickets will require non NULL values.
So, it's probably better to keep the behavior with referring to #2283,
instead of #2284.
2012-10-04 14:30:31 -07:00
Jelte Jansen
3a8ea5fd50 [2275] valgrind fixes: uninitialized memory 2012-10-04 16:12:27 +02:00
Tomek Mrugalski
46c03d26e2 [2237] Support for Subnet4 implemented. 2012-10-04 14:43:43 +02:00
Jelte Jansen
86b1a2387a [2275] valgrind fixes: uninitialized memory 2012-10-04 12:21:04 +02:00
Jelte Jansen
1d3b7eabbb [2275] use const char* for test globals 2012-10-04 11:44:46 +02:00
Mukund Sivaraman
41538b7ce9 Merge branch 'master' into trac2206 2012-10-04 13:43:53 +05:30
Mukund Sivaraman
78dfd7dcd6 [2268] Move both const and non-const checks into a single testcase 2012-10-04 13:15:37 +05:30
JINMEI Tatuya
b1d4ff896a [2284] reverted the getAtOrigin() framework.
Unfortunately it turned out it doesn't work for the originally intended
purpose.  See the ticket for details.
2012-10-04 00:30:47 -07:00
JINMEI Tatuya
6b99a39f0a [2203] forotten cleanup: removed now-unused header file. 2012-10-03 22:58:06 -07:00
Mukund Sivaraman
47c013b000 [2206] Make a common function out of duplicate code 2012-10-04 10:19:35 +05:30