]>
git.ipfire.org Git - thirdparty/kea.git/log
Jelte Jansen [Fri, 23 Nov 2012 16:24:55 +0000 (17:24 +0100)]
[2377] Initial MasterLoader class and test class
Michal 'vorner' Vaner [Mon, 3 Dec 2012 08:44:26 +0000 (09:44 +0100)]
Merge remote-tracking branch 'origin/trac2382' into base/loader
Michal 'vorner' Vaner [Mon, 3 Dec 2012 08:42:55 +0000 (09:42 +0100)]
Merge remote-tracking branch 'origin/trac2506' into base/loader
Mukund Sivaraman [Mon, 3 Dec 2012 05:43:56 +0000 (11:13 +0530)]
[2497] Remove a couple of txt tests
JINMEI Tatuya [Mon, 3 Dec 2012 05:39:00 +0000 (11:09 +0530)]
[2497] Move repeated code to a function
Mukund Sivaraman [Mon, 3 Dec 2012 05:21:18 +0000 (10:51 +0530)]
[2497] Make new_rdata_factory_users[] a list of tuples
Also:
* document new_rdata_factory_users[] with an example
* Rename new_rdatafactory_users[] to new_rdata_factory_users[]
Mukund Sivaraman [Mon, 3 Dec 2012 03:11:30 +0000 (08:41 +0530)]
Merge branch 'master' into trac2450
Jelte Jansen [Sun, 2 Dec 2012 22:37:09 +0000 (23:37 +0100)]
[2445] Fix includes for log4cplus-1.1.0
Jelte Jansen [Fri, 30 Nov 2012 15:18:53 +0000 (16:18 +0100)]
[2445] Rename new files, and assorted cleanups
including docstring updates
Jelte Jansen [Fri, 30 Nov 2012 10:31:39 +0000 (11:31 +0100)]
[2445] Create unit tests and fix a few issues
Also updated log's README
Jelte Jansen [Wed, 28 Nov 2012 20:34:14 +0000 (21:34 +0100)]
[2445] Make buffering optional, and enable in b10 components
JINMEI Tatuya [Sat, 1 Dec 2012 16:32:06 +0000 (08:32 -0800)]
[2382] more update on comment
JINMEI Tatuya [Sat, 1 Dec 2012 16:28:37 +0000 (08:28 -0800)]
[2382] comment wording fix
JINMEI Tatuya [Sat, 1 Dec 2012 04:17:23 +0000 (20:17 -0800)]
[2382] documentation updates
JINMEI Tatuya [Sat, 1 Dec 2012 03:37:28 +0000 (19:37 -0800)]
[2382] warn if RDATA immediately followed by EOF
JINMEI Tatuya [Sat, 1 Dec 2012 03:04:33 +0000 (19:04 -0800)]
[2382] handle other generic isc::Exception
JINMEI Tatuya [Fri, 30 Nov 2012 23:19:03 +0000 (15:19 -0800)]
[2382] supported extra token case and callback calls on error.
JINMEI Tatuya [Fri, 30 Nov 2012 06:30:56 +0000 (22:30 -0800)]
[2382] Consume to end of line / file in createRdata().
JINMEI Tatuya [Fri, 30 Nov 2012 05:48:25 +0000 (21:48 -0800)]
[2382] ungetToken EOL/EOF in the backend factories.
JINMEI Tatuya [Fri, 30 Nov 2012 22:28:52 +0000 (14:28 -0800)]
[2382] added from-lexer ctor for AAAA RDATA.
not directly related to this task, but I found we need one real (non wrapper)
example to test some of the feature of generic createRdata().
also updated RDATA template including with-lexer constructor.
JINMEI Tatuya [Fri, 30 Nov 2012 21:51:33 +0000 (13:51 -0800)]
[2382] unrelated fix to lexer: support empty qstring and nul termination.
an empty qstring previously caused an exception, which is a clear bug
and should be fixed. nul-terminating string regions is an extension,
but I found it useful when implementing RDATA parsers.
JINMEI Tatuya [Fri, 30 Nov 2012 05:06:09 +0000 (21:06 -0800)]
[2382] resolved remaining merge conflict on MasterLexer::Token.
JINMEI Tatuya [Fri, 30 Nov 2012 21:41:01 +0000 (13:41 -0800)]
[2497] constify
Mukund Sivaraman [Fri, 30 Nov 2012 14:31:49 +0000 (20:01 +0530)]
[2497] Return NULL upon exception in rdata::createRdata()
Mukund Sivaraman [Fri, 30 Nov 2012 12:44:21 +0000 (18:14 +0530)]
[2497] Add tests for NSEC3PARAM-like rrtypes
Mukund Sivaraman [Fri, 30 Nov 2012 12:35:48 +0000 (18:05 +0530)]
[2497] Add tests for NSEC3PARAM, DS-like and TXT-like rrtypes
Mukund Sivaraman [Fri, 30 Nov 2012 12:12:39 +0000 (17:42 +0530)]
[2497] Add tests for NSEC3, NSEC and TSIG rrtypes
JINMEI Tatuya [Fri, 30 Nov 2012 21:41:01 +0000 (13:41 -0800)]
[2497] constify
Marcin Siodelski [Fri, 30 Nov 2012 17:06:26 +0000 (18:06 +0100)]
[2491] Add a function to set binary data for a data field.
Marcin Siodelski [Fri, 30 Nov 2012 16:32:12 +0000 (17:32 +0100)]
[2491] Added first set of functions to set data field values.
Marcin Siodelski [Fri, 30 Nov 2012 16:31:18 +0000 (17:31 +0100)]
[2491] Added function to get a single option definition using a code.
Stephen Morris [Fri, 30 Nov 2012 15:49:42 +0000 (15:49 +0000)]
[2404] First set of changes as a result of review
* Corrections of miscellaneous typos in comments
* Update database version to 1.0
* Handling of truncation while fetching data from the database
Mukund Sivaraman [Fri, 30 Nov 2012 14:31:49 +0000 (20:01 +0530)]
[2497] Return NULL upon exception in rdata::createRdata()
Mukund Sivaraman [Fri, 30 Nov 2012 12:44:21 +0000 (18:14 +0530)]
[2497] Add tests for NSEC3PARAM-like rrtypes
Mukund Sivaraman [Fri, 30 Nov 2012 12:35:48 +0000 (18:05 +0530)]
[2497] Add tests for NSEC3PARAM, DS-like and TXT-like rrtypes
Marcin Siodelski [Fri, 30 Nov 2012 12:28:28 +0000 (13:28 +0100)]
[2491] Test that appropriate std options are returned.
Mukund Sivaraman [Fri, 30 Nov 2012 12:12:39 +0000 (17:42 +0530)]
[2497] Add tests for NSEC3, NSEC and TSIG rrtypes
Jelte Jansen [Wed, 28 Nov 2012 17:06:31 +0000 (18:06 +0100)]
[2445] initial working version
needs cleanup and tests
JINMEI Tatuya [Fri, 30 Nov 2012 04:44:10 +0000 (20:44 -0800)]
[2382] Merge branch 'trac2506' into trac2382
JINMEI Tatuya [Fri, 30 Nov 2012 04:43:49 +0000 (20:43 -0800)]
[2382] Merge branch 'trac2497' into trac2382
Mukund Sivaraman [Fri, 30 Nov 2012 04:20:23 +0000 (09:50 +0530)]
[2497] Also check and stop at END_OF_LINE
Mukund Sivaraman [Fri, 30 Nov 2012 04:10:17 +0000 (09:40 +0530)]
[2497] Add tests for AFSDB, DHCID and DNSKEY rrtypes
Mukund Sivaraman [Fri, 30 Nov 2012 04:01:39 +0000 (09:31 +0530)]
[2497] Add tests for HINFO, MINFO and NAPTR rrtypes
Mukund Sivaraman [Fri, 30 Nov 2012 03:47:01 +0000 (09:17 +0530)]
[2497] Add tests for OPT, PTR and RP rrtypes
Mukund Sivaraman [Fri, 30 Nov 2012 03:28:00 +0000 (08:58 +0530)]
[2497] Add tests for RRSIG, SOA and SRV rrtypes
Mukund Sivaraman [Fri, 30 Nov 2012 03:25:03 +0000 (08:55 +0530)]
[2497] Refactor RRSIG rrtype test code
Jelte Jansen [Thu, 29 Nov 2012 23:49:19 +0000 (15:49 -0800)]
[master] Revert one change from #2398
Removed the socket.shutdown() before socket.close() again, this seemed to cause some errors with the statistics tests (which we will look into separately)
Discussed on jabber
JINMEI Tatuya [Thu, 29 Nov 2012 23:37:45 +0000 (15:37 -0800)]
[master] changelog for #2420
JINMEI Tatuya [Thu, 29 Nov 2012 23:04:11 +0000 (15:04 -0800)]
[master] Merge branch 'trac2420'
JINMEI Tatuya [Thu, 29 Nov 2012 22:02:04 +0000 (14:02 -0800)]
[2382] corrected trivial syntax error in #2497
Mukund Sivaraman [Thu, 29 Nov 2012 22:47:25 +0000 (04:17 +0530)]
[2497] Add a comment for RRParamRegistryTest.createFromLexer
Mukund Sivaraman [Thu, 29 Nov 2012 22:41:14 +0000 (04:11 +0530)]
[2497] Add rdata::createRdata() and tests for some RRtypes
JINMEI Tatuya [Thu, 29 Nov 2012 21:29:02 +0000 (13:29 -0800)]
[2506] (unrelated) cleanup: define ReadError as a class, not a struct.
for consistency; it's awkward to see it as a struct while LexerError as a
.class.
The choice is basically a matter of taste, but I personally think it's
better to be defined as a class as its base is defined as a class, and
these exception structs are not just a trivial set of values.
JINMEI Tatuya [Thu, 29 Nov 2012 21:28:20 +0000 (13:28 -0800)]
[2506] documentation update
JINMEI Tatuya [Thu, 29 Nov 2012 18:54:54 +0000 (10:54 -0800)]
[2506] handle other rare error cases
Marcin Siodelski [Thu, 29 Nov 2012 18:40:32 +0000 (19:40 +0100)]
[2491] Support for custom option to hold FQDN.
JINMEI Tatuya [Thu, 29 Nov 2012 18:40:28 +0000 (10:40 -0800)]
[2506] handled the case when getNextToken expects a number but it's too big.
JINMEI Tatuya [Thu, 29 Nov 2012 18:28:26 +0000 (10:28 -0800)]
[2506] handled the case a number is expected but not found
JINMEI Tatuya [Thu, 29 Nov 2012 18:14:01 +0000 (10:14 -0800)]
[2506] supported NUMBER in getNextToken() with expected type
JINMEI Tatuya [Thu, 29 Nov 2012 18:06:01 +0000 (10:06 -0800)]
[2506] resolved remaining conflicts on rebase
JINMEI Tatuya [Thu, 29 Nov 2012 17:59:54 +0000 (09:59 -0800)]
[2506] added another version of getNextToken, basic part
JINMEI Tatuya [Wed, 28 Nov 2012 23:12:28 +0000 (15:12 -0800)]
[2506] rename: MasterLexer::Token to MasterToken.
it's a kind of hack for the convenience of the planned change of this branch,
but the revised name doesn't seem really bad anyway.
JINMEI Tatuya [Wed, 28 Nov 2012 22:49:19 +0000 (14:49 -0800)]
[2506] updated part of lexer state doc to match the latest changes.
JINMEI Tatuya [Wed, 28 Nov 2012 22:37:23 +0000 (14:37 -0800)]
[2506] removed meaningless comment
this is remaining open point from #2375. The comment was added at
commit
33a3143 , and it's been the same since the introduction.
Aside from the fact that the sentence is incomplete, IMO the comment doesn't
provide any meaningful information; it's obvious that "the source is not
available" if source_ is NULL. Even if we complete the sentence by
adding, e.g, "(then) throw InvalidOperation", it still doesn't provide
any additional information than the code itself.
So my decision is to to simply clean it up.
Jelte Jansen [Thu, 29 Nov 2012 17:13:22 +0000 (18:13 +0100)]
[master] Fix callable() check in unit test
callable() has been removed in Python 3, but was reintroduced in Python 3.2. This fix (check for isinstance(obj, collections.Callable) should make the test work with 3.1 and older versions of 3.
(acked on jabber)
Tomek Mrugalski [Thu, 29 Nov 2012 16:30:50 +0000 (17:30 +0100)]
[2325] Option::equal() method implemented.
Tomek Mrugalski [Thu, 29 Nov 2012 15:53:37 +0000 (16:53 +0100)]
[2325] Option::equal() method implemented.
Jelte Jansen [Thu, 29 Nov 2012 15:35:53 +0000 (16:35 +0100)]
[master] Update changelog for merge of #2398
Tomek Mrugalski [Thu, 29 Nov 2012 15:33:52 +0000 (16:33 +0100)]
[2325] Pkt6::getOptions() implemented.
Marcin Siodelski [Thu, 29 Nov 2012 15:17:57 +0000 (16:17 +0100)]
[2491] Added a function to write/read FQDN to/from buffer.
Tomek Mrugalski [Thu, 29 Nov 2012 14:37:05 +0000 (15:37 +0100)]
[2325] Dhcpv6Srv::serverReceivedPacketName() -> Pkt6::getName()
Jelte Jansen [Thu, 29 Nov 2012 14:31:45 +0000 (15:31 +0100)]
[master] Merge branch 'trac2398'
Marcin Siodelski [Thu, 29 Nov 2012 13:45:29 +0000 (14:45 +0100)]
[master] ChangeLog entry for #2312.
Jelte Jansen [Thu, 29 Nov 2012 11:05:05 +0000 (12:05 +0100)]
[master] Merge branch 'trac2374'
Jelte Jansen [Thu, 29 Nov 2012 11:04:04 +0000 (12:04 +0100)]
[2374] Some last cleanups
- reduced a line that was 1 character too long
- flipped order of check with isdigit()
- renamed Token::NUMBER_RANGE to Token::NUMBER_OUT_OF_RANGE
Mukund Sivaraman [Thu, 29 Nov 2012 10:55:52 +0000 (16:25 +0530)]
[2497] Move create() definition to .cc file
Marcin Siodelski [Wed, 28 Nov 2012 14:13:48 +0000 (15:13 +0100)]
[2491] Added definitions for standard DHCPv6 options up to code 48.
Marcin Siodelski [Thu, 29 Nov 2012 10:03:05 +0000 (11:03 +0100)]
[master] Merge branch 'trac2312'
Marcin Siodelski [Thu, 29 Nov 2012 09:16:34 +0000 (10:16 +0100)]
[2312] Added missing check for empty vector.
Marcin Siodelski [Thu, 29 Nov 2012 08:41:52 +0000 (09:41 +0100)]
[master] Merge branch 'trac2365'
JINMEI Tatuya [Thu, 29 Nov 2012 04:00:47 +0000 (20:00 -0800)]
[2157] Merge branch 'trac2157_2' of ssh://git.bind10.isc.org/var/bind10/git/bind10 into trac2157-2
JINMEI Tatuya [Thu, 29 Nov 2012 04:00:00 +0000 (20:00 -0800)]
[2157] editorial fixes: corrected typo; rm space for param spec; indent.
Mukund Sivaraman [Thu, 29 Nov 2012 02:47:55 +0000 (08:17 +0530)]
[2353] Use assertRaises() instead of the excessive code
Mukund Sivaraman [Thu, 29 Nov 2012 02:44:18 +0000 (08:14 +0530)]
[2353] Check an environment string in BoB.start_msgq() test
Mukund Sivaraman [Thu, 29 Nov 2012 02:41:51 +0000 (08:11 +0530)]
[2353] Check BoB.get_processes() return value as a list
Mukund Sivaraman [Thu, 29 Nov 2012 02:35:33 +0000 (08:05 +0530)]
[2353] Use assertIn() in some places
Mukund Sivaraman [Thu, 29 Nov 2012 02:32:39 +0000 (08:02 +0530)]
[2353] Check BoB.components_to_restart as a list
Mukund Sivaraman [Thu, 29 Nov 2012 02:28:15 +0000 (07:58 +0530)]
[2353] Update syntax used, combining two statements into one
Mukund Sivaraman [Thu, 29 Nov 2012 02:27:16 +0000 (07:57 +0530)]
[2353] Rewrite code that depended on BoB.start_ccsession() returning a value
Mukund Sivaraman [Thu, 29 Nov 2012 02:22:37 +0000 (07:52 +0530)]
[2353] Don't run block of code when requested not to by unittests
Mukund Sivaraman [Thu, 29 Nov 2012 02:10:51 +0000 (07:40 +0530)]
[2353] Use a flag instead of overriding BoB.wait_time
Mukund Sivaraman [Thu, 29 Nov 2012 01:42:10 +0000 (07:12 +0530)]
[2353] Add description for BoB._make_process_info()
Mukund Sivaraman [Thu, 29 Nov 2012 01:24:34 +0000 (06:54 +0530)]
[2353] Use a flag instead of overriding BoB.msgq_timeout
Mukund Sivaraman [Thu, 29 Nov 2012 00:19:01 +0000 (05:49 +0530)]
[2450] Minor wrapping update
Mukund Sivaraman [Thu, 29 Nov 2012 00:18:05 +0000 (05:48 +0530)]
[2450] Update to include any other linker cache config file
Mukund Sivaraman [Thu, 29 Nov 2012 00:13:10 +0000 (05:43 +0530)]
[2450] Update library path taking prefix into account
Mukund Sivaraman [Thu, 29 Nov 2012 00:11:38 +0000 (05:41 +0530)]
[2450] Remove ldconfig instruction from quickstart section
JINMEI Tatuya [Wed, 28 Nov 2012 22:06:36 +0000 (14:06 -0800)]
[2420] added note about current limitation of adding rrset and sig separately.
JINMEI Tatuya [Wed, 28 Nov 2012 21:40:46 +0000 (13:40 -0800)]
[2420] unify destroying zone data and leak check in the test dtor
Jelte Jansen [Wed, 28 Nov 2012 19:39:07 +0000 (19:39 +0000)]
[master] Fix sunstudio error and warnings
- add std:: to strerror calls
- clean up and const_cast long_options array