void createUpdateOptionDef6(const ServerSelector& server_selector,
const OptionDefinitionPtr& option_def) {
- createUpdateOptionDef
- (server_selector, option_def, "dhcp6",
- MySqlConfigBackendDHCPv6Impl::GET_OPTION_DEF6_CODE_SPACE,
- MySqlConfigBackendDHCPv6Impl::INSERT_OPTION_DEF6,
- MySqlConfigBackendDHCPv6Impl::UPDATE_OPTION_DEF6,
- MySqlConfigBackendDHCPv6Impl::CREATE_AUDIT_REVISION,
- MySqlConfigBackendDHCPv6Impl::INSERT_OPTION_DEF6_SERVER);
+ createUpdateOptionDef(server_selector, option_def, "dhcp6",
+ MySqlConfigBackendDHCPv6Impl::GET_OPTION_DEF6_CODE_SPACE,
+ MySqlConfigBackendDHCPv6Impl::INSERT_OPTION_DEF6,
+ MySqlConfigBackendDHCPv6Impl::UPDATE_OPTION_DEF6,
+ MySqlConfigBackendDHCPv6Impl::CREATE_AUDIT_REVISION,
+ MySqlConfigBackendDHCPv6Impl::INSERT_OPTION_DEF6_SERVER);
}
/// @brief Sends query to delete option definition by code and
});
}
-void MySqlConfigBackendImpl::createUpdateOptionDef
- (const db::ServerSelector& server_selector,
- const OptionDefinitionPtr& option_def,
- const std::string& space,
- const int& get_option_def_code_space,
- const int& insert_option_def,
- const int& update_option_def,
- const int& create_audit_revision,
- const int& insert_option_def_server)
-{
+void
+MySqlConfigBackendImpl::createUpdateOptionDef(const db::ServerSelector& server_selector,
+ const OptionDefinitionPtr& option_def,
+ const std::string& space,
+ const int& get_option_def_code_space,
+ const int& insert_option_def,
+ const int& update_option_def,
+ const int& create_audit_revision,
+ const int& insert_option_def_server) {
if (server_selector.amUnassigned()) {
isc_throw(NotImplemented, "managing configuration for no particular server"