+2368. [bug] razvan
+ Fix error handling when detecting a global reservation for the
+ client and global reservatons are explicitly disabled in the
+ configuration.
+ (Gitlab #4001)
+
Kea 2.6.3 (stable) released on May 28, 2025
2267. [build] andrei
/// - 2 subnets: 10.0.0.0/24 guarded by first and 10.0.1.0/24
/// - 2 pools: 10.0.0.10-10.0.0.100 and 10.0.1.10-10.0.1.100
/// - 1 global reservation for HW address 'aa:bb:cc:dd:ee:ff'
-/// setting the first class
+/// with IP address outside the pool, setting the first class
/// - the following class defined: first
///
/// - Configuration 9:
"}],"
"\"reservations\": [ {"
" \"hw-address\": \"aa:bb:cc:dd:ee:ff\","
+ " \"ip-address\": \"10.0.1.200\","
" \"client-classes\": [ \"first\" ] } ]"
"}",
/// - Used for the early global reservations lookup / select subnet.
/// - 2 subnets: 2001:db8:1::/48 (guarded) and 2001:db8:2::/48
/// - 2 pools: 2001:db8:1:1::/64 and 2001:db8:2:1::/64
-/// - 1 global reservation setting the first class
+/// - 1 global reservation with IP address outside the pool, setting
+/// the first class
/// - the following class defined: first
///
/// - Configuration 7:
"\"reservations\": ["
"{"
" \"duid\": \"01:02:03:04\","
+ " \"ip-addresses\": [ \"2001:db8:1:cafe::1\" ],"
" \"client-classes\": [ \"first\" ]"
"}"
"],"
LOG_DEBUG(alloc_engine_logger, ALLOC_ENGINE_DBG_TRACE,
ALLOC_ENGINE_IGNORING_UNSUITABLE_GLOBAL_ADDRESS)
.arg(ctx.query_->getLabel())
- .arg(ctx.currentHost()->getIPv4Reservation().toText())
+ .arg(global_host_address.toText())
.arg(AllocEngine::labelNetworkOrSubnet(ctx.subnet_));
}