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
Shane Kerr
f323d38fa5 Removed the broken search for run_b10-cfgmgr.sh
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1069 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-02 14:26:03 +00:00
JINMEI Tatuya
1bff985ad6 added +x for the newly added .py file
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1058 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-01 20:32:45 +00:00
JINMEI Tatuya
633d7de9e7 generate gen-wiredata.py from the .in file
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1057 e5f2f494-b856-4b98-b285-d166d9295462
2010-03-01 20:20:18 +00:00
Jelte Jansen
7922531b91 removed obsolete start shellscript
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1044 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-28 21:41:15 +00:00
Jelte Jansen
dbf288e25b moved python unittests to unittests/ directory
removed a few prints from cfgmgr


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1002 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-26 13:57:03 +00:00
Evan Hunt
404aa0602f Committed each-ds branch to trunk (still needing formal review; see
ticket #50 for full details)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@988 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-26 06:32:44 +00:00
JINMEI Tatuya
4c8e6bbb9e more sync with trunk
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@972 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-25 22:36:42 +00:00
Likun Zhang
5281fe9e81 1. Add unittests and help information for cmdctl and bindctl.
2. Add login idle timeout for cmdctl, default idle time is 1200 seconds.
3. Refactor some code for cmdctl.

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@961 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-25 08:20:48 +00:00
Jeremy C. Reed
2784c595fd Add AC_SEARCH_LIBS to add libraries to LIBS as noticed on Solaris10.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@785 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 19:11:57 +00:00
Jeremy C. Reed
fadf58e7ee Remove parkinglot from trunk. It is still in branches/parkinglot if needed.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@784 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 19:05:57 +00:00
JINMEI Tatuya
6582726397 moved unit test related files to tests/ as we agreed in the f2f week.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@742 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-06 00:39:24 +00:00
Jelte Jansen
3a866699f9 moved exceptions out of libdns and created libexceptions
don't forget to make clean and autoreconf again


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@735 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-05 11:09:38 +00:00
JINMEI Tatuya
1675d4a7cb re-enabled -Woverloaded-virtual
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@731 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-05 04:41:55 +00:00
Jelte Jansen
300ebfaf17 renamed camelCase methods to underscored in the python config classes
started with unittests for config/python


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@719 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-04 12:13:46 +00:00
Jeremy C. Reed
5fad17f5bc Change package name from "bind" to "bind10". I know this is redundant
for bind10-10.0.0.  This defines @PACKAGE@ or $PACKAGE used for
installation subdirectory names.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@711 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-03 17:28:49 +00:00
Jelte Jansen
80707c7c0d tests for data_def.cc
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@708 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-03 12:08:19 +00:00
Jelte Jansen
119fd99358 move python lib path ISC/CC to isc/cc
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@695 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 10:48:19 +00:00
Evan Hunt
8399a64371 Merged experiments/each-query branch into parkinglot.
(This now builds the b10-auth binary.  The b10-parkinglot binary is
still being built for reference purposes, but is expected to be removed.
Both programs use port 5300, so they cannot be run simultaneously.)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@690 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 07:39:38 +00:00
JINMEI Tatuya
077ed33f96 - moved concrete Rdata class definitions to separate directories under rdata/
- introduced unified auto-code generation with a python script for the rdata
  related definitions


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@633 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 09:36:01 +00:00
Jeremy C. Reed
46ed5e9248 Also add python #! line to b10-cfgmgr.py.in
(it is renamed from b10-cfgmgr.py.)
And path for the modules is added.

Move b10-cfgmgr.in to run_b10-cfgmgr.sh.in
(this is used to run in source tree).

For these shell scripts, run from abs_top_builddir not abs_top_srcdir.
(I will do a later commit for the execute permissions.)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@620 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 01:41:02 +00:00
Jeremy C. Reed
4ba582b695 Move b10-cmdctl.in to run_b10-cmdctl.sh.in.
Move b10-cmdctl.py to b10-cmdctl.py.in.

Move msgq.in to run_msgq.sh.in.
Move msgq.py to msgq.py.in.

At same time, the new installed versions are installed to libexec
directory and runnable from there.

TODO: the run*sh.in scripts are still broken (before my commits)
as they use abs_top_srcdir instead of builddir.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@615 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 01:02:47 +00:00
Jeremy C. Reed
2240b75fe4 Rename bind10.in to run_bind10.sh.in -- this is the script that
can be ran from source tree.

Rename bind10.py to bind10.py.in -- this is the bind10 tool. It
has the python and python module path added to it.

The python script will actually startup from installed directory.

TODO: bind10 will run daemons from @libexecdir@ (I will commit those
daemon install changes shortly).
TODO: don't need special python handling.
TODO: split out all functionality to a bind10 specific module


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@613 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 00:30:15 +00:00
Jeremy C. Reed
eb0da69260 Install the config python modules.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@612 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 00:18:09 +00:00
Likun Zhang
ed538af714 Move files from /src/lib/bindctl to /src/bin/bindctl.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@608 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 23:47:18 +00:00
Jelte Jansen
20d527474c move step 2:
renamed src/bin/cmd-ctrld to src/bin/cmdctl
renamed src/bin/cmd-ctrld/cmd-ctrld.in to src/bin/cmdctl/b10-cmdctl.in
renamed src/bin/cmd-ctrld/cmd-ctrld.py to src/bin/cmdctl/b10-cmdctl.py



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@600 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 21:36:25 +00:00
Jelte Jansen
ad82b7e0fa move step 1:
renamed src/bin/bind-cfgd to src/bin/cfgmgr
moved src/lib/config/python/bind-cfgd.py to src/bin/cfgmgr/b10-cfgmgr


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@599 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 21:20:05 +00:00
Jeremy C. Reed
e9b6a2eaee Add Makefile.am for bind-cfgd.
Update AC_CONFIG_FILES.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@598 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 21:00:50 +00:00
JINMEI Tatuya
3d514aca61 #-Woverloaded-virtual will produce so many warnings. Suppress them for rapid
# prototyping, but we should soon fix the code, rather than ignoring the
# warnings!!


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@531 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 22:22:49 +00:00
JINMEI Tatuya
19760b1bb1 merged the latest snapshot of DNS message library to parkinglot
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@530 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 22:15:42 +00:00
Likun Zhang
11510aca9c 1. Rename run_bindctl to bindctl.
2. Rename file name "bindctl.py" to 'bindcmd.py'.
3. Rename file name "command.py" to 'cmdparse.py'.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@528 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 22:06:30 +00:00
Jelte Jansen
0962844906 renamed lib/bind-cfgd to lib/config because it will also contain client-config stuff
moved data_def.* and ccsession.* to lib/config/cpp, they are compiled into lib/config/libclient.a (for now)
fixed includes and ldadds for the rest of the stuff

also fixed an include problem in parkinglot/common.h


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@526 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 21:33:45 +00:00
Jeremy C. Reed
b8b4032ff3 This is for http://bind10.isc.org/ticket/18.
Update configure for lcov and gtest detection.
Be more verbose.
Use gtest-config if available.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@516 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-26 19:41:22 +00:00
Likun Zhang
2019e5737c Change the code to support new module 'cmd-ctrld'.
When bindctl starts up, it needs login into cmd-ctrld. The communication between bindctl and cmd-ctrld is protected by SSL.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@494 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-21 09:08:32 +00:00
Jeremy C. Reed
9f56fe9d7b Renamed bigtool to bindctl.
Moved some directories for this and edited files
to change BIGTOOL, BigTool, bigtool to
BINDCTL, BindCtl, bindctl respectively.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@488 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-20 17:46:09 +00:00
Shane Kerr
64ca28c2c2 Began test suite for the BoB.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@483 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-19 14:43:19 +00:00
Jeremy C. Reed
07144bf236 Fix --with-lcov to actually accept the specified location.
And fix setting of CPPFLAGS and LIBS. Don't use make-style
variable syntax in shell scripts as it became shell command substition.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@424 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-31 18:13:15 +00:00
Jelte Jansen
579aae2cc8 made a start with automating coverage tests;
configure --with-lcov will try /usr/bin and /usr/local/bin for the lcov and genhtml binaries
(use --with-lcov=PATH to specify a full path to the lcov binary, genhtml is assumed to be in the same one)
this enables a new makefile target; coverage
make coverage removes old coverage results, performs the tests (by depending on make check), and generates a new report in coverage/


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@412 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-29 16:07:20 +00:00
Jelte Jansen
bfec93a540 better gtest check in configure.ac; if a path is given, use that, if not, try /usr and /usr/local.
Now gives a configure-time error if gtest is not found (by checking gtest/gtest.h in the path(s))


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@411 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-29 14:03:40 +00:00
Jelte Jansen
f772eb96a9 merged branch jelte_datadef back
Configuration syntax has changed; see README
Also the parkinglot.db format has changed and 'old' configuration will be
thrown away.
Merge back done to facilitate refactoring of names to conform to style guidelines (doing that in a separate branch could create too many conflicts)
next up: tests and documentation


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@405 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-24 10:00:34 +00:00
Jeremy C. Reed
0770bad2bd Add beginning Makefile.am for bigtool, msgq, and bind10.
Install these scripts too.
(TODO: need to install the wrapper script too.)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@369 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-15 18:14:20 +00:00
Michael Graff
5fdc00a1ab rename pymsgq to msgq
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@340 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-03 08:56:12 +00:00
Michael Graff
5c4b0719cd make msgq_test from msgq_test.in
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@339 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-03 08:53:51 +00:00
Michael Graff
d055308d15 search for python, python3, and then python3.1. Require version 3.1. Use @PYTHON@ in all .in files, and add run_bigtool.in. This should cover all script wrappers.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@336 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-03 08:21:01 +00:00
Michael Graff
83553f96f1 learning python sockets: msgq, the revenge
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@331 e5f2f494-b856-4b98-b285-d166d9295462
2009-12-02 21:31:07 +00:00
Jelte Jansen
7e2512b059 compile-time location for parkinglot.spec file
somewhat parse the commands structure in bigtool as they are sent by the config manager


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-datadef@318 e5f2f494-b856-4b98-b285-d166d9295462
2009-11-23 09:41:58 +00:00
Jeremy C. Reed
1714df4bf1 Require autoconf 2.59 instead of 2.61.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@295 e5f2f494-b856-4b98-b285-d166d9295462
2009-11-05 14:05:26 +00:00
Jelte Jansen
93540f8e24 chmod startup scripts for bind10 and bind-cfgd
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@261 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 22:09:40 +00:00
Jelte Jansen
b1c8f9126e configure time settings for bind10 start script as well
we need to add chmod +x somewhere


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@253 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 20:51:37 +00:00
Evan Hunt
ae0982d306 add configure test for sockaddr_in.sin_len member
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@237 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:47:35 +00:00
JINMEI Tatuya
bd2469e99d quickly ported the cc library from the experiments branch
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@232 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-30 17:28:17 +00:00