diff options
author | Francis Dupont <fdupont@isc.org> | 2019-03-02 20:16:00 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-03-11 16:39:21 +0100 |
commit | 0905408bce25237a5e3d504c6cd6c87e39ebe313 (patch) | |
tree | e4bdb40e162ad9c55c88b93095a1995adc158905 /src/lib/dhcpsrv/config_backend_pool_dhcp4.cc | |
parent | [master] Added ChangeLog entry dns++.pc removal (diff) | |
download | kea-0905408bce25237a5e3d504c6cd6c87e39ebe313.tar.xz kea-0905408bce25237a5e3d504c6cd6c87e39ebe313.zip |
[512-remote-network4-del-update] Added deleteSharedNetworkSubnets4 support
Diffstat (limited to 'src/lib/dhcpsrv/config_backend_pool_dhcp4.cc')
-rw-r--r-- | src/lib/dhcpsrv/config_backend_pool_dhcp4.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/config_backend_pool_dhcp4.cc b/src/lib/dhcpsrv/config_backend_pool_dhcp4.cc index 95b55309b8..f7fea14709 100644 --- a/src/lib/dhcpsrv/config_backend_pool_dhcp4.cc +++ b/src/lib/dhcpsrv/config_backend_pool_dhcp4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -316,6 +316,15 @@ ConfigBackendPoolDHCPv4::deleteAllSubnets4(const BackendSelector& backend_select } uint64_t +ConfigBackendPoolDHCPv4::deleteSharedNetworkSubnets4(const db::BackendSelector& backend_selector, + const db::ServerSelector& server_selector, + const std::string& shared_network_name) { + return (createUpdateDeleteProperty<uint64_t, const std::string&> + (&ConfigBackendDHCPv4::deleteSharedNetworkSubnets4, backend_selector, server_selector, + shared_network_name)); +} + +uint64_t ConfigBackendPoolDHCPv4::deleteSharedNetwork4(const BackendSelector& backend_selector, const ServerSelector& server_selector, const std::string& name) { |