2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00

[#3586] addressed review comments

This commit is contained in:
Razvan Becheriu 2024-10-08 13:27:20 +03:00
parent 264b7100cb
commit 89b561c638
4 changed files with 14 additions and 4 deletions

View File

@ -9,6 +9,11 @@ This hook library implements MySQL database storage for:
- Host Backend - Host Backend
- Configuration Backend - Configuration Backend
.. _mysql-configuration-backend:
MySQL Configuration Backend
~~~~~~~~~~~~~~~~~~~~~~~~~~~
This hook library works in conjunction with :ischooklib:`libdhcp_cb_cmds.so` to 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 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. in a MySQL database. Please see :ref:`hooks-cb-cmds` for more details.

View File

@ -9,6 +9,11 @@ This hook library implements PostgreSQL database storage for:
- Host Backend - Host Backend
- Configuration Backend - Configuration Backend
.. _pgsql-configuration-backend:
PostgreSQL Configuration Backend
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This hook library works in conjunction with :ischooklib:`libdhcp_cb_cmds.so` to 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 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. in a PostgreSQL database. Please see :ref:`hooks-cb-cmds` for more details.

View File

@ -7378,8 +7378,8 @@ TEST_F(Dhcp4ParserTest, configControlInfoNoFactory) {
// Should fail because "type=mysql" has no factories. // Should fail because "type=mysql" has no factories.
configure(config, CONTROL_RESULT_ERROR, configure(config, CONTROL_RESULT_ERROR,
"during update from config backend database: " "during update from config backend database: "
"The Kea server has not been compiled with support for database " "The Kea server has not been compiled with support for configuration "
"type: mysql. Did you forget to use --with-mysql during " "database type: mysql. Did you forget to use --with-mysql during "
"compilation or to load libdhcp_mysql hook library?"); "compilation or to load libdhcp_mysql hook library?");
} }

View File

@ -8219,8 +8219,8 @@ TEST_F(Dhcp6ParserTest, configControlInfoNoFactory) {
// Should fail because "type=mysql" has no factories. // Should fail because "type=mysql" has no factories.
configure(config, CONTROL_RESULT_ERROR, configure(config, CONTROL_RESULT_ERROR,
"during update from config backend database: " "during update from config backend database: "
"The Kea server has not been compiled with support for database " "The Kea server has not been compiled with support for configuration "
"type: mysql. Did you forget to use --with-mysql during " "database type: mysql. Did you forget to use --with-mysql during "
"compilation or to load libdhcp_mysql hook library?"); "compilation or to load libdhcp_mysql hook library?");
} }