diff options
author | Thomas Markwalder <tmark@isc.org> | 2023-05-08 17:22:13 +0200 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2023-05-22 21:29:33 +0200 |
commit | 0482115cf8bf63bd98a1825f537fd18c948ab277 (patch) | |
tree | 5a485a6130127bee3b53a8bcf8b04fbe264195c1 /src/lib/dhcpsrv/alloc_engine_messages.h | |
parent | [#2760] Also disabled pgsql (diff) | |
download | kea-0482115cf8bf63bd98a1825f537fd18c948ab277.tar.xz kea-0482115cf8bf63bd98a1825f537fd18c948ab277.zip |
[#2835] Replace preferred-lifetime as needed
src/bin/dhcp6/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/get_config_unittest.cc
src/bin/dhcp6/tests/simple_parser6_unittest.cc
Updated tests
src/lib/dhcpsrv/alloc_engine.cc
AllocEngine::getLifetimes6() - modified to replace preferred
lifetime with valid-lifetime * .625 it's unspecified or
greater than valid-lifetime
src/lib/dhcpsrv/alloc_engine_messages.mes
ALLOC_ENGINE_V6_CALCULATED_PREFERRED_LIFETIME - new message
src/lib/dhcpsrv/parsers/simple_parser6.cc
SimpleParser6::GLOBAL6_DEFAULTS - removed preferred-lifetime
src/lib/dhcpsrv/tests/alloc_engine6_unittest.cc
Updated tests
Diffstat (limited to 'src/lib/dhcpsrv/alloc_engine_messages.h')
-rw-r--r-- | src/lib/dhcpsrv/alloc_engine_messages.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/alloc_engine_messages.h b/src/lib/dhcpsrv/alloc_engine_messages.h index 866ce92b33..e9cd896b88 100644 --- a/src/lib/dhcpsrv/alloc_engine_messages.h +++ b/src/lib/dhcpsrv/alloc_engine_messages.h @@ -57,6 +57,7 @@ extern const isc::log::MessageID ALLOC_ENGINE_V6_ALLOC_LEASES_NO_HR; extern const isc::log::MessageID ALLOC_ENGINE_V6_ALLOC_NO_LEASES_HR; extern const isc::log::MessageID ALLOC_ENGINE_V6_ALLOC_NO_V6_HR; extern const isc::log::MessageID ALLOC_ENGINE_V6_ALLOC_UNRESERVED; +extern const isc::log::MessageID ALLOC_ENGINE_V6_CALCULATED_PREFERRED_LIFETIME; extern const isc::log::MessageID ALLOC_ENGINE_V6_DECLINED_RECOVERED; extern const isc::log::MessageID ALLOC_ENGINE_V6_EXPIRED_HINT_RESERVED; extern const isc::log::MessageID ALLOC_ENGINE_V6_EXTEND_ALLOC_UNRESERVED; |