2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Commit Graph

9621 Commits

Author SHA1 Message Date
Naoki Kambe
a475ef271d Merge branch 'trac1852' of ssh://git.bind10.isc.org/var/bind10/git/bind10 2012-05-01 17:39:17 +09:00
Mukund Sivaraman
3055e37cd7 [master] Update .gitignore 2012-04-30 09:33:45 +05:30
Mukund Sivaraman
f9d8efd545 [master] Put libtool macros in m4macros/ 2012-04-30 09:32:17 +05:30
Mukund Sivaraman
e63005a633 [master] Update .gitignore 2012-04-30 09:21:18 +05:30
Mukund Sivaraman
a3893c3664 [master] Fix endif comment 2012-04-30 09:19:41 +05:30
Marcin Siodelski
0ddeda7f06 [master] Changelog update for #1908 2012-04-28 22:43:51 +02:00
Marcin Siodelski
597e059afa [master] [1908] Added v6 socket binding to local-link address 2012-04-28 21:46:34 +02:00
Jelte Jansen
84a0413302 [1878] add copyright statement 2012-04-20 14:30:15 +02:00
Jelte Jansen
dc142a44a0 [1878] add run_lettuce.sh script, and check in terrain 2012-04-20 12:51:01 +02:00
Jelte Jansen
8df566b82d [1878] added run_lettuce.sh script, and check in terrain 2012-04-20 12:48:08 +02:00
Jelte Jansen
373ef178d7 [1857] make ModuleSpecError derive from isc::Exception 2012-04-20 11:50:43 +02:00
JINMEI Tatuya
e0cb5ab6d3 [master] [1895] editorial: added a missing space in an error message.
not directly related to this branch, but the review comment on this point
for the previous change should actually apply to this.
2012-04-19 10:22:24 -07:00
Jeremy C. Reed
fd1a4b0eac [master] also wait for auth server to be started before query
This is in the Load and response scenario.

This is to fix lettuce failures see on mac and debian automated lettuce
runs.

This was just a timing race.

Also I didn't check for BIND10_STARTED_CC as done elsewhere
since that never worked. I opened a ticket for that: #1900.
2012-04-19 12:11:34 -05:00
Jeremy C. Reed
b24b0f2312 [master] make sure auth server is running before queried
This fixes lettuce failure:

   Scenario: Delegation query for unsigned child zone                                                                      # features/queries.feature:106
     Given I have bind10 running with configuration example.org.inmem.config                                               # features/terrain/bind10_control.py:107
+    And wait for bind10 stderr message AUTH_SERVER_STARTED                                                                # features/terrain/steps.py:34
     A dnssec query for www.sub.example.org type AAAA should have rcode NOERROR                                            # features/terrain/querying.py:204
     Traceback (most recent call last):
       File "/usr/pkg/lib/python2.6/site-packages/lettuce/core.py", line 117, in __call__
         ret = self.function(self.step, *args, **kw)
       File "/home/reed/work/isc/bind10/git/bind10-CLEAN/tests/lettuce/features/terrain/querying.py", line 240, in query
         "Expected: " + rcode + ", got " + query_result.rcode
     AssertionError: Expected: NOERROR, got NO_ANSWER

This was discussed on jabber. (Maybe the cmdctl check is not needed,
but shouldn't hurt either.)
2012-04-19 11:13:42 -05:00
Michal 'vorner' Vaner
146b5941b9 Merge branch 'master' of git+ssh://git.bind10.isc.org/var/bind10/git/bind10 2012-04-19 17:24:10 +02:00
Jelte Jansen
4cfab0d825 [1843] import fix 2012-04-19 17:08:16 +02:00
Michal 'vorner' Vaner
e4fd9934de Fix makefile
The run_unittests should be linked only if it is compiled. Confirmed on
jabber this was a mistake.
2012-04-19 15:48:45 +02:00
Jelte Jansen
bed1681e32 [1843] add test for change to find_spec_part
and a bit of comment cleanup
2012-04-19 15:26:22 +02:00
Jelte Jansen
53a7c709b0 [1843] move command_sets/execute initialization
to command_sets, so that all setup is done in one file and not 3
2012-04-19 15:12:51 +02:00
Jelte Jansen
50d20d7206 [1843] revert script config changes if script fails 2012-04-19 14:31:08 +02:00
Stephen Morris
c8e538c10d [master] Merge branch 'trac1704' 2012-04-19 12:12:36 +01:00
Stephen Morris
b1c727db35 [1704] Corrected a typo in the bind10-guide.xml file after review
Also regenerated the bind10-guide.html and bind10-guide.txt files.
2012-04-19 12:09:17 +01:00
Michal 'vorner' Vaner
5b37859360 Merge #1793 2012-04-19 12:12:17 +02:00
JINMEI Tatuya
6e05014aa5 [1793] Fix a comment
The old version is a result of copy-paste and is wrong.
2012-04-19 12:11:42 +02:00
JINMEI Tatuya
264691395b [1793] Eliminate several state variables
The values are deduced from something else, no need to keep them. This
eliminates the ugly initialization with wrong values.
2012-04-19 12:09:57 +02:00
Michal 'vorner' Vaner
438b5b183c [1793] Fix variable name
We have camelCase in many places, but variable names are not one of
those.
2012-04-19 11:07:35 +02:00
JINMEI Tatuya
da4d8df9ee [master] changelog for #1891 2012-04-19 01:08:39 -07:00
JINMEI Tatuya
672f129700 [master] Merge branch 'trac1891' 2012-04-19 00:58:32 -07:00
Jelte Jansen
a6cc81d79b [1843] lettuce test for builtin init_authoritative_server 2012-04-19 00:32:59 +02:00
Jelte Jansen
a9b59f8a77 [1843] half-related cleanup; return copies of spec parts
so that if they have nested default values, which may be set to 'local', and modified later, the original isn't changed. (technically it should be enough to do the copy when setting, but it's safer to copy them entirely for now)
2012-04-19 00:31:19 +02:00
JINMEI Tatuya
bcb62dd7e4 [1891] enabled some DatabaseClientTest for add/del NSEC3s for SQLite3, too.
They were originally planned to be enabled with the completion of this branch,
but I forgot to enable them before review.  As expected, they just passed
for SQLite3, too.
2012-04-18 14:26:05 -07:00
JINMEI Tatuya
400ff18a8c [1891] added bindXXX methods to StatementProcessor as sqlite_bind_xxx wrapper.
As suggested in review.

