I have a list with many leaves. As part of some of the leaf entries, i have some validations to be done.
Now, how do i add validation on the list node delete ?
list xxx {
…
tailf:validate my_func <<<<<<<<<<< this gets called on any change in list
leaf aaa {
…
tailf:validate my_func1
}
leaf bbb {
…
tailf:validate my_func1
}
leaf cccc {
… <<<< no validation >>>
}
…
}