2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

removed consistency parameters from translator

This commit is contained in:
Razvan Becheriu
2019-03-21 18:27:19 +02:00
parent cafb08a0ec
commit 30db044fd7
2 changed files with 0 additions and 20 deletions

View File

@@ -95,14 +95,6 @@ TranslatorDatabase::getDatabaseKea(const string& xpath) {
if (keyspace) {
result->set("keyspace", keyspace);
}
ConstElementPtr consistency = getItem(xpath + "/consistency");
if (consistency) {
result->set("consistency", consistency);
}
ConstElementPtr serial_consistency = getItem(xpath + "/serial-consistency");
if (serial_consistency) {
result->set("serial-consistency", serial_consistency);
}
ConstElementPtr max_reconnect = getItem(xpath + "/max-reconnect-tries");
if (max_reconnect) {
result->set("max-reconnect-tries", max_reconnect);
@@ -209,14 +201,6 @@ TranslatorDatabase::setDatabaseKea(const string& xpath,
if (keyspace) {
setItem(xpath + "/keyspace", keyspace, SR_STRING_T);
}
ConstElementPtr consistency = elem->get("consistency");
if (consistency) {
setItem(xpath + "/consistency", consistency, SR_STRING_T);
}
ConstElementPtr serial_consistency = elem->get("serial-consistency");
if (serial_consistency) {
setItem(xpath + "/serial-consistency", serial_consistency, SR_STRING_T);
}
ConstElementPtr max_reconnect = elem->get("max-reconnect-tries");
if (max_reconnect) {
setItem(xpath + "/max-reconnect-tries", max_reconnect, SR_UINT32_T);

View File

@@ -30,8 +30,6 @@ namespace yang {
/// "connect-timeout": <connect timeout>,
/// "contact-points": <contact points>,
/// "keyspace": <keyspace>,
/// "consistency": <consistency>,
/// "serial-consistency": <serial-consistency>,
/// "max-reconnect-tries": <maximum reconnect tries>,
/// "reconnect-wait-time": <reconnect wait time>,
/// "request-timeout": <request timeout>,
@@ -58,8 +56,6 @@ namespace yang {
/// +--rw connect-timeout? uint32
/// +--rw contact-points? string
/// +--rw keyspace? string
/// +--rw consistency? string
/// +--rw serial-consistency? string
/// +--rw max-reconnect-tries? uint32
/// +--rw reconnect-wait-time? uint32
/// +--rw request-timeout? uint32