| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
to write
|
|
|
|
|
|
| |
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Fixed indentations in defaults list
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Addressed a myriad of minor typos and wording issues.
modified:
ChangeLog
doc/examples/kea4/all-keys.json
doc/examples/kea6/all-keys.json
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/d2_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h
src/lib/dhcpsrv/d2_client_cfg.h
src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/srv_config.h
|
|
|
|
| |
with-ddnes.json examples
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/bin/dhcp4/tests/get_config_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
regenerated tests
src/lib/dhcpsrv/parsers/simple_parser4.cc
Removed DDNS params from INHERIT_TO_SUBNET4 list
src/lib/dhcpsrv/parsers/simple_parser6.cc
Removed DDNS params from INHERIT_TO_SUBNET6 list
|
|
|
|
|
| |
src/bin/dhcp6/tests/fqdn_unittest.cc
TEST_F(FqdnDhcpv6SrvTest, ddnsScopeTest) - new test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/bin/dhcp6/ctrl_dhcp6_srv.cc
Removed setting D2ClientCfg fetch function
src/bin/dhcp6/dhcp6_lexer.ll
src/bin/dhcp6/dhcp6_parser.yy
ddns-send-updates
ddns-override-no-update
ddns-override-client-update
ddns-replace-client-name
ddns-generated-prefix
ddns-qualifying-suffix
- added to DHCP4,SHARED_NETWORK,SUBNET4
hostname-char-set
hostname-char-replacement
- added to SHARED_NETWORK,SUBNET4
src/bin/dhcp6/dhcp6_srv.cc
Dhcpv6Srv::processClientFqdn()
Dhcpv6Srv::createNameChangeRequests()
Dhcpv6Srv::updateReservedFqdn()
- use cxt.getDdnsParams()
src/bin/dhcp6/json_config_parser.cc
configureDhcp6Server()
- use SrvConfig::moveDdnsParams() to move dhcp-ddns parameters
- handle new "ddns-" globals
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/fqdn_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
Updated tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/bin/dhcp4/ctrl_dhcp4_srv.cc
Removed setting D2ClientCfg fetch function
src/bin/dhcp4/dhcp4_lexer.ll
src/bin/dhcp4/dhcp4_parser.yy
ddns-send-updates
ddns-override-no-update
ddns-override-client-update
ddns-replace-client-name
ddns-generated-prefix
ddns-qualifying-suffix
- added to DHCP4,SHARED_NETWORK,SUBNET4
hostname-char-set
hostname-char-replacement
- added to SHARED_NETWORK,SUBNET4
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processClientFqdnOption()
Dhcpv4Srv::processHostnameOption()
Dhcpv4Srv::assignLease()
Use scoped DdnsParams from context to make decisions, pass
into D2ClientMgr functions, and supply hostname sanitizer
src/bin/dhcp4/json_config_parser.cc
configureDhcp4Server()
- use SrvConfig::moveDdnsParams() to move dhcp-ddns parameters
- handle new "ddns-" globals
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp4/tests/d2_unittest.cc
src/bin/dhcp4/tests/dhcp4_test_utils.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/bin/dhcp4/tests/get_config_unittest.cc
Updated and new tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/lib/dhcpsrv/alloc_engine.*
AllocEngine::ClientContext6::getDdnsParams()
AllocEngine::ClientContext4::getDdnsParams() - new
methods which return a DdnsParams instance scoped by
currently selected subnet
Replaced direct references to context::ddns_params_ with
new getter methods.
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Removed global defaults for hostname-char-set/replacement
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moving the parameters needs to be done before defaults are applied to the
config, so moveDdnsParams was changed to modify a mutable top level
element map instead of SrvConfig contents.
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Change ddns-send-updates default to true.
src/lib/dhcpsrv/srv_config.*
SrvConfig::getConfiguredGlobal() - new method to fetch a
global by name
SrvConfig::moveDdnsParams() - changed to accept/modify
a top-level Element map
src/lib/dhcpsrv/tests/srv_config_unittest.cc
updated unit tests accordingly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SrvConfig
src/lib/dhcpsrv/dhcpsrv_messages.*
DHCPSRV_CFGMGR_DDNS_PARAMETER_IGNORED
DHCPSRV_CFGMGR_DDNS_PARAMETER_MOVED
src/lib/dhcpsrv/srv_config.*
SrvConfig::moveDdnsParams() - new method to move
parameters from dhcp-ddns to configured globals.
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, moveDdnsParamsTest) - new test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
network/subnet scopes
src/lib/dhcpsrv/d2_client_cfg.*
Added hostname-char-set and hostname-char-replacement to DdnsParms
DdnsParams::getHostnameSanitizer() - new function to return a sanitizer
src/lib/dhcpsrv/d2_client_mgr.h
D2ClientMgr::adjustDomainName() - now gets sanitizer from ddns_params
src/lib/dhcpsrv/network.*
src/lib/dhcpsrv/parsers/base_network_parser.cc
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc
Added hostname-char-set and hostname-char-replacement to networks and subnets
|
|
|
|
|
|
|
|
|
|
| |
src/lib/dhcpsrv/srv_config.*
SrvConfig::getDdnsParams() - new method to fetch
scoped DDNS parameters based on a given subnet
src/lib/dhcpsrv/tests/srv_config_unittest.cc
TEST_F(SrvConfigTest, getDdnsParamsTest4)
TEST_F(SrvConfigTest, getDdnsParamsTest6) - new tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/lib/dhcpsrv/network.*
Network - added DDNS parameters: Optional members, getters, setters
Network::toElement() - added DDNS parameters
src/lib/dhcpsrv/parsers/base_network_parser.*
BaseNetworkParser::parseDdnsParams() - new method to parse DDNS parameters
BaseNetworkParser::parseLifetime() - fixed unitialized variables warning
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
Subnet4ConfigParser::initSubnet()
Subnet6ConfigParser::initSubnet() - added call to parseDdnsParms().
src/lib/dhcpsrv/parsers/shared_network_parser.cc
SharedNetwork4Parser::parse()
SharedNetwork6Parser::parse() - added call to parseDdnsParms().
src/lib/dhcpsrv/parsers/simple_parser4.cc
SimpleParser4::GLOBAL4_PARAMETERS
SimpleParser4::GLOBAL4_DEFAULTS
SimpleParser4::SUBNET4_PARAMETERS
SimpleParser4::INHERIT_TO_SUBNET4
SimpleParser4::SHARED_NETWORK4_PARAMETERS - added DDNS parameters
src/lib/dhcpsrv/parsers/simple_parser6.cc
SimpleParser6::GLOBAL6_PARAMETERS
SimpleParser6::GLOBAL6_DEFAULTS
SimpleParser6::SUBNET6_PARAMETERS
SimpleParser6::INHERIT_TO_SUBNET6
SimpleParser6::SHARED_NETWORK6_PARAMETERS - added DDNS parameters
src/lib/dhcpsrv/tests/cfg_shared_networks4_unittest.cc
src/lib/dhcpsrv/tests/cfg_shared_networks6_unittest.cc
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
src/lib/dhcpsrv/tests/network_unittest.cc
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
src/lib/dhcpsrv/tests/shared_network_unittest.cc
src/lib/dhcpsrv/tests/subnet_unittest.cc
Updated tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/lib/dhcpsrv/d2_client_cfg.*
D2ClientConfig - removed DDNS params
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
D2ClientConfigParser::parse() - removed DDNS params
src/lib/dhcpsrv/parsers/simple_parser4.cc
SimpleParser4::GLOBAL4_PARAMETERS
SimpleDefaults SimpleParser4::GLOBAL4_DEFAULTS
- added DDSN params
src/lib/dhcpsrv/tests/cfgmgr_unittest.cc
Updated calls to D2ClientCfg ctor
src/lib/dhcpsrv/tests/d2_client_unittest.cc
Removed DDNS and hostname params from tests
src/lib/dhcpsrv/tests/d2_udp_unittest.cc
Updated calls to D2ClientCfg ctor
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc
Removed DDNS and hostname params from tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
D2ClientMgr functions now get behavior parameters from a passed in
structure instead of D2ClientMgr::d2_client_config_.
src/lib/dhcpsrv/d2_client_cfg.h
struct DdnsParams - new structure to convey request specific
(i.e.scopable) Ddns params
src/lib/dhcpsrv/alloc_engine.cc
src/lib/dhcpsrv/alloc_engine.h
Added ddns_params_ to ClientContext4/6
src/lib/dhcpsrv/d2_client_mgr.*
D2ClientMgr::adjustFqdnFlags()
D2ClientMgr::adjustDomainName()
D2ClientMgr::analyzeFqdn()
D2ClientMgr::generateFqdn()
D2ClientMgr::qualifyName() - now accept DdnsParams instance as
parameter
src/lib/dhcpsrv/tests/d2_client_unittest.cc
Reworked tests to use DdnsParams
|
|
|
|
| |
iface_mgr_unittest.cc warnings
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
code in the core library to C++11
|
|
|
|
| |
Fixed unit tests using previous CfgMgr clear() behavior
|
|
|
|
| |
Changed CfgMgr clear() to reset D2ClientConfig
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
Cleaned up failure text
src/lib/testutils/gtest_utils.h
Replaced array with vector
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processRequest()
Dhcpv4Srv::processRelease()
Dhcpv4Srv::processDecline()
Dhcpv4Srv::processInform() - now all call sanityCheck()
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
TEST_F(Dhcpv4SrvTest, sanityCheckDiscover)
TEST_F(Dhcpv4SrvTest, sanityCheckRequest)
TEST_F(Dhcpv4SrvTest, sanityCheckDecline)
TEST_F(Dhcpv4SrvTest, sanityCheckRelease)
TEST_F(Dhcpv4SrvTest, sanityCheckInform) - new tests
src/lib/testutils/gtest_utils.h
New file with handy new test macros:
EXPECT_THROW_MSG()
ASSERT_THROW_MSG()
src/lib/testutils/Makefile.am
Added new file gtest_utils.h
Added a ChangeLog entry
|
|
|
|
| |
This checks that selected packet statistics is set to 0 before the test.
|
| |
|
| |
|
| |
|
|
|
|
| |
changes to dhcp4 and dhcp6 servers
|
|
|
|
| |
to way of initial values
|
|
|
|
| |
on-restart-or-reconfiguration] add initialization of all statistisc during set up
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
src/bin/admin/kea-admin.in
Fixed printfs
mysql_can_create() - removed logic to
skip test based on MySQL version.
|
|
|
|
| |
The options must be ordered by pd option id.
|
|
|
|
|
|
|
|
|
| |
src/bin/admin/kea-admin.in
mysql_can_create() - new function to verify user's ability
to create functions
mysql_init()
mysql_upgrade() - modified to call mysql_can_create
|