Hello Folks,
I am storing an operational data in CDB which I want to be persisted so that it can be reused across confd reboots. I have followed the steps as described in the user guide, which being:
cdb_start_session(sock, CDB_OPERATIONAL)
cdb_set_namespace
Bunch of CONFD_SET_TAG calls
cdb_end_session
Also, I have annotated the yang file with ‘tailf:cdb-oper’ and ‘tailf:persistent true’. Still, the operational data does not get persisted.
I have verified that the operational data does get updated by reading back the value after updating it, only thing is that it is not persisted. I starts again with the default value configured in the yang.
Great, then I suggest you compare with the $CONFD_DIR/examples.confd/cdb_oper/loadhist example, check what the issue might be, or post your related YANG and c-code so we can take a look at it.