2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00

909 Commits

Author SHA1 Message Date
JINMEI Tatuya
b8e5414ee0 [master] Merge branch 'trac2480-2' 2013-01-03 10:10:12 -08:00
JINMEI Tatuya
82041829bd [2480] support in-memory datasrc for cases that require dynamic RR addition 2012-12-28 20:28:06 -08:00
JINMEI Tatuya
6c20066d56 [master] cleanup: removed GCC_WERROR_OK setting from configure.ac.
It's not used anywhere else in the source tree any more.  okayed on jabber.
2012-12-28 14:02:17 -08:00
JINMEI Tatuya
2aa422106d [master] check werror_ok, not with_werror, in the Boost build failure check.
this is necessary to keep the previous behavior for FreeBSD where -Werror
is automatically disabled due to other bug of the compiler.
discussed on jabber, not seen a clear go, but I'm committing it at my
discretion to fix the buildbot errors.  I've confirmed the behavior on
multiple FreeBSD boxes.
2012-12-28 21:48:36 +00:00
JINMEI Tatuya
5ee9971dc6 [1991] corrected typo: don't use the now-internal -SAVED/SAVES varaibles 2012-12-28 07:11:03 +00:00
JINMEI Tatuya
5d2a22ac8f [1991] exclude clang++ for the check explicitly to avoid false positives
this can happen with clang++ used via ccache
2012-12-27 18:59:06 -08:00
JINMEI Tatuya
4323bf82f0 [1991] make sure the check is with -Werror and only for g++-variants 2012-12-27 18:36:49 -08:00
JINMEI Tatuya
fb95fbd371 [1991] added checks for FreeBSD build failure due to a ports bug. 2012-12-27 18:14:36 -08:00
JINMEI Tatuya
96e4248d61 [1991] moved boost-related config to a separate m4
in order to keep the main configure.ac more concise, and so that we can
eventually introduce more fine-grained configuration (e.g., skipping some
checks for DNS/DHCP-only build)

At the moment, this is just a cleanup, and doesn't change the behavior itself.
2012-12-27 17:54:42 -08:00
JINMEI Tatuya
5deb6bbc2d [2480] unified test data.
the previously hardcoded zone data are mostly moved to two new files:
query_testzone_data.txt and query_testzone_data_nsec3.txt.

A new helper python script, gen-query-testdata.py, converts them into
DNS zone files and C++ files defining some C-string variables for the RRs.
The latter will be included from query_unittest.cc (instead of the hardcoded
variables).

Generated zone files are loaded via include-only zone files: example.zone
and example-nsec3.zone.

