2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 06:25:34 +00:00

[#1375] added dbReconnect to host manager

This commit is contained in:
Razvan Becheriu
2020-11-06 18:25:13 +02:00
parent ff991eed99
commit eaa6810139
16 changed files with 334 additions and 35 deletions

View File

@@ -7,6 +7,7 @@
#ifndef PGSQL_HOST_DATA_SOURCE_H
#define PGSQL_HOST_DATA_SOURCE_H
#include <database/database_connection.h>
#include <dhcpsrv/base_host_data_source.h>
#include <pgsql/pgsql_connection.h>
#include <pgsql/pgsql_exchange.h>
@@ -73,6 +74,13 @@ public:
/// the destruction of member impl_.
virtual ~PgSqlHostDataSource();
/// @brief Return backend parameters
///
/// Returns the backend parameters
///
/// @return Parameters of the backend.
virtual isc::db::DatabaseConnection::ParameterMap getParameters() const;
/// @brief Adds a new host to the collection.
///
/// The method will insert the given host and all of its children (v4