diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-02-28 19:54:47 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-03-02 20:01:49 -0300 |
| commit | 1912caa2caf14936379df830e028d1492a061988 (patch) | |
| tree | 9e940599a8f9406bb8d339d7cb887f34fccb5611 /doc/manpages/conf.py | |
| parent | cacbffafc9f2e133d3c76f081635f67ae504d124 (diff) | |
lib: fix removal of yang non-presence containers
Non-presence containers don't have "destroy" callbacks. So, once
a np-container is deleted, we need to call the "destroy" callbacks
of its child nodes instead.
This commit doesn't fix any real problem as of now since all
np-containers from the FRR YANG modules contain or one more mandatory
child nodes, so they can't be deleted (libyang will add missing
np-containers when validating data). Nevertheless, upcoming YANG
modules should benefit from this change.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'doc/manpages/conf.py')
0 files changed, 0 insertions, 0 deletions
