mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
removed consistency parameters from translator
This commit is contained in:
@@ -95,14 +95,6 @@ TranslatorDatabase::getDatabaseKea(const string& xpath) {
|
|||||||
if (keyspace) {
|
if (keyspace) {
|
||||||
result->set("keyspace", 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");
|
ConstElementPtr max_reconnect = getItem(xpath + "/max-reconnect-tries");
|
||||||
if (max_reconnect) {
|
if (max_reconnect) {
|
||||||
result->set("max-reconnect-tries", max_reconnect);
|
result->set("max-reconnect-tries", max_reconnect);
|
||||||
@@ -209,14 +201,6 @@ TranslatorDatabase::setDatabaseKea(const string& xpath,
|
|||||||
if (keyspace) {
|
if (keyspace) {
|
||||||
setItem(xpath + "/keyspace", keyspace, SR_STRING_T);
|
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");
|
ConstElementPtr max_reconnect = elem->get("max-reconnect-tries");
|
||||||
if (max_reconnect) {
|
if (max_reconnect) {
|
||||||
setItem(xpath + "/max-reconnect-tries", max_reconnect, SR_UINT32_T);
|
setItem(xpath + "/max-reconnect-tries", max_reconnect, SR_UINT32_T);
|
||||||
|
@@ -30,8 +30,6 @@ namespace yang {
|
|||||||
/// "connect-timeout": <connect timeout>,
|
/// "connect-timeout": <connect timeout>,
|
||||||
/// "contact-points": <contact points>,
|
/// "contact-points": <contact points>,
|
||||||
/// "keyspace": <keyspace>,
|
/// "keyspace": <keyspace>,
|
||||||
/// "consistency": <consistency>,
|
|
||||||
/// "serial-consistency": <serial-consistency>,
|
|
||||||
/// "max-reconnect-tries": <maximum reconnect tries>,
|
/// "max-reconnect-tries": <maximum reconnect tries>,
|
||||||
/// "reconnect-wait-time": <reconnect wait time>,
|
/// "reconnect-wait-time": <reconnect wait time>,
|
||||||
/// "request-timeout": <request timeout>,
|
/// "request-timeout": <request timeout>,
|
||||||
@@ -58,8 +56,6 @@ namespace yang {
|
|||||||
/// +--rw connect-timeout? uint32
|
/// +--rw connect-timeout? uint32
|
||||||
/// +--rw contact-points? string
|
/// +--rw contact-points? string
|
||||||
/// +--rw keyspace? string
|
/// +--rw keyspace? string
|
||||||
/// +--rw consistency? string
|
|
||||||
/// +--rw serial-consistency? string
|
|
||||||
/// +--rw max-reconnect-tries? uint32
|
/// +--rw max-reconnect-tries? uint32
|
||||||
/// +--rw reconnect-wait-time? uint32
|
/// +--rw reconnect-wait-time? uint32
|
||||||
/// +--rw request-timeout? uint32
|
/// +--rw request-timeout? uint32
|
||||||
|
Reference in New Issue
Block a user