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
Jeremy C. Reed
b77c35be53 Add space; fix typo.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac148b@2426 e5f2f494-b856-4b98-b285-d166d9295462
2010-07-07 19:47:53 +00:00
JINMEI Tatuya
57f9f09688 comments, cleanups, simplification.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac148b@2425 e5f2f494-b856-4b98-b285-d166d9295462
2010-07-07 18:42:45 +00:00
Jeremy C. Reed
45085bd54e Print some of the python related flags at end of configure.
Also change a tab to spaces.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac148b@2423 e5f2f494-b856-4b98-b285-d166d9295462
2010-07-07 16:14:16 +00:00
JINMEI Tatuya
7ac64a5329 simplified version of branches/trac148. it simply uses -R whenever available.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac148b@2421 e5f2f494-b856-4b98-b285-d166d9295462
2010-07-06 23:53:12 +00:00
JINMEI Tatuya
373459f1f8 cleanup boost.python related part.
mostly editorial, and should be obvious enough.  so skipping review.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2402 e5f2f494-b856-4b98-b285-d166d9295462
2010-07-02 01:28:20 +00:00
Jeremy C. Reed
222a6e821c Update version number in configure.ac.
Minor updates in README, point to some Y2 descriptions.
Add release date to ChangeLog.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2380 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-30 23:08:17 +00:00
Jelte Jansen
47135c0a36 removed chmod of deleted script
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2365 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-30 19:20:28 +00:00
Jelte Jansen
26266087e3 finaly sync for merge
git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@2360 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-30 18:26:07 +00:00
Likun Zhang
fc5d7da022 1. Remove certificate file 'bindctl.pem'. 2. Add options -c(--certificate-chain) to bindctl. 3. Override class HTTPSConnection to support server certificate validation. 4. Rename module name from 'Cmd-Ctrl' to 'Cmdctl'. 5. Add support to cmdctl.spec file, now there are three configurable items for cmdctl: 'key_file', 'cert_file' and 'accounts_file', all of them can be changed in runtime.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2357 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-30 17:57:34 +00:00
Jelte Jansen
7cdceb252e sync with trunk for merge
git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@2346 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-30 13:47:21 +00:00
tingting shen
31ec8c6c65 Added verbose options to exactly what is happening with loadzone. Added loadzone test suite of different file formats to load.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2340 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-30 07:27:30 +00:00
Jerry
0eb4e31198 merge of ticket #176 (python logging framework), also changes xfrout to use the python logging.
[func]       jerry
Added python logging framework. It is for testing and experimenting
with logging ideas. Currently, it supports three channels(file,
syslog and stderr) and five levels(debug, info, warning, error and
critical).



git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2338 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-30 03:12:30 +00:00
Likun Zhang
8523458e6d 1. Add support to cmdctl.spec file, now there are three configurable items for cmdctl: 'key_file', 'cert_file' and 'accounts_file', all of them can be changed in
runtime.  Also there is two command spported by cmdctl: shutdown and print_settings .
2. Refator some code of cmdctl and add corresponding test cases.
3. Rename module name from 'Cmd-Ctrld' to 'Cmdctl'.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac127@2253 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-24 05:29:05 +00:00
JINMEI Tatuya
078d183c41 adjusted the position of AC_CHECK_DECL
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac251@2251 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-24 01:41:29 +00:00
JINMEI Tatuya
0ba9a0f7bf set SunStudio specific options automatically.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac251@2250 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-24 01:33:47 +00:00
JINMEI Tatuya
e01cb8ad5b another fix to operator-> just like the one made in message.cc
added some comments on the intent


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac251@2249 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-24 01:00:15 +00:00
JINMEI Tatuya
fa6eb99b73 minimal fixes for SunStudio support
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac251@2227 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-23 06:25:14 +00:00
Jelte Jansen
b9cd36cbf7 unit tests for b10-cfgmgr
moved a little bit of code into a main() function (instead of calling it directly), for easier testing
module magic happening in the test.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac238@2127 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-16 16:10:49 +00:00
Jeremy C. Reed
81a9d98f0d Check for pkg-config itself so we don't try the m4 macro without pkg-config.
This helps workaround problem noted on bind10-users list last week
and this was discussed on jabber last week.

