Hi, we have such model: my_list is list which is created by backend code, should not created by user. Key my_list_id is RW leaf, leaf_a is RW leaf, leaf_b and leaf_c are RO leaf.
list my_list {
key my_list_id;
is_system_created;
leaf my_list_id {
type string;
}
leaf leaf_a {
type string;
}
leaf leaf_b {
config false;
type string;
}
leaf leaf_c {
config false;
type uint16;
}
}
- If I register callpoint on list, then ConfD can call get_next/get_elem to get operational data from our backend. However, ConfD thinks we’re using external database, and causes some candidate commit issue. We hope to use CDB.
- Then I try to register callpoint on my_list_id, leaf_b, and leaf_c rather than on list, but ConfD doesn’t call get_next to get the key value from our backend. I guess ConfD only wants to get key value from CDB because my_list_id is RW.
- It looks we should write my_list_id values into CDB. How can we write my_list_id values into CDB?
Thanks a lot.
Xiangping