Hi,
“show address_table lru 1 1”
i was able to collect leaf key values giving from cli
id = CONFD_GET_UINT16(&(keypath->v[1][0]));
id1 = CONFD_GET_UINT16(&(keypath->v[1][1]));
container address_table {
list lru {
tailf:callpoint olt;
config false;
tailf:cli-suppress-table;
key “device_index_lru olt_channel_index”;
leaf device_index_lru {
config false;
type uint16{
range “0 … 15”;
}
}
leaf olt_channel_index {
config false;
type uint16{
range “0 … 3”;
}
}
}
}
Extension to above i have to implement
"show address_table lru 1 1 alarm-type (ip | mac | subnet … ) 1 1 "
please help to collect name of alarm (ip | mac | subnet … ) instead of leaf values and yang modeling.
regards,
madhira