I have a model with nested list. I have implemented the get_next_object based on the design you had suggested in another topic.
As the list has 433 entries i have designed the get_next_object function to return 100 objects at a time. I have also made sure that proper next values are also sent with confd_data_reply_next_object_arrays function. I am noticing that after the first set of 100 objects are sent back to confd with proper next value , the very next call back to get_next_object had the next value as 32 (its random). I was expecting it to be 100. Please note as i have a list of 433 elements , so with existing design i am expecting callbacks atleast 5 times , each call carrying back 100 objects to confd. But the actual execution doesn’t match with my understanding as sometimes the callback has next value as 3 more than the previous next value. The value of next is not in multiples of 100 as expected.
Overall output in both CLI and netconf shows 433 entries. So no data is lost. But the number of confd calls are high.
Along with the logic of sending back 100 objects , do i need to set some more logic?