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
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
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
(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
- 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
(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
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
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
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
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
# 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
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
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
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
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
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
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
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
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
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
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
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