# Core Engine and APIs

**URL:** https://dmap-community.ductus.global/c/core-engine-and-apis/6.md

[Latest](https://dmap-community.ductus.global/latest.md) · [Categories](https://dmap-community.ductus.global/categories.md)

---

## [About the Core Engine and APIs category](https://dmap-community.ductus.global/t/about-the-core-engine-and-apis-category/14)

<div class="topic-metadata">

**Author:** [@jlawitzke](https://dmap-community.ductus.global/u/jlawitzke)\
**Replies:** 0\
**Last updated:** [February 13, 2015, 3:25pm UTC](https://dmap-community.ductus.global/t/about-the-core-engine-and-apis-category/14 "2015-02-13T15:25:08Z")

</div>

Discussion about the ConfD Core Engine and APIs. This category is for discussing the ConfD Core Engine architecture, features, and APIs. CDB APIs should be discussed in the CDB and CDB APIs category. All other APIs s…

---

## [Different libcrypto Requirements in Confd 8 ARM64 and AMD64](https://dmap-community.ductus.global/t/different-libcrypto-requirements-in-confd-8-arm64-and-amd64/5011)

<div class="topic-metadata">

**Author:** [@ankitrathore](https://dmap-community.ductus.global/u/ankitrathore)\
**Replies:** 6\
**Last updated:** [August 17, 2026, 5:41am UTC](https://dmap-community.ductus.global/t/different-libcrypto-requirements-in-confd-8-arm64-and-amd64/5011 "2026-08-17T05:41:38Z")

</div>

We are using the same confd (8.0.17.1) version for both amd64 and arm64. The amd64 binary depends on libcrypto.so.1.1, while the arm64 binary depends on libcrypto.so.1.0.0. Why do these binaries have different OpenSSL li…

---

## [Startup data store read access in confD](https://dmap-community.ductus.global/t/startup-data-store-read-access-in-confd/4981)

<div class="topic-metadata">

**Author:** [@kar3kn](https://dmap-community.ductus.global/u/kar3kn)\
**Replies:** 1\
**Last updated:** [November 10, 2025, 10:54pm UTC](https://dmap-community.ductus.global/t/startup-data-store-read-access-in-confd/4981 "2025-11-10T22:54:03Z")

</div>

Hi, I am trying to read the startup datastore using the MAAPI API from within the init\_cb callback. However, I am encountering the following error: Failed to start startup transaction: item does not exist. Code snippe…

---

## [Confd is stuck - does not send heartbeat / health check](https://dmap-community.ductus.global/t/confd-is-stuck-does-not-send-heartbeat-health-check/4976)

<div class="topic-metadata">

**Author:** [@yogevc](https://dmap-community.ductus.global/u/yogevc)\
**Replies:** 4\
**Last updated:** [September 1, 2025, 7:38pm UTC](https://dmap-community.ductus.global/t/confd-is-stuck-does-not-send-heartbeat-health-check/4976 "2025-09-01T19:38:40Z")

</div>

I’m subscribed to confd notifications: CONFD\_NOTIF\_HEARTBEAT | CONFD\_NOTIF\_HEALTH\_CHECKwith 10 and 13 seconds using confd\_notifications\_connect2()\`. When confd is loaded with lots of calls simultaneously (https, snmp…),…

---

## [Using maapi\_roll\_config() to read config rollback](https://dmap-community.ductus.global/t/using-maapi-roll-config-to-read-config-rollback/4930)

<div class="topic-metadata">

**Author:** [@ice](https://dmap-community.ductus.global/u/ice)\
**Replies:** 4\
**Last updated:** [April 11, 2025, 12:11pm UTC](https://dmap-community.ductus.global/t/using-maapi-roll-config-to-read-config-rollback/4930 "2025-04-11T12:11:24Z")

</div>

Hi, I’m trying to use maapi\_roll\_config() to read the actual rollback configuration after a commit has been done. I call maapi\_roll\_config() after have received a commit Notification. However, I tried many things, but I…

---

## [CONFD Crash generated](https://dmap-community.ductus.global/t/confd-crash-generated/4911)

<div class="topic-metadata">

**Author:** [@kabhijeet](https://dmap-community.ductus.global/u/kabhijeet)\
**Replies:** 3\
**Last updated:** [April 7, 2025, 3:45pm UTC](https://dmap-community.ductus.global/t/confd-crash-generated/4911 "2025-04-07T15:45:35Z")

</div>

Hi Team We are using confd version 8.0 and saw below crash once while schema upgrade(MAAPI\_PERFORM\_UPGRADE) was triggered. Any pointers why the crash happened ? Please let me know if additional logs are needed. =CRASH…

---

## [How to assign linux user/group on conf local authentication methods](https://dmap-community.ductus.global/t/how-to-assign-linux-user-group-on-conf-local-authentication-methods/4859)

<div class="topic-metadata">

**Author:** [@arthurMa94](https://dmap-community.ductus.global/u/arthurMa94)\
**Replies:** 3\
**Last updated:** [January 7, 2025, 2:02am UTC](https://dmap-community.ductus.global/t/how-to-assign-linux-user-group-on-conf-local-authentication-methods/4859 "2025-01-07T02:02:05Z")

</div>

Hello, I am porting CONFD to a linux system using local authentication. As I read the user guide of confd, it shows data in file “/etc/passwd” and “/etc/group” will be used for local authentication. And group info will…

---

## [Proper way to check operational data list existence](https://dmap-community.ductus.global/t/proper-way-to-check-operational-data-list-existence/4827)

<div class="topic-metadata">

**Author:** [@roy](https://dmap-community.ductus.global/u/roy)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 3:43am UTC](https://dmap-community.ductus.global/t/proper-way-to-check-operational-data-list-existence/4827 "2024-11-26T03:43:03Z")

</div>

Hi, I have the following data model, container device { … list meas { config false; key rnti; leaf rnti { type int; } leaf data { config false; type int; } … } } The meas is an operational data list and …

---

## [NETCONF call home over tls](https://dmap-community.ductus.global/t/netconf-call-home-over-tls/4819)

<div class="topic-metadata">

**Author:** [@vat22](https://dmap-community.ductus.global/u/vat22)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 3:11am UTC](https://dmap-community.ductus.global/t/netconf-call-home-over-tls/4819 "2024-11-26T03:11:27Z")

</div>

In confd, is it possible to run call home over tls? I’m searching for something similar to the way maapi\_netconf\_ssh\_call\_home works. Thanks!

---

## [End-of-life for OpenSSL](https://dmap-community.ductus.global/t/end-of-life-for-openssl/4524)

<div class="topic-metadata">

**Author:** [@awright](https://dmap-community.ductus.global/u/awright)\
**Replies:** 2\
**Last updated:** [August 28, 2024, 7:16pm UTC](https://dmap-community.ductus.global/t/end-of-life-for-openssl/4524 "2024-08-28T19:16:28Z")

</div>

OpenSSL 1.0.2 (LTS) has been end-of-life since 31 Dec 2019, and OpenSSL 1.1.0 since 11 Sep 2019, and now OpenSSL 1.1.1 (LTS) has also reached end-of-life (OpenSSL 1.1.1 End of Life - OpenSSL Blog). Erlang OTP 24.3 (Erla…

---

## [Validation\_info](https://dmap-community.ductus.global/t/validation-info/4752)

<div class="topic-metadata">

**Author:** [@bjeremy](https://dmap-community.ductus.global/u/bjeremy)\
**Replies:** 1\
**Last updated:** [August 16, 2024, 12:44pm UTC](https://dmap-community.ductus.global/t/validation-info/4752 "2024-08-16T12:44:08Z")

</div>

I’m trying to find out if there is a way to differentiate between a ‘commit’ and a ‘commit check’ from wthin a validation callback. I noticed that confd\_trans\_ctx has a member ‘int validation\_info’ and that it is set to…

---

## [Output during a commit check](https://dmap-community.ductus.global/t/output-during-a-commit-check/4751)

<div class="topic-metadata">

**Author:** [@bjeremy](https://dmap-community.ductus.global/u/bjeremy)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 6:48am UTC](https://dmap-community.ductus.global/t/output-during-a-commit-check/4751 "2024-08-14T06:48:02Z")

</div>

During a commit or a commit check we can implement a validation callback and during the transaction, if the validation fails (CONFD\_VALIDATION\_WARN) we can use confd\_trans\_seterr to set the warning message and this messa…

---

## [How to figure out rollback of a transaction in transformer](https://dmap-community.ductus.global/t/how-to-figure-out-rollback-of-a-transaction-in-transformer/4735)

<div class="topic-metadata">

**Author:** [@phani](https://dmap-community.ductus.global/u/phani)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 1:50pm UTC](https://dmap-community.ductus.global/t/how-to-figure-out-rollback-of-a-transaction-in-transformer/4735 "2024-07-25T13:50:03Z")

</div>

Hi, When a transaction fails how to figure out , this transaction got rolled back in transformer ? By the time, confd calls, stop transformation, if the transaction got rolled back, then, all the hidden cdb mib change…

---

## [Getting ERR\_BAD\_CONFIG intermittently while loading schema](https://dmap-community.ductus.global/t/getting-err-bad-config-intermittently-while-loading-schema/4682)

<div class="topic-metadata">

**Author:** [@ankitrathore](https://dmap-community.ductus.global/u/ankitrathore)\
**Replies:** 4\
**Last updated:** [May 29, 2024, 3:26pm UTC](https://dmap-community.ductus.global/t/getting-err-bad-config-intermittently-while-loading-schema/4682 "2024-05-29T15:26:37Z")

</div>

Hi , i am getting below error intermittently while loading schema via java maapi api. com.tailf.maapi.MaapiException: Internal error: internal and error code ERR\_BAD\_CONFIG

---

## [CLI tab completion not work in list configurations with multiple keys](https://dmap-community.ductus.global/t/cli-tab-completion-not-work-in-list-configurations-with-multiple-keys/3605)

<div class="topic-metadata">

**Author:** [@Fei.Du](https://dmap-community.ductus.global/u/Fei.Du)\
**Replies:** 9\
**Last updated:** [April 5, 2024, 7:22am UTC](https://dmap-community.ductus.global/t/cli-tab-completion-not-work-in-list-configurations-with-multiple-keys/3605 "2024-04-05T07:22:41Z")

</div>

Hi, CLI tab completion not work in some list with multiple keys. If the list is not marked as ordered-by user in the YANG data model, the tab completion not work with the second key. The callbacks are triggered in di…

---

## [Get the decrypted data in the restconf response](https://dmap-community.ductus.global/t/get-the-decrypted-data-in-the-restconf-response/4670)

<div class="topic-metadata">

**Author:** [@ankitrathore](https://dmap-community.ductus.global/u/ankitrathore)\
**Replies:** 1\
**Last updated:** [April 1, 2024, 7:03pm UTC](https://dmap-community.ductus.global/t/get-the-decrypted-data-in-the-restconf-response/4670 "2024-04-01T19:03:41Z")

</div>

I have define a leaf of type tailf:aes-cfb-128-encrypted-string as below and if I get the data via rest-conf , its coming in encrypted format. Is there any parameter to get the decrypted value in the restconf response? …

---

## [OpenSSL3.0 and high availability](https://dmap-community.ductus.global/t/openssl3-0-and-high-availability/4655)

<div class="topic-metadata">

**Author:** [@rplevel](https://dmap-community.ductus.global/u/rplevel)\
**Replies:** 3\
**Last updated:** [March 12, 2024, 5:06pm UTC](https://dmap-community.ductus.global/t/openssl3-0-and-high-availability/4655 "2024-03-12T17:06:48Z")

</div>

Hi, Not having OpenSSL3 supported is a known fact. But, recompiling the crypto.so, uncommenting crypto related configuration from the confd.conf and annotating any hashing and encryption, defined in the data model with …

---

## [\_confd.cs\_node\_cd python API issue in ConfD 8.x.x](https://dmap-community.ductus.global/t/confd-cs-node-cd-python-api-issue-in-confd-8-x-x/4614)

<div class="topic-metadata">

**Author:** [@orestis](https://dmap-community.ductus.global/u/orestis)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 2:10pm UTC](https://dmap-community.ductus.global/t/confd-cs-node-cd-python-api-issue-in-confd-8-x-x/4614 "2024-01-24T14:10:22Z")

</div>

Hi all, I’m sharing here a simple python script using the ConfD python API to get - for example - the ConfD state: import os import confd import \_confd import socket from \_confd import maapi \_maapi\_sock = None \_confd\_i…

---

## [Audit log messages getting throttled](https://dmap-community.ductus.global/t/audit-log-messages-getting-throttled/4597)

<div class="topic-metadata">

**Author:** [@OmkarP](https://dmap-community.ductus.global/u/OmkarP)\
**Replies:** 0\
**Last updated:** [January 4, 2024, 11:06am UTC](https://dmap-community.ductus.global/t/audit-log-messages-getting-throttled/4597 "2024-01-04T11:06:33Z")

</div>

Im facing issue if im trying to add or delete multiple configuration using RESTCONF im seeing some messages getting throttled. I have enabled audit logs and auditLogCommit as true.

---

## [Get\_Object always on list entry level](https://dmap-community.ductus.global/t/get-object-always-on-list-entry-level/4590)

<div class="topic-metadata">

**Author:** [@charlie.zha](https://dmap-community.ductus.global/u/charlie.zha)\
**Replies:** 1\
**Last updated:** [December 15, 2023, 1:11pm UTC](https://dmap-community.ductus.global/t/get-object-always-on-list-entry-level/4590 "2023-12-15T13:11:21Z")

</div>

Here is a example yang structure ±-rw toplist\* \[id\] | ±-rw id string | ±-rw config | ±-ro hwaddr? string \<-----------callpoint | ±-ro hwaddr2? string | ±-ro hwaddr3? s…

---

## [Issue in starting ConfD phase2](https://dmap-community.ductus.global/t/issue-in-starting-confd-phase2/4454)

<div class="topic-metadata">

**Author:** [@SriniT](https://dmap-community.ductus.global/u/SriniT)\
**Replies:** 23\
**Last updated:** [October 31, 2023, 10:05pm UTC](https://dmap-community.ductus.global/t/issue-in-starting-confd-phase2/4454 "2023-10-31T22:05:38Z")

</div>

Hi Team, In our application, we are trying to upgrade ConfD from 6.6.1 to 8.0.4. While starting ConfD from phase1 to phase2, we are facing the below exception, Maapi maapi = null; try (Socket cdbSocket = new Socket("…

---

## [Control socket closed with error -2 and then ConfD client exit with "INTERNAL ERROR"](https://dmap-community.ductus.global/t/control-socket-closed-with-error-2-and-then-confd-client-exit-with-internal-error/3852)

<div class="topic-metadata">

**Author:** [@hzpfly](https://dmap-community.ductus.global/u/hzpfly)\
**Replies:** 12\
**Last updated:** [October 27, 2023, 7:27pm UTC](https://dmap-community.ductus.global/t/control-socket-closed-with-error-2-and-then-confd-client-exit-with-internal-error/3852 "2023-10-27T19:27:41Z")

</div>

Hi tail-f support, We met an issue that the control socket between ConfdD and its client closed with unknown reason. The error code is -2. Here is the log of ConfD: 217553 \<CRIT\> 29-Sep-2021::09:02:14.424 welktx08vzwc…

---

## [Avoiding get\_case call after get\_next\_object](https://dmap-community.ductus.global/t/avoiding-get-case-call-after-get-next-object/4541)

<div class="topic-metadata">

**Author:** [@nimccall](https://dmap-community.ductus.global/u/nimccall)\
**Replies:** 3\
**Last updated:** [October 9, 2023, 4:11pm UTC](https://dmap-community.ductus.global/t/avoiding-get-case-call-after-get-next-object/4541 "2023-10-09T16:11:06Z")

</div>

I have implemented the get\_next\_object callback but my list contains a choice statement (something like the example below): list adjacency { key "index"; leaf index { type uint8; } choice adj-type { mand…

---

## [External Data vs Action (confd.dp High level API)](https://dmap-community.ductus.global/t/external-data-vs-action-confd-dp-high-level-api/4483)

<div class="topic-metadata">

**Author:** [@john1](https://dmap-community.ductus.global/u/john1)\
**Replies:** 1\
**Last updated:** [June 24, 2023, 10:43pm UTC](https://dmap-community.ductus.global/t/external-data-vs-action-confd-dp-high-level-api/4483 "2023-06-24T22:43:58Z")

</div>

Hi everyone, during theses days i was reading the documentation of CONFD + the High Level API. and i’m was struggeling to manage a simple case for an external Data provider with the High level API … i’ve seen sme exam…

---

## [Enabling REST & querying CDB in ConfD 8.0.4](https://dmap-community.ductus.global/t/enabling-rest-querying-cdb-in-confd-8-0-4/4458)

<div class="topic-metadata">

**Author:** [@SriniT](https://dmap-community.ductus.global/u/SriniT)\
**Replies:** 2\
**Last updated:** [May 29, 2023, 8:44am UTC](https://dmap-community.ductus.global/t/enabling-rest-querying-cdb-in-confd-8-0-4/4458 "2023-05-29T08:44:54Z")

</div>

Hi, ConfD 6.6.1 supports \<rest\> under confd.conf file. \<confdConfig xmlns="http://tail-f.com/ns/confd\_cfg/1.0"\> ... \<rest\> \<enabled\>true\</enabled\> \</rest\> Along with this, by enabling below, we were able to query…

---

## [Confd does not release netconf port after successful netconf-disable commit](https://dmap-community.ductus.global/t/confd-does-not-release-netconf-port-after-successful-netconf-disable-commit/4421)

<div class="topic-metadata">

**Author:** [@yogevc](https://dmap-community.ductus.global/u/yogevc)\
**Replies:** 12\
**Last updated:** [May 4, 2023, 8:13am UTC](https://dmap-community.ductus.global/t/confd-does-not-release-netconf-port-after-successful-netconf-disable-commit/4421 "2023-05-04T08:13:40Z")

</div>

Hi, I have 2 links from my schema to confd schema: leaf enabled { tailf:info "Netconf status"; type boolean; tailf…

---

## [Compiling non-rfc compliant mib](https://dmap-community.ductus.global/t/compiling-non-rfc-compliant-mib/4356)

<div class="topic-metadata">

**Author:** [@sandhyak](https://dmap-community.ductus.global/u/sandhyak)\
**Replies:** 1\
**Last updated:** [February 23, 2023, 3:59pm UTC](https://dmap-community.ductus.global/t/compiling-non-rfc-compliant-mib/4356 "2023-02-23T15:59:21Z")

</div>

Hi, We are trying provide support for a snmp agent simulator using a customer provided mib which is non-rfc compliant. When comping the mib we are getting the below error. Yang/txxx.mib:3443: last subidentifier assign…

---

## [Confd\_send\_notification when memory is freed?](https://dmap-community.ductus.global/t/confd-send-notification-when-memory-is-freed/4345)

<div class="topic-metadata">

**Author:** [@sdf](https://dmap-community.ductus.global/u/sdf)\
**Replies:** 4\
**Last updated:** [February 23, 2023, 1:56pm UTC](https://dmap-community.ductus.global/t/confd-send-notification-when-memory-is-freed/4345 "2023-02-23T13:56:44Z")

</div>

Hi Community, Do you know how memory is freed after call API confd\_notification\_send() to send notifications? From manpage, I can see the notification was queued for delivery. But when it will be freed? In our notifie…

---

## [How to free previously allocated memory when loading new schemas from ConfD?](https://dmap-community.ductus.global/t/how-to-free-previously-allocated-memory-when-loading-new-schemas-from-confd/4330)

<div class="topic-metadata">

**Author:** [@yifangzhuhou](https://dmap-community.ductus.global/u/yifangzhuhou)\
**Replies:** 1\
**Last updated:** [January 30, 2023, 5:10pm UTC](https://dmap-community.ductus.global/t/how-to-free-previously-allocated-memory-when-loading-new-schemas-from-confd/4330 "2023-01-30T17:10:41Z")

</div>

Hi, I notice the description for confd\_free\_schemas as below: There is normally no need to call this function, since the memory will be automatically freed/unmapped if a new schema loading is done, or when the process…

---

## [Confd\_fd\_ready for ctrl socket returns CONFD\_ERR with error number 18](https://dmap-community.ductus.global/t/confd-fd-ready-for-ctrl-socket-returns-confd-err-with-error-number-18/4322)

<div class="topic-metadata">

**Author:** [@Haripriya](https://dmap-community.ductus.global/u/Haripriya)\
**Replies:** 1\
**Last updated:** [January 24, 2023, 12:19pm UTC](https://dmap-community.ductus.global/t/confd-fd-ready-for-ctrl-socket-returns-confd-err-with-error-number-18/4322 "2023-01-24T12:19:30Z")

</div>

Hi, For Netconf notification support, we created the ctrl socket and started polling. Later we build the worker socket and use the confd\_register\_notification\_stream API to register Netconf stream. However, we could …

[Next page](https://dmap-community.ductus.global/c/core-engine-and-apis/6.md?page=1)
