Michal 'vorner' Vaner
22eaf88024
[1924] Hack to allow finding generated python module
...
Do a hack to make the tests run with separate build and source
directories. The generated file ended up in a different directory than
the rest of the modules and the __init__.py. It therefore didn't work.
We use the same trick as log_messages, a forwarder module and addition
to PYTHON_PATH to find it.
Only the real file is installed.
2013-02-12 15:08:30 +01:00
Thomas Markwalder
97371cff7f
[2699] - Added 2013 to copyright notice in dhcpbdb_create.mysql
2013-02-12 09:00:18 -05:00
Tomek Mrugalski
b57fc08945
[2719] Emergency fix for renew when there are no subnets configured.
2013-02-12 15:24:57 +02:00
Thomas Markwalder
54bbed5fcb
[2699] Added composite search indexes to lease4 and lease6 tables to boost performance.
...
Note: This change fulfills both 2699 (lease4) and 2703 (lease6).
2013-02-12 07:50:50 -05:00
Stephen Morris
aff7100abe
[master] ChangeLog for #2681
2013-02-12 12:32:32 +00:00
Stephen Morris
87ce14cdb1
[master] Merge branch 'trac2681'
2013-02-12 12:29:06 +00:00
Stephen Morris
cf0ce4bad6
[2681] Merge branch 'master' into trac2681
...
Conflicts:
src/lib/dhcpsrv/alloc_engine.cc
2013-02-12 12:28:02 +00:00
Marcin Siodelski
227f2b1dab
[master] Updated ChangeLog for the #2700 .
2013-02-12 12:31:50 +01:00
Marcin Siodelski
b8d6b949eb
[2700] Fix issue where the cmd line switches are printed as ASCII codes.
2013-02-12 10:55:17 +01:00
Marcin Siodelski
5f9c4eec3c
[2704] Use the selectSubnet() subnet function to pick the suitable subnet.
...
The selectSubnet() function offers two ways to find a subnet for a
particular interface: using the name of the interface that the subnet is
configured for; and using the packet source address. Also, the redundant
warning is removed if suitable subnet was not found as this warning is
already issued elsewhere.
2013-02-12 10:11:15 +01:00
Mukund Sivaraman
8e33f9e96a
[2281] Use map::lower_bound() to speed up partial match searches
...
... by using the reverse of the name as the key.
2013-02-12 11:03:03 +05:30
Mukund Sivaraman
d404649f95
[2281] Pass a null config to ZoneTableSegment::create() for now
2013-02-12 10:04:34 +05:30
Mukund Sivaraman
cfd00e9403
[2281] Add documentation for the static datasource shared object's public symbols
2013-02-12 10:00:42 +05:30
Mukund Sivaraman
d7f14ea88e
[2281] Rename factory_link.h to static_datasrc.h
...
This is because the config argument will have to be documented.
2013-02-12 09:49:19 +05:30
Mukund Sivaraman
ea110815f2
Merge branch 'master' into trac2650
2013-02-12 09:13:10 +05:30
JINMEI Tatuya
12071a88b9
[master] Merge branch 'trac2665'
2013-02-11 13:44:47 -08:00
JINMEI Tatuya
e090b84bd5
[master] changelog entry for #2661
2013-02-11 13:42:55 -08:00
JINMEI Tatuya
e6f86f2f5e
[master] Merge branch 'trac2661'
2013-02-11 13:38:22 -08:00
JINMEI Tatuya
8d1f4d45b8
[2586] use !, not %, for a label char smaller than &.
...
% seems to (possibly) cause an unexpected side effect in an SQL statement.
2013-02-11 09:24:45 -08:00
Stephen Morris
3f272be09a
[master] Merge branch 'trac2673'
2013-02-11 15:33:11 +00:00
Tomek Mrugalski
52f22bb013
[master] Merge branch 'trac2702' (DHCPv4 renewal without client-id)
...
Conflicts:
ChangeLog
2013-02-11 15:54:27 +01:00
Stephen Morris
3e367ff100
[2673] Merge branch 'master' into trac2673
2013-02-11 14:39:34 +00:00
Tomek Mrugalski
72106475f6
[2702] ChangeLog updated.
2013-02-11 15:36:42 +01:00
Tomek Mrugalski
5aa5b4e403
[master] Merge branch 'trac2697' (bugfix for dhcp4 and MySQL)
...
Conflicts:
ChangeLog
2013-02-11 14:53:16 +01:00
Stephen Morris
5950991881
[2681] Address review comments
2013-02-11 13:42:18 +00:00
Tomek Mrugalski
dd2dbeb5a4
[2697] ChangeLog updated.
2013-02-11 14:41:18 +01:00
Tomek Mrugalski
daf2abe68c
[2702] Fix for DHCPv4 client renewals (without client-id)
2013-02-11 14:15:49 +01:00
Stephen Morris
1eef52e751
[2673] Correct use of wrong variable in unit test
2013-02-11 12:26:12 +00:00
Michal 'vorner' Vaner
6eb4e61e58
[1924] Fix makefile
...
The .cc file must be in _SOURCES, not in nodist_SOURCES. This one is not
generated.
2013-02-11 10:17:20 +01:00
Michal 'vorner' Vaner
050472189e
[1924] Add the generator scripts to EXTRA_DIST
...
One would think it would pack them automatically if they are in
noinst_SCRIPTS. But it doesn't seem to work, so marking them explicitly.
2013-02-11 10:12:55 +01:00
Michal 'vorner' Vaner
1aa0a1179c
[1924] (minor) Try to make the comment slightly cleaner
2013-02-11 10:03:26 +01:00
Michal 'vorner' Vaner
beebff23a4
[1924] Move the common_defs to the cc directory
...
Currently, it contains only the definitions related to CC. If we have
other definitions for other purposes, we may create further definition
files.
Also, rename it to proto_defs, since all is protocol constants.
Move the generator scripts to better place.
There should be no difference in functionality.
2013-02-11 09:58:20 +01:00
Mukund Sivaraman
7782afcefe
[master] Update ChangeLog for #2672
2013-02-11 09:46:58 +05:30
Mukund Sivaraman
660a0d164f
Merge branch 'master' into trac2672
...
Conflicts:
src/lib/python/isc/ddns/session.py
2013-02-11 09:31:12 +05:30
Mukund Sivaraman
e540ba5b43
[2650] Add cppcheck suppressions
2013-02-11 09:28:06 +05:30
JINMEI Tatuya
50e61198ea
[2665] use istream::ignore() (and ignore result) to skip chars instead of get()
...
ignoring the result fixes a scan-build error. besides, ignore() should be
more appropriate choice for what it intends to do anyway.
2013-02-09 14:52:37 -08:00
JINMEI Tatuya
aa5b7e1214
[2665] removed unnecessary assignment, fixing one error from clang scan-build.
2013-02-09 14:46:17 -08:00
JINMEI Tatuya
be156ccbf9
[2585] re-enabled auth query tests for in-memory that failed so far.
2013-02-08 23:39:04 -08:00
JINMEI Tatuya
d14e31cb67
[2585] don't perform wildcard substitution for NXRRSET NSEC.
...
test cases aren't incomplete, so it's revised to cover all combinations.
2013-02-08 23:35:29 -08:00
JINMEI Tatuya
52b0979f34
[2585] don't replace the name in findAll unless it's wildcard substituion.
2013-02-08 18:09:33 -08:00
JINMEI Tatuya
9a9b17823a
[2586] use non-escaped labels for query tests so they work with sqlite3.
...
sqlite3 data source currently doesn't handle escaled labels 100% correctly,
especially in identifying the "previous name" for DNSSEC negative proofs.
since this is not the point of these tests, it should be better to work around
it by the use of non escaped labels.
2013-02-08 13:51:14 -08:00
JINMEI Tatuya
9d5e1f5158
[1924] constify
2013-02-08 13:21:47 -08:00
JINMEI Tatuya
4a2220ee8e
[1924] replace suffix cpp with cc
...
assuming it was just overlooked, not intentional.
2013-02-08 09:36:32 -08:00
Marcin Siodelski
9b16b116c9
[master] Updated ChangeLog entry for #2657 .
2013-02-08 18:34:28 +01:00
Marcin Siodelski
1d0c200486
[master] Merge branch 'trac2657'
2013-02-08 18:29:27 +01:00
JINMEI Tatuya
dd447189c8
[2661] protect the output of 'python-config | sed' with [], with more comments.
...
without [] the output it seems possible that the output is empty for some
environments. also clarified that we can ignore the cases where -L isn't
contained at all.
2013-02-08 08:21:01 -08:00
Stephen Morris
b4de323354
[2657] Minor modifications to changed text
...
Also explicitly added a note in the "Installation" section referring
to the BIND 10 DHCP database installation and configuration section.
2013-02-08 13:07:08 +00:00
Mukund Sivaraman
6a06b311fb
[2281] Re-enable the query tests
...
Before, the query tests used the old datasrc::InMemoryClient wrapped
around a ZoneFinder, from where it got its zone data (the old in-memory
design). This is no longer available.
The mock zone finder also rigs some names to do some special things. We
cannot support this with the new datasrc::memory::InMemoryClient. So we
implement a mock client in this commit.
Note that because we no longer have the old RBTree, and the new
DomainTree is not useful as it returns const nodes, we use a std::map
instead. This is slightly slower when no exact match occurs as far as
these unittests are concerned, but they are tests anyway and there
aren't many zones in the map, so we can ignore this slight inefficiency.
2013-02-08 17:19:57 +05:30
Michal 'vorner' Vaner
c51846715a
[1924] Fix syntax error
...
Forgotten in previous commit
2013-02-08 12:34:52 +01:00
Michal 'vorner' Vaner
57c90f7a92
[1924] Comments and cleanups in the generator scripts
2013-02-08 12:27:46 +01:00