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

76 Commits

Author SHA1 Message Date
Tomek Mrugalski
0b4b438f33 [master] Merge branch 'trac3210' (DHCPv4 client-id echo config parameter)
Conflicts:
	ChangeLog
	doc/guide/bind10-guide.xml
2013-12-16 18:31:24 +01:00
Tomek Mrugalski
8f96d78420 [3210] Changes after review:
- tests/methods descriptions improved
 - CfgMgrTest.echoClientId improved
 - Redundant checks removed from Dhcpv4SrvTest.discoverEchoClientId
 - BIND10 Guide clarified
 - ChangeLog added
2013-12-13 15:47:36 +01:00
Marcin Siodelski
faea98cbf4 [3194] Merge branch 'master' into trac3194_1 2013-10-24 17:29:08 +02:00
Tomek Mrugalski
96fdb92a29 [3210] client-id echo in DHCPv4 server is now configurable 2013-10-24 14:35:28 +02:00
Tomek Mrugalski
639db0b57a [3194] Changes after review:
- config parsers updated
 - new unit-tests for vendor options written
 - libdhcp++ cleaned up
 - fixes in option_vendor.cc
 - comments added and cleaned up
2013-10-23 21:23:14 +02:00
Tomek Mrugalski
d8d20c9781 [3191] Changes after review
- default value is no longer 0.0.0.0, so global value is no longer
   overwritten with subnet-specific values
 - added 2 new unit-tests to check if the value is really set in
   server responses
 - guide updated to explain that
 - fix in Dhcp4ParserTest.nextServerNegative
2013-10-22 15:16:17 +02:00
Marcin Siodelski
0764a74e46 [3194] Implemented basic vendor options support. 2013-10-22 12:27:07 +02:00
Tomek Mrugalski
7abead307c [3191] Changes after review:
- new negative unit-test for next-server written
 - comments update (capitalized!)
 - indents corrected
 - no more raw pointers
 - ChangeLog added
2013-10-17 19:10:50 +02:00
Tomek Mrugalski
a9ec411b95 [3191] Parser is now able to parse next-server parameter 2013-10-11 20:03:40 +02:00
Stephen Morris
578910f51f [2981] Changes as a result of review. 2013-08-13 13:14:38 +01:00
Stephen Morris
e11e8c1488 [2981] Configuration changes now load and unload hooks libraries 2013-07-25 12:14:42 +01:00
Marcin Siodelski
42de7b42fd [1555] Trivial: whitespace cleanup. 2013-07-11 10:34:43 +02:00
Marcin Siodelski
ffdc326d41 [1555] Implemented configuration parameter to select interfaces for DHCPv4 2013-07-10 21:14:03 +02:00
Thomas Markwalder
2df5585f42 [2355] Cleaned up some minor issues spotted in review. 2013-05-13 16:07:02 -04:00
Thomas Markwalder
c519aa88c8 [2355] Minor changes in response to review comments. 2013-05-06 11:45:27 -04:00
Thomas Markwalder
702512a6bb [trac2355] Addressed interrim review comments, and completed remainder
of the common parser refactoring. Replaced individual global variables with
instance of new ParserContext class. Created new base classes PoolParser
and SubnetConfigParser.
2013-05-01 07:39:08 -04:00
Thomas Markwalder
53ceb71e36 [2355] Initial commit of refactoring bin/dchp4 and bin/dchp6
configuration parsing classes into a common set of classes
in lib/dhcpsrv.  Moved most of the parsers classes into
new files dhcp_parsers.h/cc. Eliminated use of global
variables within common parsers.
2013-04-10 17:02:10 -04:00
Thomas Markwalder
3b6cd417ea [2634] Addressed review comments. 2013-04-04 08:37:33 -04:00
Thomas Markwalder
ff8f84b695 [2634] Replaced DhcpConfigParser template function getParam<> with new
template class ValueStorage in lib/dhcpsrv, dhcp4, and dhcp6.  Added unit
tests for new class in dhcpsrv/tests.
2013-04-01 11:19:24 -04:00
Stephen Morris
20f1346962 [2673] Modifications to avoid clang warnings and errors in DHCP code 2013-01-31 12:16:22 +00:00
Shane Kerr
e6348b6115 Typo fixes. 2013-01-30 11:47:57 +01:00
Marcin Siodelski
91aa998226 [master] Merge branch 'trac2637'
Conflicts:
	src/bin/dhcp4/config_parser.cc
	src/bin/dhcp6/config_parser.cc
	src/lib/dhcpsrv/dhcpsrv_messages.mes
	src/lib/dhcpsrv/memfile_lease_mgr.cc
2013-01-23 08:41:38 +01:00
Marcin Siodelski
27e6119093 [master] Merge branch 'trac2314'
Conflicts:
	src/bin/dhcp6/tests/config_parser_unittest.cc
