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

13916 Commits

Author SHA1 Message Date
Mukund Sivaraman
95a87b15ab [master] Update .gitignore files 2012-12-04 11:52:19 +05:30
JINMEI Tatuya
7b148d962b [2442] tested various cases for the lexer verson of txt-like ctor 2012-12-03 21:51:39 -08:00
JINMEI Tatuya
c0d55602e3 [2442] supported lexer version of constructor for TXTLike RR types
it's incomplete, but pass some tests
2012-12-03 21:07:00 -08:00
JINMEI Tatuya
9f8aabb795 [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.
2012-12-03 21:06:19 -08:00
JINMEI Tatuya
5819758217 [2442] (unrelated) cleanup: use propoer namespace and avoid 'using namespace' 2012-12-03 21:05:55 -08:00
JINMEI Tatuya
6edf83daa6 [2442] handled various corner cases 2012-12-03 21:05:55 -08:00
JINMEI Tatuya
31dd54a026 [2442] added minimum definition for strToCharString and tests 2012-12-03 21:05:55 -08:00
JINMEI Tatuya
2c9904e154 [2497] some suggested editorial cleanups: long line, identation, better e.g. 2012-12-03 21:05:54 -08:00
Mukund Sivaraman
8da8a38bcf [2497] Apply generic rules to class IN too 2012-12-03 21:05:54 -08:00
Mukund Sivaraman
5911431e8f [2497] Add a direct HINFO testcase for the string parser 2012-12-03 21:05:54 -08:00
Mukund Sivaraman
5f03da43d3 [2497] Fix HINFO parsing in the string parser
The lexer variant also uses the string parser eventually (for now).
2012-12-03 21:05:53 -08:00
Mukund Sivaraman
3ee8c9cdab [2497] Return whether the string is quoted in characterstr::getNextCharacterString() 2012-12-03 21:05:53 -08:00
Mukund Sivaraman
c0f25aade8 [2497] Remove a couple of txt tests 2012-12-03 21:05:53 -08:00
JINMEI Tatuya
3666f50858 [2497] Move repeated code to a function 2012-12-03 21:05:52 -08:00
Mukund Sivaraman
2abaf1a033 [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[]
2012-12-03 21:05:42 -08:00
Mukund Sivaraman
d5f52afdc5 Merge branch 'master' into trac2497 2012-12-04 10:16:23 +05:30
JINMEI Tatuya
203b4a0593 [2497] some suggested editorial cleanups: long line, identation, better e.g. 2012-12-03 18:29:37 -08:00
Mukund Sivaraman
20ff1f4962 [2497] Apply generic rules to class IN too 2012-12-04 04:52:54 +05:30
Mukund Sivaraman
ec24cb1c27 [2497] Add a direct HINFO testcase for the string parser 2012-12-04 04:44:34 +05:30
Mukund Sivaraman
1a2787f32f [2497] Fix HINFO parsing in the string parser
The lexer variant also uses the string parser eventually (for now).
2012-12-04 04:40:42 +05:30
Mukund Sivaraman
7237139f1b [2497] Return whether the string is quoted in characterstr::getNextCharacterString() 2012-12-04 04:13:57 +05:30
JINMEI Tatuya
2f554072bc [2506] add another test for getting numbers 2012-12-03 13:41:33 -08:00
JINMEI Tatuya
191d96a587 [2506] add some comments of how eolCheck() works, and unify skipping 2nd \n. 2012-12-03 13:38:01 -08:00
Stephen Morris
b6c480a594 [2404] Extending test cases as the result of review 2012-12-03 21:23:48 +00:00
JINMEI Tatuya
daca34509f [2445] constify 2012-12-03 11:20:53 -08:00
Tomek Mrugalski
650e0b501a [2325] Renew support implemented. 2012-12-03 20:07:24 +01:00
Marcin Siodelski
45c04beca6 [2491] Unit test to verify that writting and reading IP address works. 2012-12-03 20:07:22 +01:00
JINMEI Tatuya
0b06fc6c19 [2445] style fix: folded a long line 2012-12-03 11:02:35 -08:00
Marcin Siodelski
bc44ee8bf3 [2491] Use different constructor to pass empty buffer. 2012-12-03 19:36:31 +01:00
Marcin Siodelski
b561ee0919 [2491] Better comments in createStatusCode function. 2012-12-03 19:14:57 +01:00
Marcin Siodelski
372f3a19f5 [2491] Create Status Code option using an option definition. 2012-12-03 16:55:16 +01:00
Stephen Morris
495d4e2f69 [2404] More changes as a result of review
Including:
* Updates to comments etc.
* Addition of Lease4::operator==() (and associated unit tests)
2012-12-03 15:35:36 +00:00
Tomek Mrugalski
f634e891b2 [2325] Sanity checks for DHCPv6 server implemented. 2012-12-03 16:30:22 +01:00
Marcin Siodelski
a0662ae560 [2491] Added unit test to check overriding record field values. 2012-12-03 16:10:01 +01:00
Michal 'vorner' Vaner
0f6b84e552 [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.
2012-12-03 14:43:07 +01:00
Marcin Siodelski
10e87104e0 [2491] Added function to add new integer data field to an option. 2012-12-03 14:05:10 +01:00
Michal 'vorner' Vaner
42b0cb7bc7 [2377] Handle relative names
Tested at least on the domain names. There is no known Rdata type
implementation handling relative names right now.
2012-12-03 13:42:17 +01:00
Marcin Siodelski
6b59d1bc4f [2491] Added a function to add boolean data field to an array. 2012-12-03 13:26:14 +01:00
Michal 'vorner' Vaner
2894c45545 [2377] Test skipping lines and comments 2012-12-03 13:19:01 +01:00
Michal 'vorner' Vaner
24c515276e [2377] Make incremental loading work 2012-12-03 13:17:30 +01:00
Michal 'vorner' Vaner
cbffb4ac5b [2377] Handle errors on file open 2012-12-03 13:11:16 +01:00
Marcin Siodelski
5c50504446 [2491] Add IP address into an option being array of IP addresses. 2012-12-03 13:10:22 +01:00
Mukund Sivaraman
403af3331c [master] Regenerate gen-rdatacode.py when gen-rdatacode.py.in is updated 2012-12-03 17:08:01 +05:30
Michal 'vorner' Vaner
b548f4ed6c [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.
2012-12-03 12:24:47 +01:00
Michal 'vorner' Vaner
c90033f1d9 [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).
2012-12-03 11:22:43 +01:00
Michal 'vorner' Vaner
7e5b7f352d [2377] Create Rdata
And fill it into the rrset.
2012-12-03 11:20:09 +01:00
Michal 'vorner' Vaner
92226343e0 [2377] Eliminate needless variable
This was from the template in trac and it is currently not needed.
2012-12-03 11:19:49 +01:00
Michal 'vorner' Vaner
57fda3f1db [2377] Skeleton of the master loader 2012-12-03 11:19:49 +01:00
Marcin Siodelski
594916b524 [2491] Do not override FQDN until it is validated. 2012-12-03 11:01:15 +01:00
Marcin Siodelski
5990336237 [2491] Added a function to write fqdn into a buffer. 2012-12-03 10:45:32 +01:00