Kea  1.9.9-git
cb_ctl_dhcp6.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_DHCP6_H
8 #define CB_CTL_DHCP6_H
9 
10 #include <dhcpsrv/cb_ctl_dhcp.h>
12 #include <dhcpsrv/srv_config.h>
13 
14 namespace isc {
15 namespace dhcp {
16 
26 class CBControlDHCPv6 : public CBControlDHCP<ConfigBackendDHCPv6Mgr> {
27 protected:
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 
45 typedef boost::shared_ptr<CBControlDHCPv6> CBControlDHCPv6Ptr;
46 
47 } // end of namespace isc::dhcp
48 } // end of namespace isc
49 
50 #endif // CB_CTL_DHCP6_H
Implementation of the mechanisms to control the use of the Configuration Backends by the DHCPv6 serve...
Definition: cb_ctl_dhcp6.h:26
boost::shared_ptr< CBControlDHCPv6 > CBControlDHCPv6Ptr
Definition: cb_ctl_dhcp6.h:45
Base class for implementing mechanisms to control the use of the Configuration Backends by DHCPv4 and...
Definition: cb_ctl_dhcp.h:27
Server selector for associating objects in a database with specific servers.
Defines the logger used by the top-level component of kea-dhcp-ddns.
Config Backend selector.
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)
DHCPv6 server specific method to fetch and apply back end configuration into the local configuration...
Definition: cb_ctl_dhcp6.cc:45
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