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
Jelte Jansen
5b1fa8b74d i had changed libclient.a to libcfgclient.a but forgot to update the relevant makefiles
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@709 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-03 15:51:34 +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
f55eb12345 added one more optional createFromString method that lets you specify the source file name for better error reporting
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@707 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-03 11:38:38 +00:00
JINMEI Tatuya
c6feaf2e43 gave a separate line for an opening curly brace of a class member function
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@706 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-03 08:59:11 +00:00
JINMEI Tatuya
bd196743db use the constructor instead of SetUp() to silence cppcheck
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@705 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-03 08:56:01 +00:00
Jelte Jansen
bc361547e9 small fixes for most of the cppcheck errors
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@704 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-02 16:45:02 +00:00
Jelte Jansen
a7dbef7d8e forgot one
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@703 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-02 15:47:51 +00:00
Jelte Jansen
d8f5c49d9e fixed the warnings/errors from cppcheck
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@702 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-02 15:46:08 +00:00
Jelte Jansen
772fe0d8fe fixed error message and unit test
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@701 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-02 15:39:45 +00:00
Jelte Jansen
58f86251c5 - use <builddir>/include (the one with the symlinks) for all includes
so that we do not have to add /cpp/ to every #include line
- removed /cpp/ from every include line


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@700 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-02 15:33:55 +00:00
Jelte Jansen
c51d6c7ba3 Data Elements fixups;
- isc::data::TypeError is now a subtype of isc::dns::Exception (which i think we should move to namespace isc::)
- isc::data::ParseError not yet; it is a subclass of std::runtime_error (due to the error in quiestion being constructed on the fly, can we add an equivalent of that to isc::[dns::]Exception?
- toWire() family of functions now writes directly to a stream, with a convenience function for Element that does return a std::string
- removed unused and unspecified toXML functions


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@699 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-02 14:14:52 +00:00
Jelte Jansen
8ec49a3500 more build/install fixes;
output generated header files for lib/dns into source tree, not build tree
moved cfgmgr.py to lib/config/python/isc/config
run_bind10.sh now takes python path from build dir, not src


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@698 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 16:09:21 +00:00
Jelte Jansen
a042fbdc36 install auth.spec and use the right one
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@697 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 11:19:23 +00:00
Jelte Jansen
2e1dd5c36f two more fixes for capital and .py.in move
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@696 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 11:09:42 +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
Jelte Jansen
7dbb48a663 data path correction
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@694 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 10:05:36 +00:00
Jelte Jansen
3e366ab141 Moved most of the python code out of the .py.in and into a new .py
Should that one be moved back to lib/?


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@693 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 09:56:11 +00:00
Jelte Jansen
47ace28cb6 fixed scoping bug introduced by merge in static data source
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@692 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 09:13:34 +00:00
Jelte Jansen
c2f9d85d3a also propagate PYTHONPATH env var
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@691 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-01 09:07:20 +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
Jelte Jansen
1a2234a583 Config manager now stores its data in @localstatedir@/@package@/b10-config.db
If run from source tree, it will store it in @abs_top_srcdir@/b10-config.db
if you depend on you data in /tmp/parkinglot.db, copy that one to the correct file


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@688 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 02:26:22 +00:00
Jelte Jansen
dcdd4f6b8c location fix for install spec file
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@687 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 02:18:59 +00:00
Kazunori Fujiwara
f1f4973dbe space fix
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@686 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 02:01:02 +00:00
Kazunori Fujiwara
454b12d9c2 merged into statsd.txt
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@685 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 01:47:45 +00:00
Kazunori Fujiwara
5f78edc4a7 added some information
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@684 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 01:47:22 +00:00
Likun Zhang
d9bc5da0b8 Refine some code according code review result from hanfeng.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@681 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 01:44:01 +00:00
Likun Zhang
335fab6b45 Remove error message when the default_user.csv doesn't exist.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@680 e5f2f494-b856-4b98-b285-d166d9295462
2010-01-30 01:37:43 +00:00
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