- 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
This patch runs the database parser last (after subnets have been parsed).
This allows, for example, to access the subnets staging configuration
when leases are being loaded from disk.
- Documentation for reservation-mode added
- spec files updated
- unit-tests for HR no longer use eth0 or eth1
- @todos added when allow_new_leases_in_renewals_ is expected to be used
- HR unit-test no longer uses at()
- Copyright years updated
- getOptionalParam() used when handling reservation-mode
- hrModeFromText() moved to SubnetConfigParser
- hrModeFromText() starts with lowercase and has its documentation expanded