2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 22:15:23 +00:00

[#1428] Delete multiple hosts by subnet/addr

Adjusted behavior of the del(subnet_id, addr) function in MySQL and
Postgres to delete multiple hosts having the same IPv4 or IPv6 address.
The MySQL schema had to be updated to use CASCADE action rather than
trigger to remove dependent options and IPv6 reservations.
This commit is contained in:
Marcin Siodelski
2020-09-30 18:50:56 +02:00
parent c7e9763582
commit 1181298f2c
11 changed files with 109 additions and 32 deletions

View File

@@ -108,7 +108,7 @@ public:
/// violation
virtual void add(const HostPtr& host);
/// @brief Attempts to delete a host by (subnet-id, address)
/// @brief Attempts to delete hosts by (subnet-id, address)
///
/// This method supports both v4 and v6.
///