Hi,
I am trying to implement a callpoint in confd version 6.7.4. As per my understanding, implementation for leaf-list has changed as compared to the previous confd versions (6.4).
So I tried implementing leaf-list inside a list (arpe) in 5c-stats example and that is working fine. But I am not able get the keypath for leaf-list in case it is defined inside a multiple nested list in yang.
Yang Model:
grouping _test_data {
list company {
leaf name {
type string;
mandatory true;
}
leaf-list task{
type string;
}
}
}
container arpentries {
config false;
tailf:callpoint arpe;
list arpe {
key "ip ifname";
max-elements 1024;
leaf ip {
type inet:ip-address;
}
leaf ifname {
type string;
}
leaf hwaddr {
type string;
mandatory true;
}
leaf permanent {
type boolean;
mandatory true;
}
leaf published {
type boolean;
mandatory true;
}
uses _test_data;
}
}
}
My question is:
- Does confd support leaf-list get_next() implementation inside a nested list?
- If yes, How to handle it for callpoint?
Thankyou