cfgmgr.h \
client_class_def.h \
config_backend_dhcp4.h \
+ config_backend_dhcp6.h \
config_backend_dhcp4_mgr.h \
+ config_backend_dhcp6_mgr.h \
config_backend_pool_dhcp4.h \
+ config_backend_pool_dhcp6.h \
csv_lease_file4.h \
csv_lease_file6.h \
dhcpsrv_exceptions.h \
virtual OptionContainer
getAllOptions4(const db::ServerSelector& server_selector) const = 0;
- /// @brief Retrieves option modified after specified time.
+ /// @brief Retrieves options modified after specified time.
///
/// @param selector Server selector.
/// @param modification_time Lower bound option modification time.
getGlobalParameter4(const db::ServerSelector& selector,
const std::string& name) const = 0;
+ /// @brief Retrieves all global parameters modified after specified time.
+ ///
+ /// @param selector Server selector.
+ /// @param modification_time Lower bound parameter modification time.
/// @return Collection of global parameters.
virtual data::StampedValueCollection
getAllGlobalParameters4(const db::ServerSelector& selector) const = 0;
-// 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
void
ConfigBackendDHCPv4Mgr::destroy() {
- getConfigBackendDHCPv4MgrPtr().reset(new ConfigBackendDHCPv4Mgr());
+ getConfigBackendDHCPv4MgrPtr().reset();
}
ConfigBackendDHCPv4Mgr&
virtual OptionContainer
getAllOptions6(const db::ServerSelector& server_selector) const = 0;
- /// @brief Retrieves option modified after specified time.
+ /// @brief Retrieves options modified after specified time.
///
/// @param selector Server selector.
/// @param modification_time Lower bound option modification time.
getGlobalParameter6(const db::ServerSelector& selector,
const std::string& name) const = 0;
+ /// @brief Retrieves all global parameters modified after specified time.
+ ///
+ /// @param selector Server selector.
+ /// @param modification_time Lower bound parameter modification time.
/// @return Collection of global parameters.
virtual data::StampedValueCollection
getAllGlobalParameters6(const db::ServerSelector& selector) const = 0;
void
ConfigBackendDHCPv6Mgr::destroy() {
- getConfigBackendDHCPv6MgrPtr().reset(new ConfigBackendDHCPv6Mgr());
+ getConfigBackendDHCPv6MgrPtr().reset();
}
ConfigBackendDHCPv6Mgr&