2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00
Commit Graph

22505 Commits

Author SHA1 Message Date
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
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
Jeremy C. Reed
ddf622e2a8 Also go into the python subdir. Sorry this was supposed to be in
my last commit.

This is incomplete because I don't commit the configure.ac changes
at this time.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@597 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:53:52 +00:00
Jeremy C. Reed
d33ca87f84 Allow these to be installed. Note that this commit is incomplete since the
I didn't commit the change to parent Makefile.am


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@596 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:52:19 +00:00
Jeremy C. Reed
179b23543e Install the parkinglot executable to the pkglibexecdir.
It isn't useful ran by itself.
(This won't break bind10.py since its current wrapper only looks in src tree.)

Also add a TODO comment about builtin_bench.


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@595 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:46:50 +00:00
Jelte Jansen
8bf0d326cf linking dependencies should be on build dir, not source dir (now building in a build/ directory should work)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@594 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:35:55 +00:00
Likun Zhang
9254898383 Add ISC CopyRight to files.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@592 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 20:12:22 +00:00
Michael Graff
f56313db58 add as per discussion
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@589 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 18:56:20 +00:00
Likun Zhang
263a414654 Save username and password to file for the next logining.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@587 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 10:16:40 +00:00
JINMEI Tatuya
cabcb384b0 added a test case
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@586 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 09:25:16 +00:00
JINMEI Tatuya
7029232a9b added microbenchmark tests for built-in RRset optimization
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@585 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 07:49:48 +00:00
JINMEI Tatuya
74296ec2be added clear() method
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@584 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 07:49:08 +00:00
JINMEI Tatuya
4becc5864a removed redundant namespace prefixes
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@583 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 07:48:55 +00:00
Michael Graff
f38058856e more review comments
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@582 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 04:09:37 +00:00
Jelte Jansen
0102a47f3b CCSession constructor now does not take a module_name argument anymore, the module name is read from the .spec file (in both python and cpp)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@578 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 00:52:20 +00:00
Likun Zhang
806f218116 Add Help information.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@577 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 00:14:12 +00:00
Jelte Jansen
33ae332cb5 more command handling for CCSession stuff
added CCSession to Boss module
removed hard-coded boss stuff from cmd-ctrld and bindctl
removed a few unnecessary subscriptions from default channels


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@576 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 00:09:16 +00:00
Likun Zhang
9ff70349e7 Remove unused functions.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@575 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-28 00:08:24 +00:00
JINMEI Tatuya
b04f89110c use Message::getRRcount() to rejrect >1 question RRs
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@573 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 21:09:37 +00:00
JINMEI Tatuya
9653ab59eb added getRRCount() method to Message class
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@571 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 20:55:02 +00:00
Jeremy C. Reed
13b80a6b0d misspelling typo fix
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@570 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 20:53:51 +00:00
Jelte Jansen
fe46dcc175 handle shutdown command in bob
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@569 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 20:12:53 +00:00
Jelte Jansen
989d0d7180 a bit of checks on get_config answer
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@568 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 20:05:51 +00:00
Jelte Jansen
6a70f64c5e 'stub' call to CCSession from bob, and mini-sample-specfile
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@567 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-27 19:54:40 +00:00