Hey i’m new to YANG and Conf,
I need to restrict the xpath as incomplete, for that i have tried it below cases it did’t get it.
Try : 1,
tailf:annotate “/per:equipment/per:port” {
must " current()/portId != ‘TPP’ "{
tailf:cli-incomplete-show-path;
}
}
Error: unknow keyword “tailf:cli-incomplete-show-path;”;
Try : 2,
tailf:annotate “/per:equipment/per:port” {
when " current()/portId = ‘TPP’ "{
tailf:cli-incomplete-show-path;
}
}
Error: unknow keyword “tailf:cli-incomplete-show-path;”;
Try : 3,
tailf:annotate “/per:equipment/per:port” {
when " current()/portId = ‘TPP’ ";
tailf:cli-incomplete-show-path;
}
Error: It was restrict it for all port
Try : 4,
tailf:annotate “/per:equipment/per:port” {
when " current()/portId = ‘TPP’ ";
tailf:cli-incomplete-show-path;
}
Error: Port is not displaying
can any one help.