diff options
author | Feng Lu <lu.feng@6wind.com> | 2015-05-22 11:40:09 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2015-06-02 07:48:34 +0200 |
commit | 267ceb2ce3adf4ce1357deb7ce48f151d6c58b92 (patch) | |
tree | 0b86ed01d5d2ea61f0bb509a60cad32916de061e /zebra/kernel_null.c | |
parent | fb2bfc1ba2416c1561bc9bfb30dfb5adf3e65616 (diff) | |
download | quagga-267ceb2ce3adf4ce1357deb7ce48f151d6c58b92.tar.bz2 quagga-267ceb2ce3adf4ce1357deb7ce48f151d6c58b92.tar.xz |
zebra: add hooks upon enabling / disabling a VRF
zebra_vrf_enable() is the callback for VRF_ENABLE_HOOK.
It presently needs do nothing.
zebra_vrf_disable() is the callback for VRF_DISABLE_HOOK.
It presently withdraws routes, shuts down interfaces, and
clears the router-id candidates in that VRF.
Signed-off-by: Feng Lu <lu.feng@6wind.com>
Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/kernel_null.c')
0 files changed, 0 insertions, 0 deletions