The subnet4_select and subnet6_select callouts are used when HA config
contains multiple relationships. In this case the logic filtering the
packets must be ran after subnet selection because the selected subnet
contains the info which relationship the packet belongs to.
doc/sphinx/arm/hooks-ping-check.rst
Removed note about single-threaded mode
Added ChangeLog
src/lib/dhcp/iface_mgr.*
IfaceMgr::isExternalSocket() - new function to facilitate UTs
src/lib/dhcp/tests/iface_mgr_unittest.cc
Updated tests
Added a ChangeLog entry
src/hooks/dhcp/high_availability/ha_impl.cc
HAImpl::lease4ServerDecline() - always return NEXT_STEP_CONTINUE,
and set peers_to_update argument.
src/hooks/dhcp/high_availability/ha_service.*
Renamed HAService::asyncSendLeaseUpdate() to asyncSendSingleLeaseUpdate()
src/hooks/dhcp/high_availability/tests/ha_impl_unittest.cc
TEST_F(HAImplTest, lease4ServerDecline) - new test
src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc
TEST_F(HAServiceTest, successfulSendSingleLeaseUpdateWithoutParking)
TEST_F(HAServiceTest, successfulSendSingleLeaseUpdateWithParking) - new tests
doc/sphinx/arm/hooks-ping-check.rst
Removed note about HA updates
doc/sphinx/arm/hooks.rst
Updated ping-check description in table of hooks
doc/sphinx/arm/logging.rst
Added ping-check-hooks logger to table of loggers
Updates are working, need clean up and UTs in HA.
src/bin/dhcp4/dhcp4_hooks.dox
Updated hooks dev guide
src/bin/dhcp4/dhcp4_srv.cc
Added callout lease4_server_decline
Dhcpv4Srv::serverDecline() - added lease4_server_decline hook point
src/bin/dhcp4/tests/hooks_unittest.cc
TEST_F(HooksDhcpv4SrvTest, lease4OfferDiscoverDecline) - new test
src/hooks/dhcp/high_availability/ha_callouts.cc
lease4_server_decline() - new callout function
src/hooks/dhcp/high_availability/ha_impl.*
HAImpl::lease4ServerDecline() - new callout handler
src/hooks/dhcp/high_availability/ha_messages.mes
HA_LEASE4_SERVER_DECLINE_FAILED - new log
src/hooks/dhcp/high_availability/ha_service.*
HAService::asyncSendLeaseUpdate() - new function for a single lease update
HAService::asyncSendLeaseUpdates() - check parking lot null