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

13556 Commits

Author SHA1 Message Date
Stephen Morris
d87597de14 [2546] Define ClientIdPtr type
This is akin to the DuidPtr and is a shared point to a Client ID.
2012-12-10 10:35:28 +00:00
Stephen Morris
084a166845 [2546] Remove LeaseMgr::getLease4(address, subnetid)
As the address is th eprimary key of the table, there can only ever
be at most one lease in the database with a given address.  Additional
selection by subnet ID is not needed.
2012-12-10 10:13:53 +00:00
Mukund Sivaraman
93eddf78d2 [2504] Add ChangeLog entry 2012-12-09 19:53:32 +05:30
Mukund Sivaraman
835553eb30 Merge branch 'master' into trac2504 2012-12-09 18:33:06 +05:30
Mukund Sivaraman
a6b558c0d0 [2504] Check result of find() 2012-12-09 18:04:59 +05:30
Marcin Siodelski
cb4d9b014e [master] perfdhcp test creates template files in a local folder.
The test used to create template files in a testdata folder without write
permissions. That caused 'make distcheck' errors. This regression had
been introduced with the ticket #2479. Okayed on jabber.
2012-12-07 21:36:42 +01:00
Stephen Morris
5c9dba4001 [master] Remove indirection in defining size of arrays
cppcheck was complaining about what was effectively:
const int A = 6; const int B = A; std::string array[b];

Changing this to
const int B = 6; std::string array[b];

... works
2012-12-07 20:25:25 +00:00
Jelte Jansen
06eeaf025b [2504] use example.com zone for test 2012-12-07 16:34:03 +01:00
Stephen Morris
755a3b5fa1 [master] ChangeLog for trac 2404 2012-12-07 13:42:03 +00:00
Stephen Morris
ce7db48d3f [2404] Merge branch 'master' into trac2404 2012-12-07 12:28:21 +00:00
Stephen Morris
1c59115d79 [2404] Alter memfile "getName()" to return "memory"
This reflects the fact that at the moment, the data is stored in
memory and not in a backing file.
2012-12-07 12:25:40 +00:00
Stephen Morris
fca3132940 [2404] Minor changes as a result of review 2012-12-07 11:18:47 +00:00
Stephen Morris
126aeb9d11 [master] ChangeLog for trac 2396 2012-12-07 10:26:01 +00:00
Stephen Morris
c23f87e8ac [2396] Merge branch 'master' into trac2396 2012-12-07 09:59:00 +00:00
Jeremy C. Reed
8e39d7eb39 [master] fix typo and standardize one spelling
in docs. trivial. no review.
2012-12-06 21:01:51 -06:00
JINMEI Tatuya
678ce7c7ba [master] include notify's source IP in ZONEMGR_UNKNOWN_ZONE_NOTIFIED log msg.
okayed on jabber.
2012-12-06 17:50:53 -08:00
JINMEI Tatuya
303f3a44c2 [master] Merge branch 'trac2442'
with fixing Conflicts for:
	src/lib/dns/gen-rdatacode.py.in
	src/lib/dns/tests/rdata_txt_like_unittest.cc
2012-12-06 17:50:27 -08:00
JINMEI Tatuya
c366a4f8de [2442] in CharStringTooLong what() msg, clarify it includes an extra octet. 2012-12-06 15:26:00 -08:00
Marcin Siodelski
181226ac0c [master] Added ChangeLog entry for #2479. 2012-12-06 17:16:17 +01:00
Stephen Morris
e19573d76a [2513] Merge branch 'master' into trac2513 2012-12-06 11:26:03 +00:00
Stephen Morris
261a171c3b [2396] Modified IOAddress tests in light of review 2012-12-06 11:19:41 +00:00
Mukund Sivaraman
4a9ea530ab [2504] Fix getClosestNSEC() when tree.find() results in SUBDOMAIN
When tree.find() results in SUBDOMAIN, the node_path's top contains the
previous node.  Calling previousNode() yet again will return its
further previous node.
2012-12-06 15:58:30 +05:30
Marcin Siodelski
4e8325e1b3 [master] Merge branch 'trac2479' 2012-12-06 08:29:25 +01:00
Mukund Sivaraman
cbf6d3808e [2504] Add testcase that reproduces the problem
This test currently fails with an assertion.
2012-12-06 12:25:11 +05:30
JINMEI Tatuya
a6865a7686 [master] Merge branch 'trac2382'
with fixing Conflicts for
	src/lib/dns/gen-rdatacode.py.in
	src/lib/dns/rdata.cc
	src/lib/dns/rrparamregistry-placeholder.cc
	src/lib/dns/tests/rdata_hinfo_unittest.cc
	src/lib/dns/tests/rdata_txt_like_unittest.cc
