I have tried /confdConfig/defaultHandlingMode
It considers either report-all or trim or explicit as the valid values. But in all cases a ‘set’ is also done.
I want set to be done only for the specific leaf mentioned. The other attributes/leaf with default values must be seen only in case of ‘get’.
I use NETCONF interface to do a GET most of the time. But I can use CLI too.
looking into confd_lib.h, the structure confd_cs_node_info has a field confd_value_t *defval;.
So if you use some of the CS node procedures to get information about YANG model schema (see man page for confd_lib_lib), like confd_find_cs_node(), i assume check for node->defval != NULL will work (resp. if it’s not null, maybe extra check for node->defval.ctype != C_NOEXISTS, but i’m not sure if it’s needed, you can test it during implementation).