I tried registering the “get_next
” and “get_next_object
” callbacks for this but confd throws this error.
I have confirmed that the types defined for the leaf nodes in yang and the types used in get_next_object are the same (uint64_t in this case)
Can you please suggest if I am missing anything?
This is the error log from confd dev logs:
22-Dec-2020::15:29:21.908 wan2 confd[1579]: devel-c get_next_object request for callpoint details path /packet-tracer:packet-capture/details
22-Dec-2020::15:29:21.909 wan2 confd[1579]: devel-c get_next_object succeeded for callpoint details path /packet-tracer:packet-capture/details
22-Dec-2020::15:29:21.909 wan2 confd[1579]: devel-c expected type int64, got uint64. for path /packet-tracer:packet-capture/details
In get_next_object callback, I am populating the confd_tag_value_t
structure and using the confd_data_reply_next_object_tag_value_array(tctx, val, num_elems, -1);
I have verified that this callback is hit and there is no error thrown from this callback.