2012-12-05 11:34:59 -08:00
JINMEI Tatuya
ea88e8907a [2442] updated comment for string::operator[] when it's empty
this is actually ensured by the C++ standard lib spec.
2012-12-05 10:43:06 -08:00
JINMEI Tatuya
05fc975a3d [2442] use std::string instead of POD array for constructing obj of DDD. 2012-12-05 10:36:13 -08:00
JINMEI Tatuya
9002ffc08e [2442] simplified interface; txt-like ctor only needs to take lexer. 2012-12-04 20:00:31 -08:00
JINMEI Tatuya
de92f31ea5 [2442] documentation updates 2012-12-04 19:52:22 -08:00
JINMEI Tatuya
20ca327e9b [2442] test for escaped characters 2012-12-04 19:30:15 -08:00
JINMEI Tatuya
ec4fcc7956 [2442] rejected extra \n for std::string version of txt-like ctor. 2012-12-04 19:26:40 -08:00
JINMEI Tatuya
8201bad569 [2442] added a test case for multi-line text input 2012-12-04 19:16:29 -08:00
JINMEI Tatuya
435309b12d [2442] reject empty text input; adjuted one test case accordingly 2012-12-04 19:10:57 -08:00
JINMEI Tatuya
5986149152 [2442] added another case of multi-string with mixture of not-quoted + no spc.
due to limitation of the current implementation it doesn't work right now,
so commented out; planning to create a ticket to fix the underlying issue.
2012-12-04 18:56:04 -08:00
JINMEI Tatuya
9bdc1899a2 [2442] added some test cases for txt-like rdata with multi-char-string 2012-12-04 14:51:45 -08:00
JINMEI Tatuya
1780e7b66e [2442] make sure from-string version still throws InvalidRdataText on error. 2012-12-04 13:54:16 -08:00
Marcin Siodelski
238b343266 [2479] Remove unnecessary assignment. 2012-12-04 21:33:57 +01:00
Marcin Siodelski
e0c2fad347 [2479] Renabled tests that were affected by invalid paths to testdata. 2012-12-04 21:03:56 +01:00
Marcin Siodelski
501a5e3373 [2479] Use an absolute path to testdata directory. 2012-12-04 20:56:17 +01:00
Marcin Siodelski
dbf7313f6b [2479] Moved perfdhcp/template folder to perfdhcp/tests/testdata. 2012-12-04 20:29:20 +01:00
JINMEI Tatuya
e66472386a [master] resolve additional conflicts due to change of token class name 2012-12-04 10:18:48 -08:00
JINMEI Tatuya
90641997b3 [master] Merge branch 'trac2506' 2012-12-04 09:58:54 -08:00
JINMEI Tatuya
816eacf47e [2382] throw unexpected instead of assert on unexpected token in createRdata.
assert() should be okay, but that depends on details of other classes, so
exception is probably a bit safer.
2012-12-04 09:27:49 -08:00
Stephen Morris
1d4751ed52 [2513] Move libdhcpsrv.dox to the dhcpsrv directory 2012-12-04 17:27:27 +00:00
JINMEI Tatuya
09d70952ca [2382] added one suggested test: a case where RDATA is followed by comment 2012-12-04 09:22:44 -08:00
JINMEI Tatuya
6944e7758d [2382] unify pushing '\0' for number-like data in Number::handle() 2012-12-04 09:18:03 -08:00
JINMEI Tatuya
970ee33b88 [2382] corrected typo in doc for createRdata() 2012-12-04 09:10:56 -08:00
Stephen Morris
8bc5490b0e [2396] Add methods to IOAddress: toBytes(), isV4() and isV6() 2012-12-04 13:23:07 +00:00
Stephen Morris
8f6903dc06 [2404] Updated comments etc. 2012-12-04 11:32:08 +00:00
Mukund Sivaraman
1545ba5efd [master] Remove unnecessary namespace import 2012-12-04 15:09:17 +05:30