I have written a model including a read only container and list. And I implement the model using callpoint. I have implemented the get_elem(), get_next(), and num_instance() APIs for the callback. But the num_instance() is never called when I query this read only container and list.
Could you let me know when the num_instance() API will be called? Thanks.
My model is as below.
module test-ro {
namespace "http://test";
prefix tro;
container test-ro {
config false;
tailf:callpoint test;
list test-group {
key test-group-id;
description "Represents a group of test.";
leaf test-group-id {
type int8;
description "Identity of the test-group entry.";
}
leaf generation {
type int8;
}
}
}
}