Note that if the m4 macro doesn't exist. Then even if pkg-config
is installed later, the configure script will still fail. autoconf
will need to be ran again.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2106 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-10 15:41:48 +00:00
Jelte Jansen
93227d328b merge to sync with trunk and make later merge back easier
updated additions in tests for wrapper api
also independently came up with the fix attached in ticket #224


git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@2097 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-09 09:52:34 +00:00
Jelte Jansen
2074ba324e removed old dns-python example code
removed Boost.Python bindings
updated xfrin/xfrout tests for new python bindings


git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@2090 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-08 11:02:08 +00:00
Jelte Jansen
0d2d4b5fb2 renamed isc_config.py to bind10_config.py
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2053 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 13:01:20 +00:00
Jelte Jansen
ae076ba6fb add an isc_config.py 'module' for paths and possibly other configure-time variables (currently only BIND10_MSGQ_SOCKET_FILE, and currently only used in lib/python/isc/cc/session.py)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac223@2049 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 11:53:23 +00:00
Jeremy C. Reed
7eafb11c21 Update the version (prepare for release).
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2036 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-02 03:37:17 +00:00
Jeremy C. Reed
2658288a31 Remove ext/boost hierarchy.
Remove the use of ext/boost from configure.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac217-remove-ext-boost@2017 e5f2f494-b856-4b98-b285-d166d9295462
2010-06-01 18:02:17 +00:00
Jelte Jansen
51803e4064 git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2009 e5f2f494-b856-4b98-b285-d166d9295462 2010-05-31 21:00:29 +00:00
Jelte Jansen
1e7b973839 rename HAVE_SIN_LEN macro to HAVE_SA_LEN, and use it for setting sun_len in the custom domain socket handler in lib/cc/session.cc
(removing the custom code altogether in favour of asio is under consideration)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac183@2008 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-31 19:29:15 +00:00
Jerry
5ebd3daa01 Add unittest shell script
Add __init__ function to RotatingFileHandler class



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac176@2006 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-31 09:36:27 +00:00
JINMEI Tatuya
08604a8516 wording fixes to comment lines.
trivial, skipping review.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1993 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-31 01:42:42 +00:00
JINMEI Tatuya
ad7077f60e disalbe /dev/poll with ASIO (trac #211).
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1992 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-31 01:05:35 +00:00
JINMEI Tatuya
18fb5d007c detect problematic implementation of kqueue EV_SET to avoid the use of it with ASIO
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1954 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-28 01:25:08 +00:00
JINMEI Tatuya
737c49cf85 addressed some portability issues with non boost ASIO:
- suppress the gcc unused parameters warning selectively (as a workaround) in a most portable way
 - introduce B10_CXXFLAGS as the default to AM_CXXFLAGS to make the first change possible (that's why I modified so many other Makefile.am's even if they are irrelevant to asio)
 - remove dependency on boost system library: it was only needed for the boost version of ASIO.
 - hide details that require ASIO related definitions from xfr_client.h to avoid being hit by the 'unused parameter' problem accidentally.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1953 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-28 00:42:50 +00:00
Evan Hunt
748e5c85b1 - suppress unused-parameter warnings in src/bin/auth/asio_link.cc and
src/lib/cc/session.cc that were triggered by ASIO code.
- move ext/boost and ext/asio each down one level, to ext/boost/boost
  and ext/asio/asio.  This allows groups of external headers to be
  included more selectively: we can switch on asio without also including
  boost, or change the boost include directory without losing asio.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1952 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-27 18:57:15 +00:00
Evan Hunt
aad8d399e2 checkpoint: reverted convigure.ac change, removed UNUSED_PARAM from asio code
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1951 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-27 18:24:10 +00:00
Jerry
df416a7881 Add logging module and unittest in lib/python/isc/log,
also add log in xfrout module for testing.
Currently, logging module supports three channels:stderr
file and syslog.




git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac176@1946 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-27 12:03:32 +00:00
Evan Hunt
fa1daf4df7 Remove --with-boost-lib and --with-boost-include from configure.ac as
they should not be needed now.  (And because --with-boost-include would
cause the build not to find the ASIO headers.)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1921 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-25 23:46:55 +00:00
Jelte Jansen
3ef6ad200f use unix domain socket instead of localhost:9912
on the msgq and python side, the socket file is either:

- what is speficied as an argument to the constructor, OR
- environment variable BIND10_MSGQ_SOCKET_FILE, OR
- default (@localstatedir@/msgq_socket)

in that order.

two open items:

TODO: run_X scripts should set a local file in BIND10_MSGQ_SOCKET_FILE (so if installed dirs don't exist run from source fails right now)
TODO: the c++ boost::asio version has no 'manual override', only environment variable or default. (which is better than what it was before, only hardcoded port 9912), fixing this would mean an API change somewhere


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac183@1901 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-21 14:50:17 +00:00
Jelte Jansen
7bc0d07604 include python wrapper tests in check/coverage report
(lots of stuff missing, most of it from before we did TDD, so i'll fill those out next and then write tests for the features that are to be added before we can merge it)


git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@1894 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-21 08:27:22 +00:00
Likun Zhang
80caa56cad Redo revision 1853: Make xfrout works well in source code tree(for details, please see comments of ticket 151), now the UNIX_SOCKET_FILE shared by auth srv and xfrout locates in @localstatedir@, (Jeremy had reviewed this patch. then give some fix suggestion in email.)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1855 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-19 09:26:01 +00:00
Likun Zhang
27b28e338b Revert the revision 1853 which make trunk fail to build.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1854 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-19 04:23:48 +00:00
Likun Zhang
3afb8da35e Fix bug: Make xfrout works well in source code tree(reported in ticket 151). (now the UNIX_SOCKET_FILE shared by auth srv and xfrout locates in @@LOCALSTATEDIR@@)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1853 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-19 02:33:24 +00:00
Jeremy C. Reed
58e62d537b Report detected features, configure settings at end of configure output.
Also saved to a file: config.report.
(Okayed to commit on phone with Shane.)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1836 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-17 14:05:15 +00:00
Jelte Jansen
61dca75df5 update merge; merge trunk rev. 1670 - 1813 into this branch
git-svn-id: svn://bind10.isc.org/svn/bind10/experiments/python-binding@1814 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-12 14:23:18 +00:00
Jeremy C. Reed
ae6a7bdcfb Change the PACKAGE_BUGREPORT email address from non-existent list
to dev list for now.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1801 e5f2f494-b856-4b98-b285-d166d9295462
2010-05-10 13:18:08 +00:00
Evan Hunt
c08b86957c Change libauth to libdatasrc
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1799 e5f2f494-b856-4b98-b285-d166d9295462
2010-04-29 13:22:39 +00:00
JINMEI Tatuya
25d413ecd4 check for the availability of ${python}-config. if unavailable warn about it.
trac ticket #159.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac159@1793 e5f2f494-b856-4b98-b285-d166d9295462
2010-04-22 23:00:03 +00:00
Jeremy C. Reed
5c10d34b68 This is for ticket #153.
Moved msgq tests to own directory.

Added targets for all known python unittests.
Note this is for those that use the unittest module.
Other tests are ignored for now.

These tests are ran using "make check" even if not built
with gtest.

Some of these tests fail. I will comment them out in later commit.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac153@1753 e5f2f494-b856-4b98-b285-d166d9295462
2010-04-20 17:54:47 +00:00
JINMEI Tatuya
9c33cda2e7 typo in a comment line
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac149@1734 e5f2f494-b856-4b98-b285-d166d9295462
2010-04-19 18:52:39 +00:00
JINMEI Tatuya
7226ff3550 removed a debug output
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac149@1733 e5f2f494-b856-4b98-b285-d166d9295462
2010-04-19 18:21:15 +00:00
JINMEI Tatuya
c266bb4590 try ${PYTHON}-config --prefix/lib for a last resort LDFLAGS for libpython (trac #149)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac149@1732 e5f2f494-b856-4b98-b285-d166d9295462
2010-04-19 18:16:43 +00:00