For Example:
leaf parent
{
leaf value2
{
tailf:info "value2";
type string;
mandatory true;
default "Enabled";
}
leaf value3
{
tailf:info "value3";
type int32;
mandatory true;
default "1";
}
}
If value2 is Disabled we will not allow deleting this config(the parent node itself should not be allowed to delete).
Tried must statements not able to figure out conditions