For the next step corresponding sqlite3 DB file is also generated.
2012-12-21 17:26:11 -08:00
Michal 'vorner' Vaner
9e6e821c0a
Merge #1190
Msgq logs using the logging library (but to stdout, see #2582 for that)
2012-12-21 15:09:27 +01:00
Jeremy C. Reed
bf53fbd4e9 [master] change package name to bind10
instead of bind10-devel

also increase the version to today's date stamp (not for "beta")
2012-12-19 10:15:10 -06:00
Michal 'vorner' Vaner
774a4996da [1190] Make the tests work
Do the initialization in tests too (the executable script initializes it
only when run separately, to know the correct parameters).

Also, remove deprecated and unused auxiliary script that doesn't and
didn't work.
2012-12-19 13:11:40 +01:00
JINMEI Tatuya
f91f820e56 [2380] removed old loadzone source 2012-12-19 10:53:53 +01:00
JINMEI Tatuya
a51b040470 [2380] removed loadzone/tests/error completely.
see the log for the previous commit for the rationale.
2012-12-19 10:53:26 +01:00
JINMEI Tatuya
2b23275bd5 [2380] replaced old loadzone with the new one.
test parameters were adjusted accordingly.
there are some non trivial adjustments needed for the 'correct' test
cases for the original loadzone:
- completing the origin for some RDATA paramaeters (NS, SOA) does not
  work yet until we complete the RDATA support.  At the moment
  I made them FQDNs with comments
- a few TXT data were actually incorrect in the original tests, which
  caused a seeming regression.  I fixed the test data.
- there was one real bug in the $INCLUDE + origin support.  I'll go
  fix it; right now it fails

The 'error' test cases for the original loadzone also fail, but overall
the intended behavior looked preserved.  Fixing the tests to make it pass
seems to be quite difficult (because log output are different, and
the new loadzone ng is more verbose), so I plan to simply remove these
tests.
2012-12-19 10:52:48 +01:00
JINMEI Tatuya
52f3401fb5 [2380] removed to-be-removed Makefiles from configure.ac.
final cleanup for these obsolete test cases will be done at the end of the
task.  this change helps distcheck at the moment.
2012-12-14 09:58:51 -08:00
JINMEI Tatuya
e7f01efd35 [2380] introduced some initial framework for new loadzone 2012-12-13 19:04:12 -08:00
Jelte Jansen
74a0abe5a6 [master] Merge branch 'trac2445' 2012-12-11 10:56:33 +01:00
Jeremy C. Reed
172e704b66 [master] set DISTCHECK_GTEST_CONFIGURE_FLAG for --with-gtest too
This is for trac #2481. Review via jabber.
2012-12-10 13:41:48 -06:00
Marcin Siodelski
dbf7313f6b [2479] Moved perfdhcp/template folder to perfdhcp/tests/testdata. 2012-12-04 20:29:20 +01:00
Jelte Jansen
a5330334a5 [2445] Create unit tests and fix a few issues
Also updated log's README
2012-12-02 22:25:12 +01:00
Jelte Jansen
43b0ea4216 [master] Merge branch 'trac1044' 2012-11-28 11:17:12 +01:00
Jelte Jansen
ebe0d8a602 [1044] Address review comments
See http://bind10.isc.org/ticket/1044#comment:13
2012-11-22 15:30:18 +01:00
Yoshitaka Aharen
d5d8fa746c [2157] renamed statistics items generator 2012-11-20 11:12:35 +09:00
Naoki Kambe
1c6a6aa89e [2225] introduced new counter classes and implemented unixsocket counters
- implemented a base class Counter and a concrete XfroutCounter as an external
   module under isc.statistics. Because it is easy to implement another
   concrete Counter class for other module in future. The caller module can
   statically import it. The new counter class provides a getter method for
   each statistics item. It is intended for making loose relationship between
   the counter class and the caller module.

 - added implementation of unixsocket counter into the existing UnixSockServer
   Class.

 - added new tests for checking counters implemented in UnixSockServer are
   working properly into xfrout_test.py.

 - implemented enabling/disabling counting in the new counter class.
2012-11-19 13:52:04 +09:00
Stephen Morris
d2551c3b2b [2475] Split dhcp files into dhcp and dhcpsrv directories 2012-11-16 11:19:19 +00:00
Jelte Jansen
35491a7585 [1044] Added b10-certgen tool
To verify and update the b10-cmdctl certificate, using a few hardcoded certificate options (cn=localhost, o=BIND10, country=US).

The tool can also be used to update the existing certificate if it has expired (it is only valid for 1 year)
2012-11-15 14:26:46 +01:00
Jeremy C. Reed
d654be880d [master] check for mysql.h not mysql/mysql.h
since mysql directory may already be provided by mysql_config output
and anyways mysql.h is used by the code.
2012-11-14 07:33:55 -06:00
Yoshitaka Aharen
1bd6030873 [2157] apply review comments 2012-11-13 11:55:47 +09:00
Stephen Morris
4e7a8f7575 [2342] Merge branch 'master' into trac2342
Conflicts:
	doc/devel/mainpage.dox
	src/lib/dhcp/Makefile.am
	src/lib/dhcp/lease_mgr.cc
	src/lib/dhcp/lease_mgr.h
	src/lib/dhcp/tests/Makefile.am
	src/lib/dhcp/tests/lease_mgr_unittest.cc

A number of other files were modified to resolve incompatibilities
in the way lease managers were created, and to promote the dummy
"memfile" lease manager to a fully-fledged lease manager with
unit tests.
2012-11-11 22:55:41 +00:00
JINMEI Tatuya
f2b5789e89 [2356] share the rpath m4 function with examples in the top level configure.ac 2012-10-31 15:57:26 -07:00
JINMEI Tatuya
59a449f506 [master] Merge branch 'trac2297' 2012-10-29 14:08:11 -07:00
Stephen Morris
a0f0141e8e [2342] Address comments in second review. 2012-10-29 13:43:31 +00:00
Mukund Sivaraman
f49a406828 [master] Disable MutexTest.destoryLocked on Solaris 2012-10-26 09:21:19 +05:30
Mukund Sivaraman
653d1d854a Merge branch 'master' into trac2236
Conflicts:
	src/bin/auth/auth_srv.cc
	src/bin/auth/tests/auth_srv_unittest.cc
2012-10-26 04:24:07 +05:30
JINMEI Tatuya
0dfa29e875 [2297] configure.ac and makefile updates for run_sysinfo 2012-10-24 21:10:39 +00:00
Stephen Morris
b0ed08d214 [2342] Address review changes (in comment:5 of the ticket) 2012-10-24 14:12:06 +01:00
Mukund Sivaraman
98db15a31f [2236] Add comments to configure.ac about --enable-debug and performance 2012-10-23 09:25:20 +05:30
Stephen Morris
15bc004f20 [2342] Corrections to comments in configure.ac 2012-10-22 21:28:41 +01:00
Stephen Morris
1d70d3df4d [2342] Enable MySQL support with flag in configure.ac 2012-10-22 20:05:35 +01:00
Jeremy C. Reed
7161d9d899 [trac2361] fix issue where the bind10 could not run in source tree
when the installation was not done yet.

I added extra local_plugins path and custom datasrc.spec plugin for that.
2012-10-19 10:14:44 -05:00
Mukund Sivaraman
149df5a690 [2236] Add status whether debugging is enabled in configure output
This also fixes a bug where the AM_CONDITIONAL was not set properly.
2012-10-18 19:12:37 +05:30
Mukund Sivaraman
4887037cd0 [2236] Add a --enable-debug configure flag 2012-10-18 19:02:04 +05:30
Jelte Jansen
8580400e93 [master] Merge branch 'trac2349'
Conflicts:
	src/lib/util/threads/tests/lock_unittest.cc
2012-10-18 14:19:35 +02:00
Jelte Jansen
3a73fff8f4 [2349] forgot to remove a line from configure.ac 2012-10-15 16:09:50 +02:00
JINMEI Tatuya
55be177fc4 [2340] removed a bogus 'test' within a test(1) expression. 2012-10-11 10:04:42 -07:00
JINMEI Tatuya
ecdf1aeb4b [2339] changed the search order of python executable: seek python3.x first.
this works around a bit awkward installation setup where there's a link
from "python3" to "python3.x" but not from "python3-config" to the
corresponding "python3.x-config".  That happens for recent versions of
Homebrew.
2012-10-11 10:04:42 -07:00
Mukund Sivaraman
b2eedd0aeb [master] Remove empty GNU-style dist files 2012-10-11 10:04:33 -07:00
JINMEI Tatuya
0dca4820d8 [1870] removed src/bin/host/Makefile from toplevel configure.ac. 2012-10-11 10:04:31 -07:00