Marcin Siodelski
d596586365
[3409] Addressed review comments.
2014-04-29 18:27:14 +02:00
Marcin Siodelski
dc69d95585
[3409] Append line number to error caused by undefined global parameter.
2014-04-28 17:11:40 +02:00
Marcin Siodelski
5c31704c49
[3409] Append line number for errors when duplicated subnet id is used.
2014-04-28 16:58:24 +02:00
Marcin Siodelski
21eee97b58
[3409] Pass whole context to the OptionDefListParser.
2014-04-25 14:16:43 +02:00
Marcin Siodelski
6db4435309
[3409] Fixed culprit line logging for non-existing parameters.
2014-04-25 14:06:04 +02:00
Marcin Siodelski
7137b4a408
[3409] The DHCPv4 config parser logs positions of the elements in config.
2014-04-24 19:02:19 +02:00
Marcin Siodelski
09e6e71abf
[master] Merge branch 'trac3360'
...
Conflicts:
doc/guide/bind10-guide.xml
2014-04-03 14:01:03 +02:00
Marcin Siodelski
30a20ce293
[3281] DHCPv4 configuration parser sets the subnet id specified by user.
2014-03-26 12:40:34 +01:00
Marcin Siodelski
5785c87a15
[3360] Memfile now opens v4 or v6 lease file, not both.
2014-03-25 15:53:02 +01:00
Tomek Mrugalski
0c74cff26a
[3274] Changes after second round of reviews:
...
- getRelayInfo() implemented, relay_ is now protected
- setRelay => setRelayInfo
- Option::Universe is passed as const reference
- Further clarified white_list_ field in Subnet.h
2014-02-10 16:07:02 +01:00
Tomek Mrugalski
d8683cbfed
[3274] Changes after review:
...
- RelayInfoParser now takes Option::Universe as last parameter;
- Extra tests for checking invalid parameters in RelayInfoParser
- Comments in subnet.h improved
- Sanity checks in RelayInfoParser implemented, doc improved
2014-02-07 17:26:03 +01:00
Tomek Mrugalski
f2c1e775f7
[3274] Changes after review:
...
- Copyright years updated
- Minor corrections in BINDX Guide
- dhcp4.spec relay structure description updated.
- new unit-test for DHCPv4 client classification added
- new unit-test for DHCPv6 client classification added
- fixed Doxygen errors
- comments for CfgMgr::getSubnet{4,6} updated
2014-02-06 20:40:02 +01:00
Tomek Mrugalski
b6f93473fc
[3274] Client-class can now be specified in DHCPv{4,6} subnets config
2014-02-04 12:17:54 +01:00
Tomek Mrugalski
a58621d8f1
[3274] Relay info support added to DHCPv4 parsers.
2014-01-31 20:13:58 +01:00
Mukund Sivaraman
312e27c041
Merge branch 'trac1283'
...
Conflicts:
src/lib/dhcp/iface_mgr.cc
2014-01-17 14:44:23 +05:30
Thomas Markwalder
0ba8598345
[master] Merge branch 'trac3033'
...
Adds support for DHCP-DDNS configuration parameters to b10-dhcp4.
2014-01-15 08:33:54 -05:00
Mukund Sivaraman
7607200420
[1283] Remove toText() calls where IOAddress should be used directly
2014-01-07 11:32:31 +05:30
Thomas Markwalder
d508d4ac19
[3033] Added DHCP-DDNS configuration paramater parsing to b10-dhcp4
...
Added configuration paramters to dhcp4 and its spec file to support DHCP-DDNS.
Created new classes D2ClientMgr, D2ClientConfig, and D2CientConfigParser in the
libdhcpsrv. The new parameters are parsed, validated, and stored but do
not yet affect behavior. That will be implemented as a seperate ticket.
2014-01-06 10:56:59 -05:00
Tomek Mrugalski
09cfa792bf
[3234] Subnet-id is now set properly in b10-dhcp{4,6} servers
2013-12-30 18:38:37 +01:00
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