13 #include <boost/shared_ptr.hpp>
164 if (entry->size() > 0) {
175 #endif // CFG_DBACCESS_H
std::list< std::string > host_db_access_
Holds host database access strings.
CfgHostDbAccess(const CfgDbAccess &super)
Constructor.
void setIPReservationsUnique(const bool unique)
Modifies the setting imposing whether the IP reservations are unique or can be non unique...
std::string getLeaseDbAccessString() const
Retrieves lease database access string.
bool getIPReservationsUnique() const
Returns the setting indicating if the IP reservations are unique or can be non unique.
boost::shared_ptr< Element > ElementPtr
std::list< std::string > getHostDbAccessStringList() const
Retrieves host database access string.
static ElementPtr createList(const Position &pos=ZERO_POSITION())
Creates an empty ListElement type ElementPtr.
boost::shared_ptr< const CfgDbAccess > ConstCfgDbAccessPtr
A pointer to the const CfgDbAccess.
void setLeaseDbAccessString(const std::string &lease_db_access)
Sets lease database access string.
static isc::data::ElementPtr toElementDbAccessString(const std::string &dbaccess)
Unparse an access string.
boost::shared_ptr< CfgDbAccess > CfgDbAccessPtr
A pointer to the CfgDbAccess.
std::string lease_db_access_
Holds lease database access string.
std::string getHostDbAccessString() const
Retrieves host database access string.
Abstract class for configuration Cfg_* classes.
CfgLeaseDbAccess(const CfgDbAccess &super)
Constructor.
Holds access parameters and the configuration of the lease and hosts database connection.
bool ip_reservations_unique_
Holds the setting whether IP reservations should be unique or can be non-unique.
utility class for unparsing
std::string getAccessString(const std::string &access_string) const
Returns lease or host database access string.
Defines the logger used by the top-level component of kea-dhcp-ddns.
CfgDbAccess()
Constructor.
void createManagers() const
Creates instance of lease manager and host data sources according to the configuration specified...
virtual isc::data::ElementPtr toElement() const
Unparse.
void setHostDbAccessString(const std::string &host_db_access, bool front=false)
Sets host database access string.
std::string appended_parameters_
Parameters to be appended to the database access strings.
virtual isc::data::ElementPtr toElement() const
Unparse.
void setAppendedParameters(const std::string &appended_parameters)
Sets parameters which will be appended to the database access strings.