Kea 2.5.8
cb_ctl_dhcp4.h
Go to the documentation of this file.
1// Copyright (C) 2019 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef CB_CTL_DHCP4_H
8#define CB_CTL_DHCP4_H
9
10#include <dhcpsrv/cb_ctl_dhcp.h>
12#include <dhcpsrv/srv_config.h>
13
14namespace isc {
15namespace dhcp {
16
26class CBControlDHCPv4 : public CBControlDHCP<ConfigBackendDHCPv4Mgr> {
27protected:
28
39 virtual void databaseConfigApply(const db::BackendSelector& backend_selector,
40 const db::ServerSelector& server_selector,
41 const boost::posix_time::ptime& lb_modification_time,
42 const db::AuditEntryCollection& audit_entries);
43};
44
45typedef boost::shared_ptr<CBControlDHCPv4> CBControlDHCPv4Ptr;
46
47} // end of namespace isc::dhcp
48} // end of namespace isc
49
50#endif // CB_CTL_DHCP4_H
Config Backend selector.
Server selector for associating objects in a database with specific servers.
Base class for implementing mechanisms to control the use of the Configuration Backends by DHCPv4 and...
Definition: cb_ctl_dhcp.h:27
Implementation of the mechanisms to control the use of the Configuration Backends by the DHCPv4 serve...
Definition: cb_ctl_dhcp4.h:26
virtual void databaseConfigApply(const db::BackendSelector &backend_selector, const db::ServerSelector &server_selector, const boost::posix_time::ptime &lb_modification_time, const db::AuditEntryCollection &audit_entries)
DHCPv4 server specific method to fetch and apply back end configuration into the local configuration.
Definition: cb_ctl_dhcp4.cc:47
boost::multi_index_container< AuditEntryPtr, boost::multi_index::indexed_by< boost::multi_index::ordered_non_unique< boost::multi_index::tag< AuditEntryObjectTypeTag >, boost::multi_index::composite_key< AuditEntry, boost::multi_index::const_mem_fun< AuditEntry, std::string, &AuditEntry::getObjectType >, boost::multi_index::const_mem_fun< AuditEntry, AuditEntry::ModificationType, &AuditEntry::getModificationType > > >, boost::multi_index::ordered_non_unique< boost::multi_index::tag< AuditEntryModificationTimeIdTag >, boost::multi_index::composite_key< AuditEntry, boost::multi_index::const_mem_fun< AuditEntry, boost::posix_time::ptime, &AuditEntry::getModificationTime >, boost::multi_index::const_mem_fun< AuditEntry, uint64_t, &AuditEntry::getRevisionId > > >, boost::multi_index::hashed_non_unique< boost::multi_index::tag< AuditEntryObjectIdTag >, boost::multi_index::const_mem_fun< AuditEntry, uint64_t, &AuditEntry::getObjectId > > > > AuditEntryCollection
Multi index container holding AuditEntry instances.
Definition: audit_entry.h:291
boost::shared_ptr< CBControlDHCPv4 > CBControlDHCPv4Ptr
Definition: cb_ctl_dhcp4.h:45
Defines the logger used by the top-level component of kea-lfc.