Jelte Jansen
2875dfccba
last fix for python3 conversion
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@168 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 20:52:47 +00:00
Shane Kerr
cb03478cdc
Coerce bytearray to string
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@167 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 20:45:13 +00:00
Shane Kerr
b5b736fcb2
Python 2 to 3 conversions
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@166 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 20:37:48 +00:00
Jeremy C. Reed
ca8f4c4396
This now will do the first query (partly based on jinmei's example code).
...
Verbose is on by default.
Can use second argument for the server to use.
TODO: split into different functions and do AAAA and MX also and show results.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@165 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 20:25:42 +00:00
JINMEI Tatuya
0164aa87b6
- some style fixes: s/Rr/RR/, s/RDATAPTR/RdataPtr/ (RDATAPTR is still available
...
for compatibility)
- added some support methods to handle Rdata in more polymorphic way
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@164 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 20:03:02 +00:00
Jelte Jansen
db8a6b60ae
port to python3 part 2.a
...
'fixed' imports by adding namespace to __init__.py files (is that right?)
still errors in session.py
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@161 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 01:09:42 +00:00
Shane Kerr
5b043005c2
Preparation for using the c-channel.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@159 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 00:53:33 +00:00
Shane Kerr
be3ea8326d
Python 3 fix-ups
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@158 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 00:51:37 +00:00
Jelte Jansen
1578a6ba55
fixup config manager
...
functionality now working: add zone, remove zone, list zones
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@157 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 00:30:23 +00:00
Jelte Jansen
d5314b0fbf
more verbose manager
...
fixed naming in session.py (and switched result values)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@156 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 00:21:17 +00:00
Evan Hunt
753a041654
build lib before bin
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@155 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 00:11:14 +00:00
Shane Kerr
b0cb2e023e
Some initial work on a boss process.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@154 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 00:09:16 +00:00
Jelte Jansen
0a6b3fc64e
update from trunk
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@153 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-29 00:06:34 +00:00
JINMEI Tatuya
9f366e921c
cleanup: avoid 'using namespace'
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@152 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 23:52:21 +00:00
JINMEI Tatuya
24a514cb3f
template implementation of parkinglot
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@151 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 23:46:32 +00:00
Jeremy C. Reed
d813041453
Comment out sendTo for now.
...
Add basic usage output.
Used wrong argv, fixed.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@150 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 23:44:45 +00:00
Kazunori Fujiwara
555dd4d2fc
First statistics test:
...
respondent.py has single "counter".
collector.py collects data and output them to stdout
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@149 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 23:27:59 +00:00
Jeremy C. Reed
66ff25c0ab
Add beginning of
...
rewrite host(1) in C++ from scratch using BIND 10's libdns.
(This doesn't compile yet.)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@148 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 23:19:59 +00:00
JINMEI Tatuya
538098d861
use getQR() rather than getQr() etc.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@147 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 23:11:37 +00:00
JINMEI Tatuya
77c158afd3
change method names to likeThis() based on coding guidelines
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@145 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 22:56:10 +00:00
JINMEI Tatuya
daff34801b
use lower-cased namespaces based on coding style guidelines
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@144 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 22:31:54 +00:00
Jelte Jansen
0c7589ab51
set loglevel to DEBUG so we can see messages being pased around
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@143 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 22:29:22 +00:00
Jelte Jansen
13f6650859
one more makefile.in removed (generated out of makefile.am)
...
move the bin to it's own module dir as well
(should we not do this, or seperate on module level on dir higher? (i.e. before /lib and /bin separation)
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@142 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 22:18:08 +00:00
JINMEI Tatuya
7adb804ba3
ported message API from the experimental code and added some test cases.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@141 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 22:14:18 +00:00
Jelte Jansen
c42ba429a4
move 'lib' part of bind-cfgd into src/lib/bind-cfgd/python/
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@140 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 22:04:21 +00:00
Jelte Jansen
f70b2d9f73
listen to ConfigManager channel for commands
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@135 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 00:19:53 +00:00
Jelte Jansen
da4e68a21e
session initialization raises SessionError instead of socket.error
...
catch that error in bind-cfgd.py
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@134 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-28 00:04:10 +00:00
Jelte Jansen
f44c0e0060
oops, added bind-cfgd instead of bind-cfgd.in
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@133 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-27 23:59:15 +00:00
JINMEI Tatuya
1b1b49fa1b
ported RRset/Question/RR classes from experimental code with some test cases.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@132 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-27 23:53:40 +00:00
Jelte Jansen
ea81135ef8
remove generated files
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@130 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-27 23:32:59 +00:00
Jelte Jansen
bbc823769b
extremely empty configmgr tool
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@129 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-27 23:31:26 +00:00
JINMEI Tatuya
4391743254
imported A/AAAA/NS implementations and added some simple test cases.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@127 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-27 22:41:44 +00:00
JINMEI Tatuya
b056392c5e
ported minimal set of RR-related API for rapid prototyping and some test cases.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@120 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-27 01:47:31 +00:00
JINMEI Tatuya
f123f38207
ported minimal sets of name methods for code sprint.
...
added some test cases with gtest.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@118 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-27 00:09:38 +00:00
Michael Graff
da2390e7ec
move ccapi to trunk
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@109 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-20 16:55:58 +00:00
Jeremy C. Reed
2891ecb081
Fix typo in a comment.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@97 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-19 14:18:03 +00:00
JINMEI Tatuya
d918661dc4
fixed a typo (harmless, but it was incorrect)
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@96 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-17 00:42:04 +00:00
JINMEI Tatuya
2f67809c0c
cleanup: removed a meaningless comment
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@95 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-17 00:23:24 +00:00
JINMEI Tatuya
561a93921e
added some simple unit tests using CppUnit.
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@94 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-17 00:14:33 +00:00
JINMEI Tatuya
f4852b86a7
missing
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@92 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-16 06:22:19 +00:00
JINMEI Tatuya
ca025c4914
missing
...
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@91 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-16 06:21:35 +00:00
JINMEI Tatuya
ebf4a1bb2b
added a minimal set to build the package.
...
(I used automake since it seems to be a convenient way of quick start,
but we can change that to in-house Makefile.in's later if we want)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@90 e5f2f494-b856-4b98-b285-d166d9295462
2009-10-16 06:20:23 +00:00