13 #include <boost/shared_ptr.hpp> 185 if (entry->size() > 0) {
196 #endif // CFG_DBACCESS_H std::list< std::string > host_db_access_
Holds host database access strings.
std::string getHostDbAccessString() const
Retrieves host database access string.
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...
boost::shared_ptr< Element > ElementPtr
void createManagers() const
Creates instance of lease manager and host data sources according to the configuration specified...
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.
std::string getAccessString(const std::string &access_string) const
Returns lease or host 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.
virtual isc::data::ElementPtr toElement() const
Unparse.
std::string lease_db_access_
Holds lease 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
Defines the logger used by the top-level component of kea-lfc.
CfgDbAccess()
Constructor.
std::string getLeaseDbAccessString() const
Retrieves lease database access string.
std::list< std::string > getHostDbAccessStringList() const
Retrieves host database access string.
bool extended_info_tables_enabled_
Holds the setting whether the lease extended info tables are enabled or disabled. ...
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.
void setExtendedInfoTablesEnabled(const bool enabled)
Modifies the setting whether the lease extended info tables are enabled.
virtual isc::data::ElementPtr toElement() const
Unparse.
bool getIPReservationsUnique() const
Returns the setting indicating if the IP reservations are unique or can be non unique.
void setAppendedParameters(const std::string &appended_parameters)
Sets parameters which will be appended to the database access strings.
bool getExtendedInfoTablesEnabled() const
Returns the setting indicating if lease extended info tables are enabled.