2013-01-22 19:12:58 +01:00
Stephen Morris
6c6f405188 [2559] Remove spurious commas in DHCP .spec files
Also correct error messages in the configuration parser: the
same error is logged on any parser error, both creation and
running.  The text was made more general.
2013-01-21 22:01:48 +00:00
Stephen Morris
d117d87200 [2559] Merge branch 'master' into trac2559
Conflicts:
	src/bin/dhcp4/config_parser.cc
	src/bin/dhcp6/config_parser.cc
	src/bin/dhcp6/dhcp6_srv.h
	src/lib/dhcpsrv/dhcpsrv_messages.mes
	src/lib/dhcpsrv/tests/Makefile.am
2013-01-21 20:57:57 +00:00
Marcin Siodelski
0be5967e2f [2314] Changes as a result of the review. 2013-01-21 18:31:01 +01:00
Stephen Morris
aad83b6edd [2559] Address review comments 2013-01-18 18:27:32 +00:00
Stephen Morris
88d25efcbc [2559] More changes as a result of the ticket review 2013-01-18 12:05:12 +00:00
Marcin Siodelski
1ea439fadb [2637] Validate option space name in the configuration parsers. 2013-01-16 19:41:01 +01:00
Marcin Siodelski
f9169a71cb [master] Initialize the list of strings before passing it to boost foreach.
This overcomes the compilation failure on Sunstudio that is caused by the
boost::foreach_detail_::is_rvalue_() overloading ambiguity when
passing the rvalue to boost foreach.
2013-01-16 10:09:46 +01:00
Marcin Siodelski
3f1577b50d [2314] Append sub-options to DHCPv4 options. 2013-01-15 15:55:29 +01:00
Marcin Siodelski
f16d079d34 [2314] Configure encapsulated option space for DHCPv6 options. 2013-01-15 15:06:34 +01:00
Marcin Siodelski
45b03507d6 [2314] Create option definition with encapsulated option space name. 2013-01-15 15:06:23 +01:00
Marcin Siodelski
77c9f2b09e [2314] Validate option space name received in a configuration. 2013-01-15 15:05:24 +01:00
Marcin Siodelski
71e25eb81e [master] Merge branch 'trac2317'
Conflicts:
	src/bin/dhcp6/dhcp6_srv.cc
	src/lib/dhcpsrv/Makefile.am
	src/lib/dhcpsrv/cfgmgr.h
2013-01-15 14:28:01 +01:00
Marcin Siodelski
5a32697686 [2317] Minor: removed a spurious whitespace. 2013-01-15 10:34:40 +01:00
Marcin Siodelski
7d705b35fe [2317] Eliminated cppcheck errors. 2013-01-14 14:20:50 +01:00
Marcin Siodelski
016a19585f [2317] Added changes as a result of the review. 2013-01-14 12:25:01 +01:00
Stephen Morris
808decc6c1 [2559] Add database access parser to DHCPv4 server 2013-01-11 08:38:05 +00:00
Marcin Siodelski
6e2a0ba86f [2317] Specify option space names for DHCPv6 options. 2013-01-10 21:22:44 +01:00
Marcin Siodelski
ec9d85afe1 [2317] Improved some comments in the DHCPv4 data parsers. 2013-01-10 18:39:03 +01:00
Marcin Siodelski
0b3abc02d6 [2317] Option data parser is dependent on option definitions parser. 2013-01-10 18:19:21 +01:00
Tomek Mrugalski
6278daf2fc [master] Merge branch 'trac2320' (DHCPv4 allocation engine)
Conflicts:
	ChangeLog
	src/bin/dhcp4/config_parser.cc
	src/bin/dhcp6/config_parser.cc
	src/lib/dhcpsrv/lease_mgr.cc
	src/lib/dhcpsrv/lease_mgr.h
	src/lib/dhcpsrv/memfile_lease_mgr.cc
	src/lib/dhcpsrv/subnet.cc
	src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
2013-01-10 16:32:24 +01:00
Stephen Morris
aae75525fe [2559] Add some debugging and error messages to the DHCP4/6 servers 2013-01-10 15:30:10 +00:00
Marcin Siodelski
beef799a01 [2317] Group configured options by their spaces. 2013-01-10 13:27:52 +01:00
Marcin Siodelski
b82c412af1 [2317] Configure space when setting option value. 2013-01-10 12:57:53 +01:00
Marcin Siodelski
c924b23383 [2317] Test configuration of option definition comprising a record. 2013-01-09 18:09:18 +01:00
Marcin Siodelski
f000b6b54d [2317] Parse record-types field in DHCPv4 option definition configuration. 2013-01-09 17:07:21 +01:00
Marcin Siodelski
6b78fee487 [2317] Store configured option definitions in the CfgMgr object. 2013-01-09 16:18:28 +01:00
Marcin Siodelski
36d56446c3 [2317] Create V4 option definition in the definition parser. 2013-01-09 12:14:30 +01:00