diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2017-04-22 21:56:33 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2017-04-22 21:56:33 +0200 |
commit | 8b561ef8543dceb6e4564c01becf98cee382004c (patch) | |
tree | 78fb264415dc79e71d61737e032bfafd420081d8 /src/lib/dhcpsrv/cfg_hosts.cc | |
parent | [5208a] toElement() moved from CfgHosts to Host (diff) | |
download | kea-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.cc | 25 |
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(); |