src/bin/dhcp6/json_config_parser.cc
createGlobalDhcp6ConfigParser()
- added clause to invoke new D2ClientConfigParser to
set staging config
- added clause to apply staged D2ClientConfig (formerly done
by parser commit
src/bin/dhcp6/parser_context.h
src/bin/dhcp6/parser_context.cc
aded PARSER_DHCP_DDNS context
src/bin/dhcp4/simple_parser6.h
src/bin/dhcp4/simple_parser6.cc
defined SimpleParser6::D2_CLIENT_CONFIG_DEFAULTS
SimpleParser6::setAllDefaults() - now sets defaults
for D2ClientConfig
src/bin/dhcp6/tests/d2_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
Updated replace-name-mode values and tests
(true/false no longer supported)
doc/guide/dhcp6-srv.xml
Updated, replace-client-name no longer accepts booleans
src/bin/dhcp4/json_config_parser.cc
createGlobalDhcp4ConfigParser()
- added clause to invoke new D2ClientConfigParser to
set staging config
- added clause to apply staged D2ClientConfig (formerly done
by parser commit
src/bin/dhcp4/parser_context.h
src/bin/dhcp4/parser_context.cc
aded PARSER_DHCP_DDNS context
src/bin/dhcp4/simple_parser4.h
src/bin/dhcp4/simple_parser4.cc
defined SimpleParser4::D2_CLIENT_CONFIG_DEFAULTS
SimpleParser4::setAllDefaults() - now sets defaults
for D2ClientConfig
src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
Updated replace-name-mode values (true/false no longer supported)
src/lib/dhcpsrv/parsers/dhcp_parsers.h
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
D2ClientConfig now derives from SimpleParser
src/lib/dhcpsrv/srv_config.h
src/lib/dhcpsrv/srv_config.cc
Added a D2ClientConfigPtr member to SrvConfig.
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
Updated tests to set D2 client config defaults
doc/guide/dhcp4-srv.xml
Updated, replace-client-name no longer accepts booleans
Added memfile without persistence to set_config unit tests. This eliminates
the tests attempting to create the csv file.
Updated copyrights.
Fixed misspelling.
- using const_pointer_cast in dhcp{4,6}/json_config_parser.cc
- removed obsolete comment from dhcp_parsers_unittest.cc
- updated simple_parser.h comments
- added include <vector> in simple_parser.h
- address_family_, default ctor removed from two parsers
- copyright year updated
- Element::getNonConst is now documented
- user's guide is now clear about csv-format default value is now true
- SimpleParser concept implemented
- Converted 4 parsers (option data, option data list, option defintion,
option definition list)
- updated unit-tests
- converted other parsers (HostReservationParser{4,6}, ClientClassDefParser)
to use those new parsers
- converted kea-dhcp{4,6} to use those new parsers
Conflicts:
src/bin/dhcp6/json_config_parser.cc
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
This reverts commit 8f2a1f8a7a0e27a8c584186cfda089cd88ec6153, reversing
changes made to ed7edadcbd2bde368fdde86e1c997ea225b456f5.
This merge introduced regressions in our build farm and revealed
issues in the DHCP4o6 IPC code. It also revealed some differences
in sockets handling under Linux and BSD. Rather than continue
patching this here, we should work on the branch to resolve all
issues and then merge 1.1.
src/bin/dhcp4/json_config_parser.cc
- createGlobalDhcp4ConfigParser() - creates ClientClassDefListParser
for "client-classes" element
- configureDhcp4Server() - runs the ClientClassDefListParser against
the "client-classes" element
src/bin/dhcp4/tests/config_parser_unittest.cc
Added new tests for parsing client class definitions:
TEST_F(Dhcp4ParserTest, clientClassDictionary)
TEST_F(Dhcp4ParserTest, invalidClientClassDictionary)
src/bin/dhcp4/dhcp4.spec
Added global "client-classes" element