diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-22 18:02:00 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-23 15:25:48 +0100 |
commit | 0c902ba575789472612c0e18eaa6f5a27daec5b1 (patch) | |
tree | 3dea74f69a2402a56b7efbbe88386cf0f6095dc0 /lib/vrf.h | |
parent | zebra: move hash rules creation to the vrf_enable place (diff) | |
download | frr-0c902ba575789472612c0e18eaa6f5a27daec5b1.tar.xz frr-0c902ba575789472612c0e18eaa6f5a27daec5b1.zip |
zebra: handle the zebra netns delete notifications
Upon a 'ip netns del' event, the associated vrf with netns backend is
looked for, then the internal contexts are first disabled, then
suppressed.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/vrf.h')
-rw-r--r-- | lib/vrf.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -279,5 +279,6 @@ extern int vrf_netns_handler_create(struct vty *vty, struct vrf *vrf, */ extern void vrf_disable(struct vrf *vrf); extern int vrf_enable(struct vrf *vrf); +extern void vrf_delete(struct vrf *vrf); #endif /*_ZEBRA_VRF_H*/ |