If cli-custom-error is used to print the customized error message within a leaf it work perfectly.
leaf reuse-max-time {
tailf:info "The time corresponding to the last reuse list";
tailf:cli-full-command;
type uint32 ;
tailf:cli-custom-error "out of range";
}
When cli-custom-error is used along with cli-drop-node-name the custom message is not displayed.
leaf address-mask {
type inet:ipv6-prefix;
tailf:cli-custom-error "ipv6 address is required";
tailf:cli-drop-node-name;
}
If the cli-drop-node-name is removed the customized error is printed properly.
Is there any method to use cli-custom-error along with cli-drop-node-name.