Hi
I would like to traverse a list and print the key values using index like
management_interfaces [0] = “abc”
management_interfaces [1] = “def”’
list management_interface_list {
key "management_interfaces";
description "Management Interfaces.";
leaf management_interfaces {
type string{
pattern "ip-(1|200)/(0|COM)/0/LCN[1-2]";
}
description
"Incoming interface for address translation,
Can be of either LCN1 or LCN2 interface.";
}
}
How shall i do it.?
example using confd_cmd maapi_get also fine
can anyone help here