]>
git.ipfire.org Git - thirdparty/kea.git/log
Mukund Sivaraman [Wed, 5 Dec 2012 05:42:17 +0000 (11:12 +0530)]
[2353] Test the env string in various tests
Mukund Sivaraman [Wed, 5 Dec 2012 05:38:54 +0000 (11:08 +0530)]
[2353] Test the values of component registered by BoB.register_process()
Mukund Sivaraman [Wed, 5 Dec 2012 05:31:30 +0000 (11:01 +0530)]
[2353] Make test more deterministic
JINMEI Tatuya [Wed, 5 Dec 2012 04:00:31 +0000 (20:00 -0800)]
[2442] simplified interface; txt-like ctor only needs to take lexer.
JINMEI Tatuya [Wed, 5 Dec 2012 03:52:22 +0000 (19:52 -0800)]
[2442] documentation updates
JINMEI Tatuya [Wed, 5 Dec 2012 03:30:15 +0000 (19:30 -0800)]
[2442] test for escaped characters
JINMEI Tatuya [Wed, 5 Dec 2012 03:26:40 +0000 (19:26 -0800)]
[2442] rejected extra \n for std::string version of txt-like ctor.
JINMEI Tatuya [Wed, 5 Dec 2012 03:16:29 +0000 (19:16 -0800)]
[2442] added a test case for multi-line text input
JINMEI Tatuya [Wed, 5 Dec 2012 03:10:57 +0000 (19:10 -0800)]
[2442] reject empty text input; adjuted one test case accordingly
JINMEI Tatuya [Wed, 5 Dec 2012 02:56:04 +0000 (18:56 -0800)]
[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.
JINMEI Tatuya [Tue, 4 Dec 2012 22:51:45 +0000 (14:51 -0800)]
[2442] added some test cases for txt-like rdata with multi-char-string
Marcin Siodelski [Tue, 4 Dec 2012 22:07:30 +0000 (23:07 +0100)]
[2491] Corrected the type of reference data.
With this fix we avoid narrowing conversion from signed to unsigned value.
JINMEI Tatuya [Tue, 4 Dec 2012 21:54:16 +0000 (13:54 -0800)]
[2442] make sure from-string version still throws InvalidRdataText on error.
Marcin Siodelski [Tue, 4 Dec 2012 20:33:57 +0000 (21:33 +0100)]
[2479] Remove unnecessary assignment.
Marcin Siodelski [Tue, 4 Dec 2012 20:03:56 +0000 (21:03 +0100)]
[2479] Renabled tests that were affected by invalid paths to testdata.
Marcin Siodelski [Tue, 4 Dec 2012 19:56:17 +0000 (20:56 +0100)]
[2479] Use an absolute path to testdata directory.
Marcin Siodelski [Tue, 4 Dec 2012 19:29:20 +0000 (20:29 +0100)]
[2479] Moved perfdhcp/template folder to perfdhcp/tests/testdata.
JINMEI Tatuya [Tue, 4 Dec 2012 18:56:50 +0000 (10:56 -0800)]
[2445] corrected copyright years for new files
JINMEI Tatuya [Tue, 4 Dec 2012 18:18:48 +0000 (10:18 -0800)]
[master] resolve additional conflicts due to change of token class name
JINMEI Tatuya [Tue, 4 Dec 2012 17:58:54 +0000 (09:58 -0800)]
[master] Merge branch 'trac2506'
Jelte Jansen [Tue, 4 Dec 2012 17:34:59 +0000 (09:34 -0800)]
[2445] Make sure buffer is flushed in dhcp[46] stand-alone
even when -s was not given but it reverts to standalone because of a session error
JINMEI Tatuya [Tue, 4 Dec 2012 17:27:49 +0000 (09:27 -0800)]
[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.
Stephen Morris [Tue, 4 Dec 2012 17:27:27 +0000 (17:27 +0000)]
[2513] Move libdhcpsrv.dox to the dhcpsrv directory
JINMEI Tatuya [Tue, 4 Dec 2012 17:22:44 +0000 (09:22 -0800)]
[2382] added one suggested test: a case where RDATA is followed by comment
JINMEI Tatuya [Tue, 4 Dec 2012 17:18:03 +0000 (09:18 -0800)]
[2382] unify pushing '\0' for number-like data in Number::handle()
JINMEI Tatuya [Tue, 4 Dec 2012 17:10:56 +0000 (09:10 -0800)]
[2382] corrected typo in doc for createRdata()
Tomek Mrugalski [Tue, 4 Dec 2012 16:21:13 +0000 (17:21 +0100)]
[2325] ChangeLog updated.
Tomek Mrugalski [Tue, 4 Dec 2012 13:41:06 +0000 (14:41 +0100)]
Merge remote-tracking branch 'origin/trac2325' into trac2325
Stephen Morris [Tue, 4 Dec 2012 13:23:07 +0000 (13:23 +0000)]
[2396] Add methods to IOAddress: toBytes(), isV4() and isV6()
Tomek Mrugalski [Tue, 4 Dec 2012 12:49:04 +0000 (13:49 +0100)]
[2325] Remaining tests for RENEW implemented.
Tomek Mrugalski [Tue, 4 Dec 2012 12:46:41 +0000 (13:46 +0100)]
[2325] Option6IA::setIAID() implemented.
Michal 'vorner' Vaner [Mon, 26 Nov 2012 17:54:44 +0000 (18:54 +0100)]
[2378] Very basic test for copy between data sources
This is test for the ZoneLoader and its variant for testing copying
between two data sources. It includes some testing setups and mocks to
be reused in following tests.
Doesn't compile, undefined references to the tested methods.
Michal 'vorner' Vaner [Mon, 26 Nov 2012 15:56:42 +0000 (16:56 +0100)]
[2378] Interface of the ZoneLoader
Including documentation.
Marcin Siodelski [Tue, 4 Dec 2012 12:15:45 +0000 (13:15 +0100)]
[2491] Corrected invalid initializer.
Michal 'vorner' Vaner [Tue, 4 Dec 2012 12:01:20 +0000 (13:01 +0100)]
[2377] Defence of MasterLoader
Reject invalid parameters and invalid attempts to load twice.
Marcin Siodelski [Tue, 4 Dec 2012 11:59:31 +0000 (12:59 +0100)]
[2491] A few more comments added to a dhcp6_srv.cc.
Marcin Siodelski [Tue, 4 Dec 2012 11:52:36 +0000 (12:52 +0100)]
[2491] Added a few comments.
Marcin Siodelski [Tue, 4 Dec 2012 11:34:47 +0000 (12:34 +0100)]
[2491] Added some more negative test cases to option_data_types_unittest.
Stephen Morris [Tue, 4 Dec 2012 11:32:08 +0000 (11:32 +0000)]
[2404] Updated comments etc.
Michal 'vorner' Vaner [Tue, 4 Dec 2012 11:09:36 +0000 (12:09 +0100)]
[2377] Documentation for MasterLoader
Marcin Siodelski [Tue, 4 Dec 2012 11:06:18 +0000 (12:06 +0100)]
[2491] Added some missing unit tests.
Michal 'vorner' Vaner [Tue, 4 Dec 2012 10:43:20 +0000 (11:43 +0100)]
[2377] Handle expected errors
By catching all exceptions. It is questionable, if we want to do it that
way, but it seems to work at least for now.
Michal 'vorner' Vaner [Tue, 4 Dec 2012 10:09:18 +0000 (11:09 +0100)]
[2377] Fix paths to test files
Mukund Sivaraman [Tue, 4 Dec 2012 07:37:58 +0000 (13:07 +0530)]
[master] Remove unnecessary namespace import
JINMEI Tatuya [Tue, 4 Dec 2012 07:21:06 +0000 (23:21 -0800)]
[2442] unified from std::string and with lexer ctro for text-like rdata.
some tests needed to be adjusted:
- ' ' * 256 (in python) now doesn't work as intended; they are considered
space
- in auth tests, make sure txt RDATA containing a space is explicitly double
quoted
- in Rdata_TXT_LIKE_Test::createFromText, removed the last test case because
it's actually a valid representation as commented. now the implementation
correctly accepts it.
JINMEI Tatuya [Tue, 4 Dec 2012 07:16:14 +0000 (23:16 -0800)]
[master] removed duplicate listing of the same header file
JINMEI Tatuya [Tue, 4 Dec 2012 07:10:52 +0000 (23:10 -0800)]
[master] added master_XXX header files include_HEADERS for libdns++
these are (indirectly) necessary for building external programs.
Mukund Sivaraman [Tue, 4 Dec 2012 06:22:38 +0000 (11:52 +0530)]
[master] Sort .gitignore
Mukund Sivaraman [Tue, 4 Dec 2012 06:22:19 +0000 (11:52 +0530)]
[master] Update .gitignore files
JINMEI Tatuya [Tue, 4 Dec 2012 05:51:39 +0000 (21:51 -0800)]
[2442] tested various cases for the lexer verson of txt-like ctor
JINMEI Tatuya [Tue, 4 Dec 2012 04:59:06 +0000 (20:59 -0800)]
[2442] supported lexer version of constructor for TXTLike RR types
it's incomplete, but pass some tests
JINMEI Tatuya [Tue, 4 Dec 2012 04:01:45 +0000 (20:01 -0800)]
[2442] updated some TXT-like test data without using intermediate space.
when we migrate the complete lexer version, this will cause confusion:
the lexer will consider the space as a separater.
JINMEI Tatuya [Mon, 3 Dec 2012 22:34:23 +0000 (14:34 -0800)]
[2442] (unrelated) cleanup: use propoer namespace and avoid 'using namespace'
JINMEI Tatuya [Sat, 1 Dec 2012 07:50:33 +0000 (23:50 -0800)]
[2442] handled various corner cases
JINMEI Tatuya [Sat, 1 Dec 2012 05:59:52 +0000 (21:59 -0800)]
[2442] added minimum definition for strToCharString and tests
JINMEI Tatuya [Tue, 4 Dec 2012 02:29:37 +0000 (18:29 -0800)]
[2497] some suggested editorial cleanups: long line, identation, better e.g.
Mukund Sivaraman [Mon, 3 Dec 2012 23:22:54 +0000 (04:52 +0530)]
[2497] Apply generic rules to class IN too
Mukund Sivaraman [Mon, 3 Dec 2012 23:14:34 +0000 (04:44 +0530)]
[2497] Add a direct HINFO testcase for the string parser
Mukund Sivaraman [Mon, 3 Dec 2012 22:53:36 +0000 (04:23 +0530)]
[2497] Fix HINFO parsing in the string parser
The lexer variant also uses the string parser eventually (for now).
Mukund Sivaraman [Mon, 3 Dec 2012 22:43:57 +0000 (04:13 +0530)]
[2497] Return whether the string is quoted in characterstr::getNextCharacterString()
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 [Tue, 4 Dec 2012 04:46:23 +0000 (10:16 +0530)]
Merge branch 'master' into trac2497
JINMEI Tatuya [Tue, 4 Dec 2012 02:29:37 +0000 (18:29 -0800)]
[2497] some suggested editorial cleanups: long line, identation, better e.g.
Mukund Sivaraman [Mon, 3 Dec 2012 23:22:54 +0000 (04:52 +0530)]
[2497] Apply generic rules to class IN too
Mukund Sivaraman [Mon, 3 Dec 2012 23:14:34 +0000 (04:44 +0530)]
[2497] Add a direct HINFO testcase for the string parser
Mukund Sivaraman [Mon, 3 Dec 2012 22:53:36 +0000 (04:23 +0530)]
[2497] Fix HINFO parsing in the string parser
The lexer variant also uses the string parser eventually (for now).
Mukund Sivaraman [Mon, 3 Dec 2012 22:43:57 +0000 (04:13 +0530)]
[2497] Return whether the string is quoted in characterstr::getNextCharacterString()
JINMEI Tatuya [Mon, 3 Dec 2012 21:41:33 +0000 (13:41 -0800)]
[2506] add another test for getting numbers
JINMEI Tatuya [Mon, 3 Dec 2012 21:38:01 +0000 (13:38 -0800)]
[2506] add some comments of how eolCheck() works, and unify skipping 2nd \n.
Stephen Morris [Mon, 3 Dec 2012 21:23:48 +0000 (21:23 +0000)]
[2404] Extending test cases as the result of review
JINMEI Tatuya [Mon, 3 Dec 2012 19:20:53 +0000 (11:20 -0800)]
[2445] constify
Tomek Mrugalski [Mon, 3 Dec 2012 19:07:24 +0000 (20:07 +0100)]
[2325] Renew support implemented.
Marcin Siodelski [Mon, 3 Dec 2012 19:07:22 +0000 (20:07 +0100)]
[2491] Unit test to verify that writting and reading IP address works.
JINMEI Tatuya [Mon, 3 Dec 2012 19:02:35 +0000 (11:02 -0800)]
[2445] style fix: folded a long line
Marcin Siodelski [Mon, 3 Dec 2012 18:36:31 +0000 (19:36 +0100)]
[2491] Use different constructor to pass empty buffer.
Marcin Siodelski [Mon, 3 Dec 2012 18:14:57 +0000 (19:14 +0100)]
[2491] Better comments in createStatusCode function.
Marcin Siodelski [Mon, 3 Dec 2012 15:55:16 +0000 (16:55 +0100)]
[2491] Create Status Code option using an option definition.
Stephen Morris [Mon, 3 Dec 2012 15:35:36 +0000 (15:35 +0000)]
[2404] More changes as a result of review
Including:
* Updates to comments etc.
* Addition of Lease4::operator==() (and associated unit tests)
Tomek Mrugalski [Mon, 3 Dec 2012 15:30:22 +0000 (16:30 +0100)]
[2325] Sanity checks for DHCPv6 server implemented.
Marcin Siodelski [Mon, 3 Dec 2012 15:10:01 +0000 (16:10 +0100)]
[2491] Added unit test to check overriding record field values.
Michal 'vorner' Vaner [Mon, 3 Dec 2012 13:43:07 +0000 (14:43 +0100)]
[2377] Test error detection
Generate several broken input and see all of them fail. Also check they
continue to parse or not according to parameters.
Marcin Siodelski [Mon, 3 Dec 2012 13:05:10 +0000 (14:05 +0100)]
[2491] Added function to add new integer data field to an option.
Michal 'vorner' Vaner [Mon, 3 Dec 2012 12:42:17 +0000 (13:42 +0100)]
[2377] Handle relative names
Tested at least on the domain names. There is no known Rdata type
implementation handling relative names right now.
Marcin Siodelski [Mon, 3 Dec 2012 12:26:14 +0000 (13:26 +0100)]
[2491] Added a function to add boolean data field to an array.
Michal 'vorner' Vaner [Mon, 3 Dec 2012 12:19:01 +0000 (13:19 +0100)]
[2377] Test skipping lines and comments
Michal 'vorner' Vaner [Mon, 3 Dec 2012 12:17:30 +0000 (13:17 +0100)]
[2377] Make incremental loading work
Michal 'vorner' Vaner [Mon, 3 Dec 2012 12:11:16 +0000 (13:11 +0100)]
[2377] Handle errors on file open
Marcin Siodelski [Mon, 3 Dec 2012 12:10:22 +0000 (13:10 +0100)]
[2491] Add IP address into an option being array of IP addresses.
Mukund Sivaraman [Mon, 3 Dec 2012 09:10:20 +0000 (14:40 +0530)]
[master] Regenerate gen-rdatacode.py when gen-rdatacode.py.in is updated
Michal 'vorner' Vaner [Mon, 3 Dec 2012 11:24:47 +0000 (12:24 +0100)]
[2377] Change the callback interface
As we pass exactly one RR each time, RRset is overkill. We just pass
bunch of parameters to the callback.
Michal 'vorner' Vaner [Mon, 3 Dec 2012 10:13:38 +0000 (11:13 +0100)]
[2377] Fix test and check error
It seemed the wrong pushSource was used due to some automatic
conversion. Also, it complained it couldn't find the file, because a
slash was missing (and nobody noticed before).
Michal 'vorner' Vaner [Mon, 3 Dec 2012 09:58:28 +0000 (10:58 +0100)]
[2377] Create Rdata
And fill it into the rrset.
Michal 'vorner' Vaner [Mon, 3 Dec 2012 10:13:28 +0000 (11:13 +0100)]
[2377] Eliminate needless variable
This was from the template in trac and it is currently not needed.
Michal 'vorner' Vaner [Fri, 30 Nov 2012 15:22:45 +0000 (16:22 +0100)]
[2377] Skeleton of the master loader
Marcin Siodelski [Mon, 3 Dec 2012 10:01:15 +0000 (11:01 +0100)]
[2491] Do not override FQDN until it is validated.
Marcin Siodelski [Mon, 3 Dec 2012 09:45:32 +0000 (10:45 +0100)]
[2491] Added a function to write fqdn into a buffer.
Michal 'vorner' Vaner [Thu, 29 Nov 2012 20:17:51 +0000 (21:17 +0100)]
[2377] Tests for actually loading something
Michal 'vorner' Vaner [Thu, 29 Nov 2012 14:10:12 +0000 (15:10 +0100)]
[2377] Add missing callback to MasterLoader
The tentative interface of the MasterLoader was missing a callback to
add RRsets.
Also, include some small changes to the interface - pass RRClass as
reference and have DEFAULT options value for no special options.