Take router reconfiguration into use

The router parameters can now be reconfigured at runtime if the router
supports it. Both MaxAdmin and the REST API support it.
This commit is contained in:
Markus Mäkelä
2018-07-05 17:07:09 +03:00
parent a5e384fd29
commit 28ceb1bad8
3 changed files with 69 additions and 6 deletions

View File

@ -135,6 +135,15 @@ void service_update(SERVICE *service, char *router, char *user, char *auth);
*/
void service_add_parameters(SERVICE *service, const MXS_CONFIG_PARAMETER *param);
/**
* @brief Replace service parameter
*
* @param service Service to modify
* @param key Parameter name
* @param value Parameter value
*/
void service_replace_parameter(SERVICE *service, const char* key, const char* value);
/**
* @brief Set listener rebinding interval
*