added strerror() to CCSession if the spec file could not be opened
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@679 e5f2f494-b856-4b98-b285-d166d9295462
(and, to prepare for future specfiles, for cmdctl.spec which isn't used yet afaik)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@675 e5f2f494-b856-4b98-b285-d166d9295462
to tell bind10 and all its subprocesses that we are running from source and where that source lives
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@674 e5f2f494-b856-4b98-b285-d166d9295462
bind10.py now uses the specfile at the install targets location, unless the environment variable B10_SPECFILE_PATH is set, in which case that path is used
run_bind10.sh sets that variable
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@667 e5f2f494-b856-4b98-b285-d166d9295462
Added all components data into XML output. (using total and each tag).
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@664 e5f2f494-b856-4b98-b285-d166d9295462
renamed b10-stats-collector.py as statsd.py
test code has been splitted as test_total.py
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@648 e5f2f494-b856-4b98-b285-d166d9295462
the 'forward' targets might also need smartness like this (if we add one we'll have to make clean to have make create them right now)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@641 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
Of course, when installed, the installation makes them executable,
but this is needed for when running the code direct from build tree.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@622 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
The reason is so that we can omit /cpp/ from #include statements, and that
we can have common base names for python modules (like isc) from different directories.
This extension creates, in the build directory, two directories that contain symlinks. The relevant symlinks are made one by one, as i haven't thought of a way to derive that information automatically. If we add a directory that contains stuff another part depends on, we'll need to add it here.
It currently is not used by the python scripts and cpp makefiles. To do so do the following:
C++:
In your Makefile.am, change
AM_CPPFLAGS = -I$(top_srcdir)/src/lib
to
AM_CPPFLAGS = -I$(top_builddir)/include
and remove all /cpp parts from the relevant include statements
Python:
change your startup script .in file to have PYTHONPATH=@top_builddir@/pyshared instead of the paths with the /python at the end.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@606 e5f2f494-b856-4b98-b285-d166d9295462
fixed the calls to Message module to use the lowercased module name
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@603 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