2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-02 23:15:20 +00:00
Commit Graph

22978 Commits

Author SHA1 Message Date
Jelte Jansen
5dfaa5936b intree/installed specfile treatment for parkinglot
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
2010-01-30 01:32:56 +00:00
Jelte Jansen
2ac134c65e also use the correct certificate file
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@677 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 00:49:16 +00:00
Jelte Jansen
00edc6b84c small comment improvement
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@676 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 00:40:22 +00:00
Jelte Jansen
614d971719 use the B10_FROM_SOURCE to also find the location of passwd.csv
(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
2010-01-30 00:39:58 +00:00
Jelte Jansen
e5ce25b741 renamved B10_SPECFILE_PATH to B10_FROM_SOURCE
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
2010-01-30 00:26:45 +00:00
Jelte Jansen
0bb8083ac3 forgot a / there
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@669 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 00:00:32 +00:00
Kazunori Fujiwara
b1bc8c5054 wrote very limited memo
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@668 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 23:43:42 +00:00
Jelte Jansen
75d25449e5 install bob.spec
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
2010-01-29 23:42:44 +00:00
Kazunori Fujiwara
34e45abf91 added debug message
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@666 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 23:24:29 +00:00
Kazunori Fujiwara
3b9e21f9c2 added many counters
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@665 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 23:08:08 +00:00
Kazunori Fujiwara
8aac83ba01 Output XML file passes xmllint.
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
2010-01-29 22:33:55 +00:00
Jeremy C. Reed
4e47e2ca09 Add explanation for tools directory.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@656 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 20:57:19 +00:00
Likun Zhang
783090e69a Refine the code for usermgr.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@655 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 20:38:36 +00:00
Likun Zhang
d43892ec01 Remove the files.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@654 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 20:35:13 +00:00
Jeremy C. Reed
f80129031a Adjust AM_CPPFLAGS to also refer directly to the includes files in the
build tree and in the src tree.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@652 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 20:01:54 +00:00
Kazunori Fujiwara
236a747b73 removed old stats-collector directory
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@650 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 19:45:29 +00:00
Kazunori Fujiwara
f74ad39629 renamed stats-collector directory as stats
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
2010-01-29 19:44:44 +00:00
Jeremy C. Reed
4a9c65149d Use @srcdir@/ when reading files.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@644 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 19:01:22 +00:00
JINMEI Tatuya
dbe66a3c8d added hints to define new RDATA classes
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@642 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 18:48:36 +00:00
Jelte Jansen
5808c100a8 make clean-local a bit smarter (check if the directories exist, remove all symlinks in there even the ones we didn't create ourselves, so if we ever remove one old make cleans won't fail, and use -f for rm so it also won't fail if we add a new one)
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
2010-01-29 18:48:24 +00:00
JINMEI Tatuya
0d21336a7d (forgot to add the implementation files)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@638 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 18:34:41 +00:00
JINMEI Tatuya
b077bdf855 supported CNAME
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@637 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 18:29:27 +00:00
JINMEI Tatuya
6d1457ea91 use BUILT_SOURCES to make sure auto-generated file to be generated before
building others


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@635 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 17:59:28 +00:00
Jeremy C. Reed
60a54a5431 Move #! line back to top.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@634 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 17:44:24 +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
Likun Zhang
3342ceb634 Refine the code for b10-cmdctl, make the code robust.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@632 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 08:13:51 +00:00
Likun Zhang
c261e505c6 Change the format of the user account file.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@631 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 08:12:27 +00:00
JINMEI Tatuya
ad710ab6d2 fixed a crash bug in rendering the root name.
added a test case to catch this bug.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@630 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 03:14:10 +00:00
Jeremy C. Reed
c30eded1a3 Add file that I had moved. Somehow missed this in my commit
revision 620.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@626 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 02:16:03 +00:00
Jeremy C. Reed
93eb75d061 Change cmd-ctrld to b10-cmdctl.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@624 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 02:03:29 +00:00
Jeremy C. Reed
d93b83e909 Make sure the executables are executable in the build tree.
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
2010-01-29 01:57:25 +00:00
Kazunori Fujiwara
f249a0caa3 added first version of stats-collector
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@621 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 01:56:34 +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
JINMEI Tatuya
774ebcf90e supported class-indepent RRtypes explicitly
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@618 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 01:15:13 +00:00
JINMEI Tatuya
eedff945f7 cleanup
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@617 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 01:14:51 +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
a5236dba24 This was meant to be committed at same time as my revision 613.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@614 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-29 00:33:05 +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
Jeremy C. Reed
9f9cfb9b96 Install from src dir.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@610 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 23:51:57 +00:00
Likun Zhang
d8ecaf4f05 Move unittest code to /bin/bindctl/unittest.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@609 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 23:48:53 +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
Likun Zhang
e4440ce2a1 Remove the folder.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@607 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 23:46:10 +00:00
Jelte Jansen
aadbb808c1 Proposal for the symlink include and pythonpath to get around the sourcetree layout we chose.
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
2010-01-28 23:41:57 +00:00
Jelte Jansen
85f3b0c56f move step 5;
rename src/lib/config/python/isc/config/CCSession.py to src/lib/config/python/isc/config/ccsession.py
rename src/lib/config/python/isc/config/DataDefinition.py to src/lib/config/python/isc/config/datadefinition.py


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@604 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 22:03:01 +00:00
Jelte Jansen
46d7e7d888 move step 4.2;
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
2010-01-28 21:57:22 +00:00
Jelte Jansen
2f23e95f0f move step 4,
rename src/lib/cc/python/ISC/CC/Message.py to src/lib/cc/python/ISC/CC/message.py 


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@602 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 21:51:39 +00:00
Jelte Jansen
386517633c move step 3:
rename parkinglot binary to b10-parkinglot


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@601 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 21:44:27 +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