Hi experts,
I met a phenomenon that transaction-hook will not be triggered when creating a empty leaf.
Is there such limitation in ConfD APIs?
BR,
Harry Huang
Hi experts,
I met a phenomenon that transaction-hook will not be triggered when creating a empty leaf.
Is there such limitation in ConfD APIs?
BR,
Harry Huang
From the confd_lib_dp man page under confd_register_data_cb():
create()
This callback creates a new list entry, a presence container, or a leaf of type empty.
So when creating a leaf of type empty, the registered create() callback will be called (not the set_elem() callback) for in this case your transaction-hook.
Hi Cohult,
Thanks a lot!
BR,
Harry Huang