]>
git.ipfire.org Git - thirdparty/kea.git/log
Marcin Siodelski [Wed, 31 Oct 2012 20:16:21 +0000 (21:16 +0100)]
[2417] Creating definitions for critical standard DHCPv6 options.
Tomek Mrugalski [Wed, 31 Oct 2012 17:33:53 +0000 (18:33 +0100)]
[2414] Compilation fix on Mac OS
Tomek Mrugalski [Wed, 31 Oct 2012 17:33:39 +0000 (18:33 +0100)]
[2414] Test for Dhcpv6Srv.createStatusCode() implemented
JINMEI Tatuya [Wed, 31 Oct 2012 15:08:48 +0000 (08:08 -0700)]
[2213] cleanup: removed a now-obsolete comment.
Jeremy C. Reed [Wed, 31 Oct 2012 12:55:00 +0000 (07:55 -0500)]
[master] remove unused code, reported by Clang Static Analyzer
from Clang Static Analyzer:
Dead Increment
Value stored to 'argv' is never read
(This was just a step that is commonly used per getopt docs.)
Okayed via jabber.
Jelte Jansen [Wed, 31 Oct 2012 09:59:00 +0000 (10:59 +0100)]
[2213] more review comments
bit of code cleanup around ifs, removed now obsolete log message
Marcin Siodelski [Wed, 31 Oct 2012 08:56:28 +0000 (09:56 +0100)]
[master] Merge branch 'trac2318'
Marcin Siodelski [Wed, 31 Oct 2012 08:37:36 +0000 (09:37 +0100)]
[2318] Minor: options accessor in Subnet made const.
Mukund Sivaraman [Wed, 31 Oct 2012 07:34:03 +0000 (13:04 +0530)]
[2369] Use createSreamName() from #2371 instead of using sprintf()
Mukund Sivaraman [Wed, 31 Oct 2012 07:12:02 +0000 (12:42 +0530)]
[2369] Fix vector::erase() call in InputSource
The single-argument variant of vector::erase() deletes just one element
of the vector, not an entire range. Tests have been fixed to check
that the range from start to the current buffer position is dropped
correctly.
Mukund Sivaraman [Wed, 31 Oct 2012 05:23:31 +0000 (10:53 +0530)]
[2369] Add InputSource::compact() method
JINMEI Tatuya [Wed, 31 Oct 2012 04:24:39 +0000 (21:24 -0700)]
[2157-2] style: indentation fix
JINMEI Tatuya [Wed, 31 Oct 2012 03:50:49 +0000 (20:50 -0700)]
[2157-2] style: () for return
Marcin Siodelski [Tue, 30 Oct 2012 19:44:32 +0000 (20:44 +0100)]
[2318] Test for very low negative value removed.
Test was wrong because fromJSON function filters out low numbers anyway
and caused exception when preparing the data for the unit test.
Tomek Mrugalski [Tue, 30 Oct 2012 18:16:55 +0000 (19:16 +0100)]
[2414] Allocation Engine is now used in dhcp6_srv.
Tomek Mrugalski [Tue, 30 Oct 2012 17:59:50 +0000 (18:59 +0100)]
[2414] IfaceMgr now binds link-local addresses only.
Tomek Mrugalski [Tue, 30 Oct 2012 17:56:19 +0000 (18:56 +0100)]
[2414] dhcp6_srv tests now use defines from dhcp/duid.h
Marcin Siodelski [Tue, 30 Oct 2012 17:42:16 +0000 (18:42 +0100)]
[2318] Removed function that searches for options using option code.
The index object used to get the range of searched options was local
to the function and when returned from it search results were destroyed
along with index (Mac, Solaris only). The alternative solution to
copy results to another container was not picked due to performance
considerations.
Tomek Mrugalski [Tue, 30 Oct 2012 17:31:41 +0000 (18:31 +0100)]
[2414] CfgMgr now returns a subnet if a client is local.
Tomek Mrugalski [Tue, 30 Oct 2012 17:22:50 +0000 (18:22 +0100)]
[2414] DUID toText() implemented.
Tomek Mrugalski [Tue, 30 Oct 2012 17:19:50 +0000 (18:19 +0100)]
[2414] get(), toText() descriptions updated.
Tomek Mrugalski [Tue, 30 Oct 2012 17:08:16 +0000 (18:08 +0100)]
[2414] T1, T2 fix in Optio6_IA
Tomek Mrugalski [Tue, 30 Oct 2012 17:07:53 +0000 (18:07 +0100)]
[2414] toText() and get() implemented in Subnet
JINMEI Tatuya [Tue, 30 Oct 2012 17:01:02 +0000 (10:01 -0700)]
[2213] style cleanup: combine short lines
Tomek Mrugalski [Tue, 30 Oct 2012 16:02:11 +0000 (17:02 +0100)]
[2414] getLease6(duid, iaid, subnet_id) implemented in memfile backend
Tomek Mrugalski [Tue, 30 Oct 2012 15:53:10 +0000 (16:53 +0100)]
[2414] Duid types moved to dhcp/duid.h
Jelte Jansen [Tue, 30 Oct 2012 14:32:00 +0000 (15:32 +0100)]
[master] fix HOME error in bindctl_test
discussed on jabber
Jelte Jansen [Tue, 30 Oct 2012 13:19:23 +0000 (14:19 +0100)]
[master] remove conflicting and unused 'using' directive
This should fix the issue reported by the solaris-gcc builder
Michal 'vorner' Vaner [Tue, 30 Oct 2012 12:41:55 +0000 (13:41 +0100)]
[2383] Append the origin if relative
Add the origin to the parsed name if the parsed name is relative. Also,
add the checks for the combined length and fix a test for them.
Mukund Sivaraman [Tue, 30 Oct 2012 12:18:08 +0000 (17:48 +0530)]
[master] Check IPv6 mask length
Marcin Siodelski [Tue, 30 Oct 2012 11:35:19 +0000 (12:35 +0100)]
[2318] Minor changes in comments, suggested in the code review.
Michal 'vorner' Vaner [Tue, 30 Oct 2012 11:28:13 +0000 (12:28 +0100)]
[2383] Check origin is provided when needed
When the name passed in the string is relative, we need to have the
origin to complete the name with.
Jelte Jansen [Tue, 30 Oct 2012 11:27:10 +0000 (12:27 +0100)]
[2213] address review comments
- add comments about hardcoded class default
- removed AuthSrv::loadZone() again
- more data integrity checks in datasrc clients mgr loadZone handler
Michal 'vorner' Vaner [Tue, 30 Oct 2012 11:23:10 +0000 (12:23 +0100)]
[2383] Check the constructor gets some data
It is invalid input if no data is passed.
Michal 'vorner' Vaner [Tue, 30 Oct 2012 10:39:22 +0000 (11:39 +0100)]
[2383] Basic parsing in the new Name constructor
We only call the same parsing as from within the old constructor. No
appending of origin is done. Also, no checking some data came, so the
tests not only fail, but also segfault.
Michal 'vorner' Vaner [Tue, 30 Oct 2012 10:13:15 +0000 (11:13 +0100)]
[2383] Extract name parser to separate function
This way it can be reused by the about to be new constructor.
Marcin Siodelski [Tue, 30 Oct 2012 09:21:08 +0000 (10:21 +0100)]
[2318] Changes suggested in the code review.
Naoki Kambe [Mon, 29 Oct 2012 11:41:20 +0000 (20:41 +0900)]
[2298] add a test for sorting
Naoki Kambe [Mon, 29 Oct 2012 11:54:19 +0000 (20:54 +0900)]
[2298] in case of dict change the way to sort by key name
Naoki Kambe [Tue, 30 Oct 2012 09:14:49 +0000 (18:14 +0900)]
[2298] add comments in test_item_name_list()
Naoki Kambe [Tue, 30 Oct 2012 09:00:44 +0000 (18:00 +0900)]
[2298] update the docstring of item_name_list()
Yoshitaka Aharen [Tue, 30 Oct 2012 07:38:10 +0000 (16:38 +0900)]
Merge branch 'master' into trac2155_2
Conflicts:
doc/Doxyfile
src/bin/auth/Makefile.am
src/bin/auth/benchmarks/Makefile.am
src/bin/auth/statistics.h
src/bin/auth/tests/Makefile.am
src/bin/auth/tests/auth_srv_unittest.cc
Mukund Sivaraman [Tue, 30 Oct 2012 07:23:46 +0000 (12:53 +0530)]
[2369] Add API documentation for InputSource
Mukund Sivaraman [Tue, 30 Oct 2012 07:09:38 +0000 (12:39 +0530)]
[2369] Make InputSource manage opening files internally
JINMEI Tatuya [Tue, 30 Oct 2012 03:23:23 +0000 (20:23 -0700)]
[2371] define and initialize Token for the lexer.
not actually needed in this branch, but it will clarify the idea of
how it will be used in later tasks.
JINMEI Tatuya [Tue, 30 Oct 2012 03:20:39 +0000 (20:20 -0700)]
[2371] documentation updates
JINMEI Tatuya [Tue, 30 Oct 2012 02:37:30 +0000 (19:37 -0700)]
[2371] catch NULL filename
JINMEI Tatuya [Tue, 30 Oct 2012 02:25:55 +0000 (19:25 -0700)]
[2371] tested the nested open operation. no need to change impl.
JINMEI Tatuya [Tue, 30 Oct 2012 00:33:39 +0000 (17:33 -0700)]
[2371] supported close() method
JINMEI Tatuya [Tue, 30 Oct 2012 00:26:11 +0000 (17:26 -0700)]
[2371] supported open(filename) method
JINMEI Tatuya [Tue, 30 Oct 2012 00:10:26 +0000 (17:10 -0700)]
[2371] implemented initial framework of MasterLexer and some methods
JINMEI Tatuya [Mon, 29 Oct 2012 21:26:50 +0000 (14:26 -0700)]
[master] Merge branch 'trac2370'
JINMEI Tatuya [Mon, 29 Oct 2012 21:26:28 +0000 (14:26 -0700)]
[2370] added some comments about numeber types
JINMEI Tatuya [Mon, 29 Oct 2012 21:17:39 +0000 (14:17 -0700)]
[master] changelog for #2297
JINMEI Tatuya [Mon, 29 Oct 2012 21:08:11 +0000 (14:08 -0700)]
[master] Merge branch 'trac2297'
JINMEI Tatuya [Mon, 29 Oct 2012 20:45:06 +0000 (20:45 +0000)]
[master] add std:: for memcpy. need this for sunstudio/solaris to build.
JINMEI Tatuya [Mon, 29 Oct 2012 19:54:02 +0000 (19:54 +0000)]
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
JINMEI Tatuya [Mon, 29 Oct 2012 19:53:19 +0000 (19:53 +0000)]
[master] avoid 'using namespace boost' due to definition conflicts
Stephen Morris [Mon, 29 Oct 2012 19:19:36 +0000 (19:19 +0000)]
[2342] Added updateLease6 capability
... where the elase is selected by address only.
Tomek Mrugalski [Mon, 29 Oct 2012 18:52:12 +0000 (19:52 +0100)]
[master] CfgMgr.subnet6 test disabled
This test is affected by recently added AllocEngine tests. They
will be fixed shortly, but until that happens, CfgMgr.subnet6
test will remain disabled.
Michal 'vorner' Vaner [Mon, 29 Oct 2012 18:45:06 +0000 (19:45 +0100)]
[2383] Cover the new Name constructor with tests
Hopefully this is all of the functionality to be tested. It does
compile, but not link, since the new constructor has only header, the
body is not written yet (not even empty one).
JINMEI Tatuya [Mon, 29 Oct 2012 18:09:06 +0000 (11:09 -0700)]
[2213] cleanup: removed now-unused functions
this also fixes build failure for some compilers.
JINMEI Tatuya [Mon, 29 Oct 2012 18:07:06 +0000 (11:07 -0700)]
[2213] style cleanup: removed a redundant blank line at EOF
JINMEI Tatuya [Mon, 29 Oct 2012 18:00:33 +0000 (11:00 -0700)]
[master] sync with the latest datasrc on result code of getCachedZoneWriter().
JINMEI Tatuya [Mon, 29 Oct 2012 17:50:54 +0000 (10:50 -0700)]
[master] Merge branch 'trac2212-2'
Michal 'vorner' Vaner [Mon, 29 Oct 2012 17:18:06 +0000 (18:18 +0100)]
[2383] Header of the Name constructor for parser
The master file parser will need a special Name constructor for
reasonable performance and for convenience/clarity of its code.
Introduce the header for the constructor, a new exception for it and
documentation.
Tomek Mrugalski [Mon, 29 Oct 2012 17:13:54 +0000 (18:13 +0100)]
[master] unittest fix CfgMgr.getSubnet6()
Jelte Jansen [Mon, 29 Oct 2012 15:11:16 +0000 (16:11 +0100)]
[2213] add test for AuthSrv::loadZone()
Jelte Jansen [Mon, 29 Oct 2012 15:02:53 +0000 (16:02 +0100)]
[2213] command does not need own catch
Jelte Jansen [Mon, 29 Oct 2012 14:27:39 +0000 (15:27 +0100)]
[2213] fix test
Stephen Morris [Mon, 29 Oct 2012 13:43:31 +0000 (13:43 +0000)]
[2342] Address comments in second review.
Jelte Jansen [Fri, 26 Oct 2012 12:23:49 +0000 (14:23 +0200)]
[2213] Initial version of loadZone() support with new threaded structure
Michal 'vorner' Vaner [Mon, 29 Oct 2012 12:38:51 +0000 (13:38 +0100)]
Merge #2209
Introduction of the ConfigurableClientList::getCachedZoneWriter() method.
Michal 'vorner' Vaner [Mon, 29 Oct 2012 12:28:15 +0000 (13:28 +0100)]
[2209] Comment about assert
Michal 'vorner' Vaner [Mon, 29 Oct 2012 12:23:51 +0000 (13:23 +0100)]
[2209] Remove unused memory segment
Michal 'vorner' Vaner [Mon, 29 Oct 2012 12:21:53 +0000 (13:21 +0100)]
[2209] Rename DataSourceInfo::segment_
To ztable_segment_. The previous could be misunderstood, we have other
segments too.
Naoki Kambe [Mon, 29 Oct 2012 11:55:44 +0000 (20:55 +0900)]
[2298] use '%d' in formatting an integer instead of '%s'
Tomek Mrugalski [Mon, 29 Oct 2012 12:18:27 +0000 (13:18 +0100)]
[master] Merge branch 'trac2324' (DHCPv6 allocation engine)
Conflicts:
ChangeLog
src/lib/dhcp/subnet.cc
src/lib/dhcp/subnet.h
src/lib/dhcp/tests/subnet_unittest.cc
Naoki Kambe [Mon, 29 Oct 2012 11:43:23 +0000 (20:43 +0900)]
[2298] It was ok to assume the argument identifier to be a string
Marcin Siodelski [Mon, 29 Oct 2012 11:53:17 +0000 (12:53 +0100)]
[2318] Implemented global options configuration.
Tomek Mrugalski [Mon, 29 Oct 2012 11:02:24 +0000 (12:02 +0100)]
[2324] Changes after review (including compilation fixes for Sol, Fedora and Mac OS)
Marcin Siodelski [Mon, 29 Oct 2012 10:06:32 +0000 (11:06 +0100)]
[2318] Added global option values in dhcp6 spec.
Mukund Sivaraman [Mon, 29 Oct 2012 04:15:52 +0000 (09:45 +0530)]
[2369] Check saveLine() + ungetAll()
Mukund Sivaraman [Mon, 29 Oct 2012 03:05:20 +0000 (08:35 +0530)]
[2369] Throw a custom exception in ungetChar()
Mukund Sivaraman [Mon, 29 Oct 2012 02:58:53 +0000 (08:28 +0530)]
[2369] Update comment, whitespace
Mukund Sivaraman [Mon, 29 Oct 2012 02:47:40 +0000 (08:17 +0530)]
[2369] Check as much as possible that line numbers are decremented correctly
Mukund Sivaraman [Mon, 29 Oct 2012 02:41:06 +0000 (08:11 +0530)]
[2369] Fix test, skipping backwards before doing newline check
Tomek Mrugalski [Mon, 29 Oct 2012 00:07:06 +0000 (01:07 +0100)]
[2324] Compilation fix on Mac OS 10.6
JINMEI Tatuya [Sun, 28 Oct 2012 19:13:36 +0000 (12:13 -0700)]
[master] editorial cleanup: removed a redundant white space
trivial, directly committing.
Mukund Sivaraman [Sun, 28 Oct 2012 17:11:41 +0000 (22:41 +0530)]
[2297] Make minor comment update
Mukund Sivaraman [Sun, 28 Oct 2012 15:17:11 +0000 (20:47 +0530)]
Merge branch 'master' into trac2360
JINMEI Tatuya [Sat, 27 Oct 2012 05:28:51 +0000 (22:28 -0700)]
[2370] make MasterLexerTokenTest members protected (not public) by convention
JINMEI Tatuya [Sat, 27 Oct 2012 00:22:01 +0000 (17:22 -0700)]
[2370] comment wording fix
JINMEI Tatuya [Sat, 27 Oct 2012 00:11:26 +0000 (17:11 -0700)]
[2370] overall documentation updates
JINMEI Tatuya [Fri, 26 Oct 2012 23:01:34 +0000 (16:01 -0700)]
[2370] separate error type token to support error code
JINMEI Tatuya [Fri, 26 Oct 2012 21:39:53 +0000 (14:39 -0700)]
[2370] introduced error codes for ERROR-type token
JINMEI Tatuya [Fri, 26 Oct 2012 21:23:16 +0000 (14:23 -0700)]
[2370] cleanup: move the def of Token class out of Lexer for readability.
Michal 'vorner' Vaner [Fri, 26 Oct 2012 19:10:06 +0000 (21:10 +0200)]
[2209] Fix test after code update
The test faked some internal state in an insufficient way.
Michal 'vorner' Vaner [Fri, 26 Oct 2012 18:47:18 +0000 (20:47 +0200)]
[2209] Store the segment in client list
So the memory client doesn't have to provide an interface to return it.
It was hairy to some extent.
JINMEI Tatuya [Fri, 26 Oct 2012 18:37:58 +0000 (11:37 -0700)]
[2370] added some more tests, comment fixes