Delete element callbacks

Hi,

we are working with external DB.
our yang contains few levels of sub containers:

container X
{
    Container Y
    {
        Container Z
    }
}

when we want to create element, we configure each container with its leafs and call commit. the commit cause create callbacks for each container (X, Y and Z) and set for the configured leafs.
when we want to delete element, we configure for each container its “no” command and then try to commit.
unlike the create callbacks for each container, the delete cause only 1 callback “delete” for the root container X.

Is it the right behavior of Confd?
Is there a way to cause callbacks to the sub containers?

thanks
Inbal

Yes it is. ConfD decides that one callback is sufficient to delete everything below X.

To get a separate callback for each container you would have to individually delete the containers in reverse order with commits between the “no”-commands. This is, of course, a lot of pain for the operator and you really should handle delete of sub-list/containers.