summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/cfg_hosts.cc
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2017-04-22 21:56:33 +0200
committerTomek Mrugalski <tomasz@isc.org>2017-04-22 21:56:33 +0200
commit8b561ef8543dceb6e4564c01becf98cee382004c (patch)
tree78fb264415dc79e71d61737e032bfafd420081d8 /src/lib/dhcpsrv/cfg_hosts.cc
parent[5208a] toElement() moved from CfgHosts to Host (diff)
downloadkea-8b561ef8543dceb6e4564c01becf98cee382004c.tar.xz
kea-8b561ef8543dceb6e4564c01becf98cee382004c.zip
[5208a] delete methods implemented in host data sources
Diffstat (limited to 'src/lib/dhcpsrv/cfg_hosts.cc')
-rw-r--r--src/lib/dhcpsrv/cfg_hosts.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/cfg_hosts.cc b/src/lib/dhcpsrv/cfg_hosts.cc
index c493c77edb..e1dc43e983 100644
--- a/src/lib/dhcpsrv/cfg_hosts.cc
+++ b/src/lib/dhcpsrv/cfg_hosts.cc
@@ -688,6 +688,31 @@ CfgHosts::add6(const HostPtr& host) {
}
}
+bool
+CfgHosts::del(const SubnetID& subnet_id, const asiolink::IOAddress& addr) {
+ /// @todo: Implement host removal
+ isc_throw(NotImplemented, "sorry, not implemented");
+ return (false);
+}
+
+bool
+CfgHosts::del4(const SubnetID& subnet_id,
+ const Host::IdentifierType& identifier_type,
+ const uint8_t* identifier_begin, const size_t identifier_len) {
+ /// @todo: Implement host removal
+ isc_throw(NotImplemented, "sorry, not implemented");
+ return (false);
+}
+
+bool
+CfgHosts::del6(const SubnetID& subnet_id,
+ const Host::IdentifierType& identifier_type,
+ const uint8_t* identifier_begin, const size_t identifier_len) {
+ /// @todo: Implement host removal
+ isc_throw(NotImplemented, "sorry, not implemented");
+ return (false);
+}
+
ElementPtr
CfgHosts::toElement() const {
uint16_t family = CfgMgr::instance().getFamily();