]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3586] addressed review comments
authorRazvan Becheriu <razvan@isc.org>
Tue, 8 Oct 2024 10:27:20 +0000 (13:27 +0300)
committerRazvan Becheriu <razvan@isc.org>
Wed, 9 Oct 2024 13:10:06 +0000 (13:10 +0000)
doc/sphinx/arm/hooks-mysql.rst
doc/sphinx/arm/hooks-pgsql.rst
src/bin/dhcp4/tests/config_parser_unittest.cc
src/bin/dhcp6/tests/config_parser_unittest.cc

index 7f4864a01434aac9967721b32bf84607a1814346..c67464f407f9ccc4bc825cfef66b596df3ea110b 100644 (file)
@@ -9,6 +9,11 @@ This hook library implements MySQL database storage for:
  - Host Backend
  - Configuration Backend
 
+.. _mysql-configuration-backend:
+
+MySQL Configuration Backend
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
 This hook library works in conjunction with :ischooklib:`libdhcp_cb_cmds.so` to
 implement the API to create, read, update, and delete (CRUD) the configuration
 in a MySQL database. Please see :ref:`hooks-cb-cmds` for more details.
index 6ef2ee7080c6275d9da279afdf06ca794385a038..3489134d11f0ad09b52f5a45501d0baf195ea57e 100644 (file)
@@ -9,6 +9,11 @@ This hook library implements PostgreSQL database storage for:
  - Host Backend
  - Configuration Backend
 
+.. _pgsql-configuration-backend:
+
+PostgreSQL Configuration Backend
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
 This hook library works in conjunction with :ischooklib:`libdhcp_cb_cmds.so` to
 implement the API to create, read, update, and delete (CRUD) the configuration
 in a PostgreSQL database. Please see :ref:`hooks-cb-cmds` for more details.
index 2b87b77f536c3b195f6578e5c7b71779ce515356..d310a17ebd72d9c6a094c703b216b11488e51927 100644 (file)
@@ -7378,8 +7378,8 @@ TEST_F(Dhcp4ParserTest, configControlInfoNoFactory) {
     // Should fail because "type=mysql" has no factories.
     configure(config, CONTROL_RESULT_ERROR,
               "during update from config backend database: "
-              "The Kea server has not been compiled with support for database "
-              "type: mysql. Did you forget to use --with-mysql during "
+              "The Kea server has not been compiled with support for configuration "
+              "database type: mysql. Did you forget to use --with-mysql during "
               "compilation or to load libdhcp_mysql hook library?");
 }
 
index 464a61d2366699cf101b48b7c1e35b169c0a5b99..3b50a5b57340ba48519947b6fcab8ac8f29a502e 100644 (file)
@@ -8219,8 +8219,8 @@ TEST_F(Dhcp6ParserTest, configControlInfoNoFactory) {
     // Should fail because "type=mysql" has no factories.
     configure(config, CONTROL_RESULT_ERROR,
               "during update from config backend database: "
-              "The Kea server has not been compiled with support for database "
-              "type: mysql. Did you forget to use --with-mysql during "
+              "The Kea server has not been compiled with support for configuration "
+              "database type: mysql. Did you forget to use --with-mysql during "
               "compilation or to load libdhcp_mysql hook library?");
 }