diff options
author | Marcin Siodelski <marcin@isc.org> | 2021-02-17 12:08:51 +0100 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2021-02-19 10:46:55 +0100 |
commit | 30432d6a64a3335636720c9a5feb0a67a733bc96 (patch) | |
tree | eb770a5c30e1050992a1ec33768ee1ad028cd3b7 /src/lib/dhcpsrv/alloc_engine_messages.h | |
parent | [#899] removed empty line (diff) | |
download | kea-30432d6a64a3335636720c9a5feb0a67a733bc96.tar.xz kea-30432d6a64a3335636720c9a5feb0a67a733bc96.zip |
[#1701] Improved v4 alloc failure logs
In case of lease allocation failure, the allocation engine now logs:
- which shared network the client belongs to
- which subnet (if not shared network) the client belongs to
- which subnets were tried
- for which subnets there were allocation attempts
- for which subnets there were no allocation attempts
Diffstat (limited to 'src/lib/dhcpsrv/alloc_engine_messages.h')
-rw-r--r-- | src/lib/dhcpsrv/alloc_engine_messages.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/alloc_engine_messages.h b/src/lib/dhcpsrv/alloc_engine_messages.h index 0d9389b826..b142fad9cf 100644 --- a/src/lib/dhcpsrv/alloc_engine_messages.h +++ b/src/lib/dhcpsrv/alloc_engine_messages.h @@ -13,6 +13,11 @@ extern const isc::log::MessageID ALLOC_ENGINE_REMOVAL_NCR_FAILED; extern const isc::log::MessageID ALLOC_ENGINE_V4_ALLOC_ERROR; extern const isc::log::MessageID ALLOC_ENGINE_V4_ALLOC_FAIL; extern const isc::log::MessageID ALLOC_ENGINE_V4_ALLOC_FAIL_CLASSES; +extern const isc::log::MessageID ALLOC_ENGINE_V4_ALLOC_FAIL_NO_POOLS; +extern const isc::log::MessageID ALLOC_ENGINE_V4_ALLOC_FAIL_SHARED_NETWORK; +extern const isc::log::MessageID ALLOC_ENGINE_V4_ALLOC_FAIL_SUBNET; +extern const isc::log::MessageID ALLOC_ENGINE_V4_ALLOC_FAIL_SUBNET_POOLS_UNAVAIL; +extern const isc::log::MessageID ALLOC_ENGINE_V4_ALLOC_FAIL_SUBNET_TRIED; extern const isc::log::MessageID ALLOC_ENGINE_V4_DECLINED_RECOVERED; extern const isc::log::MessageID ALLOC_ENGINE_V4_DISCOVER_ADDRESS_CONFLICT; extern const isc::log::MessageID ALLOC_ENGINE_V4_DISCOVER_HR; |