I am using maapi_cursor in my code for a list. The list has multiple keys. So, i am doing maapi_cd with %*x with mc.n,mc.keys but all the keys are coming as joined and there is no space between them and maapi_cd is failing. Can anyone help if you have tried it out
container root {
container servers {
list server {
key “location name";
leaf location {
type string;
}
leaf name {
type string;
}
leaf ip {
type inet:ip-address;
mandatory true;
}
leaf port {
type inet:port-number;
mandatory true;
}
}
}
}