2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 04:57:52 +00:00

63 Commits

Author SHA1 Message Date
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
Marcin Siodelski
e39b610889 [2317] Created common function to get configured parameter from a storage. 2013-01-08 20:49:32 +01:00
Marcin Siodelski
533c4afdae [2317] Added parser classes for option definitions. 2013-01-08 18:17:36 +01:00
Marcin Siodelski
741fe7bc96 [master] Merge branch 'trac2315'
Conflicts:
	src/bin/dhcp4/config_parser.cc
	src/bin/dhcp6/config_parser.cc
2013-01-08 14:09:43 +01:00
Marcin Siodelski
b789222291 [2315] Return a pointer to option container rather than a reference. 2013-01-07 22:58:42 +01:00
Marcin Siodelski
890e0b0b7d [2545] Moved DhcpConfigParser abstract class to common header file. 2013-01-04 14:15:40 +01:00
Marcin Siodelski
d83fc2a12f [2545] Changes as a result of the review. 2013-01-04 13:47:37 +01:00
Marcin Siodelski
36622df85e [2545] Moved config parser base classes to the headers. 2013-01-04 12:58:23 +01:00
Marcin Siodelski
5530bff261 [2315] Group options held under Subnet object by option space name. 2013-01-03 13:54:50 +01:00
Marcin Siodelski
28a43fa59f [2545] Moved global storages to the anonymous namespace. 2012-12-21 13:30:41 +01:00
Marcin Siodelski
caf95c197a [2545] Added new configuration parameter: csv-format for DHCPv4 server. 2012-12-21 13:11:53 +01:00
Marcin Siodelski
a32568b7b3 [2545] Separated build and commit phase for all DHCPv4 config parsers.
... also added new BooleanParser.
2012-12-21 12:53:31 +01:00
Marcin Siodelski
3c702b8966 [2545] Moved the DHCPv4 parser classes to the anonymous namespace. 2012-12-21 12:07:43 +01:00
Tomek Mrugalski
17553447e5 [2320] Subnet4 and Subnet6 have much more common code now. 2012-12-20 21:57:55 +01:00