This will make the caller code simpler.  It's also safer in that the caller
doesn't have to manipulate the statement separetely (in the previous way
StatementProcessor and the caller could use different statements).

Also made naming more consistent: in the very initial version the class was
called "Executer" and then renamed to Processor.  Some variables of this class
were still named "exec", etc, but it's more consistent if they are named
like "proc".
2012-04-18 14:18:35 -07:00
Jelte Jansen
1c3fe6e537 [1843] add a builtin command set for execute
moved exception catching around a bit, so the set does not get completed if one of its steps fails
2012-04-18 22:07:06 +02:00
Jelte Jansen
64f69a1433 [1843] basic bindctl execute directives and lettuce tests 2012-04-18 16:29:17 +02:00
Jelte Jansen
233c7295de [1843] initial addition of 'execute' command set 2012-04-18 15:26:24 +02:00
Michal 'vorner' Vaner
52707b1951 [1793] Minor editorial fixes 2012-04-18 10:27:45 +02:00
Michal 'vorner' Vaner
f782145ec0 [1793] Split the config lookup out of validate
It is now placed into the getZoneConfig method. This is code cleanup
only, functionality should not be changed.
2012-04-18 10:08:42 +02:00
JINMEI Tatuya
f93cd951e3 [master] Merge branch 'trac1781' 2012-04-18 00:50:24 -07:00
JINMEI Tatuya
e7c91fe725 [1891] (unrelated) cleanup: removed 'GET_RECORD_DIFF' sqlite3 statement.
this was intended to be a temporary workaround while developing writability,
and should have been cleaned up in #1746.  no one uses this anymore, so
we can safely remove it.
2012-04-17 21:10:23 -07:00
JINMEI Tatuya
14a13b8494 [1891] added a check in xfrin lettuce test for xfr with NSEC3.
- the test zone DB was updated by hand with an NSEC3 record in the nsec3 table.
- changes to transfer.py was the same one as that in quering.py to support IPv6
  transport
2012-04-17 21:05:23 -07:00
JINMEI Tatuya
47f1415387 [1891] reject attempt of deleting NSEC3 before start transaction. 2012-04-17 17:52:18 -07:00
JINMEI Tatuya
9a4619a0a1 [1891] implemented sqlite3 deleteNSEC3RecordInZone. 2012-04-17 17:48:52 -07:00
JINMEI Tatuya
fb7201b9ff [1891] be sure to reject addNSEC3 attempt before begin transaction. 2012-04-17 17:29:39 -07:00
JINMEI Tatuya
bea9aaf144 [1891] make sure the 'owner' columns is filled on addNSEC3RecordToZone.
this is a kind of intermediate hack, and we should revisit this point
at the level of API/schema design.
2012-04-17 17:23:00 -07:00
JINMEI Tatuya
d7cf5f81d9 [1891] (unrelated) regression fix: make sure multiple updates after rollback.
this is a fix to the similar bug as the one fixed in the previous commit,
but for the rollback case.
2012-04-17 16:37:28 -07:00
JINMEI Tatuya
91cb18e244 [1891] make sure nsec3 table is cleared when replacing a zone.
the test for this uncovered one old regression: accessor cannot be reused
for multiple updates.  it was fixed in this commit, too.
2012-04-17 16:32:59 -07:00
JINMEI Tatuya
7aac25a59b [1891] implemented addNSEC3RecordToZone, 1st step.
defined a new statement for updating the nsec3 table, and used it from
addNSEC3RecordToZone.  some validation checks are still missing.
also made simple cleanup of removing unnecessary namespace qualifiers.
2012-04-17 15:44:40 -07:00
JINMEI Tatuya
358beb2e1e [1891] (unrelated) cleanup: unify the definition of faked NSEC3 strings.
defining const values in a shared header file isn't illegal, but it
could cause definition bloat (it's up to the linker implementation
whether to combine them).  in practice this probably doesn't matter
much for this limited scope purpose, but it's still cleaner to avoid
the bloat.
2012-04-17 14:49:10 -07:00
JINMEI Tatuya
d68d574b69 [1891] Merge branch 'trac1781' into trac1891 2012-04-17 13:04:40 -07:00
Jelte Jansen
c3be9fa408 [master] removed test db file that shouldn't be in repos
It gets (re)created on tests, and does not need to be in the repository
2012-04-17 16:13:00 +02:00