]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5528] Updated doc, final improvements to tests
authorFrancis Dupont <fdupont@isc.org>
Sun, 11 Feb 2018 09:12:16 +0000 (10:12 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sun, 11 Feb 2018 09:12:16 +0000 (10:12 +0100)
src/lib/dhcpsrv/database_backends.dox
src/lib/dhcpsrv/libdhcpsrv.dox

index fa9ae65f4dd167d47efc52381060727b2a105253..4bfbc7f0407467d009c6e2dee3406d34a1f15e88 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2018 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
index a8dc6cca707eb5aba8eae8ccbe9ff5e3a1858d69..04775b69779b02303d237a5d3403a9ecb8d26a4c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2018 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -103,9 +103,10 @@ database. This object must implement the \ref isc::dhcp::BaseHostDataSource
 interface and its implementation is specific to the type of storage
 holding the reservations. For example, the host data source managing
 host reservations in the MySQL database is required to establish
-connection to the MySQL database and issue specific queries. Once
-implemented, the \ref isc::dhcp::HostMgr::create method must be updated
-to create an instance of this datasource. Note, that this instance is
+connection to the MySQL database and issue specific queries. A factory
+method creating an instance of a base host data source object must be
+registered (at global object initialization for built-in backends,
+dynamically for backends loaded at run-time). Note, that this instance is
 created as "alternate host data source" as opposed to the primary data
 source which returns host reservations specified in the configuration file.
 The primary data source is implemented internally in the