Hi, I am having the below yang,
container bgp-neighbor-data {
tailf:callpoint show-oper-cli;
config false;
leaf source-ppeid {
type string;
}
list neighbors {
key "neighbor";
leaf neighbor {
type string;
}
leaf local-as {
type uint32;
}
list address-family {
key "address-family-name";
leaf source-ppeid {
type string;
}
leaf address-family-name {
type string;
}
list inbound-route-map {
key "name";
leaf name {
type string;
}
leaf-list rules {
type string;
}
}
}
}
}
when I am trying to send data for “rules” which is a leaf-list. I am getting error saying that Not a leaf-list value. whenever I am processing a nested-list I am returning C_NOEXISTS for list so that I get a get_next_object callback for nested-list, but in this call while processing a nested-list, I got a leaf-list, how to process that, should I still send a C_NOEXISTS. when will get_elem() be called for leaf-list. can someone explain me the flow. I am using python for implementation.