Jelte Jansen
d66ddb0553
rename DataDefinition[Error] to ModuleSpec[Error]
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@868 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-18 12:20:55 +00:00
Jelte Jansen
c42d690782
module description
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@867 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-18 12:03:40 +00:00
Jelte Jansen
2143745c89
docstrings
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@866 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-18 10:38:48 +00:00
Jelte Jansen
29920cfb6a
documentation and tests for configuration manager
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@865 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-18 10:11:15 +00:00
Jelte Jansen
61cadb10c0
renamed datadefinition.py to module_spec.py
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@864 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-18 09:24:49 +00:00
JINMEI Tatuya
ab794b8819
checkpoint: minor cleanup
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrset@854 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-17 19:42:16 +00:00
Jeremy C. Reed
da9c7b09ab
Use Auth instead of ParkingLot for the module_name.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@853 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-17 19:39:08 +00:00
JINMEI Tatuya
50d6b03124
propset
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@852 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-17 19:37:40 +00:00
JINMEI Tatuya
6a3cff230b
created a branch to complete the RRset class to be merged to trunk
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrrset@851 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-17 19:24:18 +00:00
Jeremy C. Reed
ec83c0c7bb
Install the daemon to sbin (not bin).
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@850 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-17 18:58:18 +00:00
Jeremy C. Reed
f14227c844
Add some more details. BIND 10 actually can install.
...
TODO: change the ParkingLot examples to "b10-auth".
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@849 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-17 18:57:20 +00:00
Jeremy C. Reed
42488e3ae4
Fix typo in docstring.
...
Remove "above" from a docstring as some aren't really "above".
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@848 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-17 17:08:25 +00:00
Jelte Jansen
df4248e11e
some more documentation
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@844 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 21:11:38 +00:00
Jelte Jansen
4606f09458
ModuleCCSession is now a subclass of ConfigData
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@843 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 20:52:40 +00:00
Jelte Jansen
275dbabd2d
renamed CCSession to ModuleCCSession
...
renamed UIConfigData to UICCSession
That last one is now a subclass of MultiConfigData, since half the functions it needed turned out to be nothing but passtroughs
(next is to do the same for ModuleCCSession, only that will be a subclass of ConfigData, and make the two as similar as possible, from a certain point of view they to the same, albeit from another 'direction')
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@842 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 20:12:52 +00:00
Jeremy C. Reed
3c021a3f9c
Make sure the final python script (as created by "make") is removed
...
on a "make clean".
The intermediate .py file is created by configure, so is already
removed during the "make distclean" step.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@839 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 15:52:37 +00:00
Jeremy C. Reed
a9f45d4675
Remove the GCOV files with "make clean".
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@838 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 15:50:29 +00:00
Jelte Jansen
2884a118db
config_data existence check done in function
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@837 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 14:30:52 +00:00
Jelte Jansen
b8b0f55e1a
refactoring;
...
renamed the DataDefinition class to the much more accurate ModuleSpec
also renamed some ambiguously named functions therein
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@833 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 11:05:05 +00:00
Jelte Jansen
976107dd7e
removed a few prints
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@832 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 10:27:17 +00:00
Jelte Jansen
7ccf5c90c2
type checking on client side
...
implemented sample print_settings command
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@831 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-16 09:50:03 +00:00
Jelte Jansen
ae08d2a7bb
updated tests, fixed a few bugs, updated docs
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@828 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-15 20:40:22 +00:00
Jelte Jansen
fad19e22d4
documentation
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@827 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-15 19:46:25 +00:00
Jelte Jansen
7742c46239
empty list evaluates to False, so check for None explicitely
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@826 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-15 15:40:44 +00:00
Jelte Jansen
ffe26df93c
same for bob
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@825 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-15 14:10:30 +00:00
Jelte Jansen
51512f41d1
use functions to create answer messages in cfgmgr
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@824 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-15 14:00:46 +00:00
Jelte Jansen
bc69156fbd
added option to validate 'partial' data against a definition
...
added some more dummy specfile entries
creates two simple functions for making and reading answer messages
bindctl will parse command 'config set' values natively (i.e. for "config set my_item 3" the 3 is now read as an integer instead of a string)
added config diff option that shows a dict of the current uncommited changes
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@823 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-15 13:30:39 +00:00
Jelte Jansen
b302cfa381
refactoring of cfgmgr and config in general; they now use the datadefinition class so they could later validate data that is passed around
...
(refactoring not done yet, though it is now in a working state again, which seemed like a good time to commit)
added a config_data.py with classes for storing definitions and data (for both modules and UIs)
fixed a missed refactoring bug in bob
changed DataDefinition initializer; a string is now parsed instead of seen as a file name; there is a helper function in the module to read a datadef directly from file now
added a temporary example config data specification for auth module
added a temporary second config data element to bob.spec
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@814 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-13 22:07:58 +00:00
Jelte Jansen
8e06ee7688
found bug when to/fromwiring empty lists
...
added unittest
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jelte-configuration@809 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-12 14:36:24 +00:00
JINMEI Tatuya
d8412e1da7
more detailed description for the rdata and generic rdata classes
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@808 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-12 09:48:47 +00:00
JINMEI Tatuya
b39fa83ff2
comment update: factories of well known RR types are now automatically inserted
...
by python script.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@807 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-12 09:48:05 +00:00
JINMEI Tatuya
cbe0692558
- (re)added src/lib/dns
...
- updated EXCLUDE_PATTERNS to avoid including .py and placeholder C++ files
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@806 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-12 09:45:13 +00:00
JINMEI Tatuya
097eb4f372
added description for Rdata factories
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@805 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-12 03:12:54 +00:00
JINMEI Tatuya
137d916391
described the rest of RRParamRegistry
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@804 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-12 02:39:56 +00:00
JINMEI Tatuya
65de16f52b
moved MAX_CHARSTRING_LEN from the TXT definition to rdata.h as it's not
...
specific TXT.
added some more documentation.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@803 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-11 22:50:32 +00:00
JINMEI Tatuya
bc6d1d5d32
added more tests for rrparamregistry
...
added removeRdataFactory methods
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@799 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-11 01:22:59 +00:00
JINMEI Tatuya
46d9282164
merged from trunk
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@798 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-11 01:21:49 +00:00
JINMEI Tatuya
2a53c1987a
propset
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@796 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 23:54:21 +00:00
JINMEI Tatuya
68e99a935a
simplification
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@795 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 23:53:35 +00:00
JINMEI Tatuya
5f1344f7c0
merged from trunk
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@792 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 23:20:51 +00:00
JINMEI Tatuya
40cd668476
a minor bug fix: check the iss state before trying to use it
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@791 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 23:06:00 +00:00
JINMEI Tatuya
a89bee8509
propset
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@790 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 23:01:16 +00:00
JINMEI Tatuya
a568683bf2
added quick hack implementation of the SOA rdata class for datasource
...
development.
passed minimum level of unit test, will get it reviewed in the next review
cycle.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@789 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 23:00:58 +00:00
JINMEI Tatuya
c2fb21d9b3
added test/documentation for operator= and copy constructor
...
(trac ticket #47 , reviewed by Evan)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@788 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 21:07:37 +00:00
JINMEI Tatuya
d49b0ce988
plugged a leak in the destructor
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@787 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 20:04:59 +00:00
Jeremy C. Reed
eb27d3af6c
Add two missing boost headers as seen on Solaris10 build
...
system (which doesn't have boost installed).
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@786 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 19:17:40 +00:00
Jeremy C. Reed
2784c595fd
Add AC_SEARCH_LIBS to add libraries to LIBS as noticed on Solaris10.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@785 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 19:11:57 +00:00
Jeremy C. Reed
fadf58e7ee
Remove parkinglot from trunk. It is still in branches/parkinglot if needed.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@784 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 19:05:57 +00:00
JINMEI Tatuya
0d2b4dfaf3
added more tests for the rdata related class and functions
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@783 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 09:50:33 +00:00
JINMEI Tatuya
a125e69fb6
supporged the generic rdata case in createRdata (by copy)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@782 e5f2f494-b856-4b98-b285-d166d9295462
2010-02-10 09:50:05 +00:00