- 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.
- 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.
// 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?");
}
// 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?");
}