]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: basic support for VRF NETNS backend
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 29 Jan 2018 15:56:11 +0000 (16:56 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Feb 2018 10:11:24 +0000 (11:11 +0100)
commit3c0eb8faa2936ed43c557fe375383d6d03646291
tree3e438c0ff308443721778a25dc70ce3e3862f727
parent97896a91c2a7c8d856a1326cd4017f458e4a5493
ospfd: basic support for VRF NETNS backend

The change consists in taking into account of the VRF identifier upon
which the ospf socket is created. Moreover, if the VRF is a netns
backend, then it is not necessary to perform the bind operations to vrf
device.
Also, when a VRF instance is enabled, it informs ospf VRF, and automatically
OSPF VRF benefits from it. Reversely, when VRF instance is disabled,
then OSPF VRF will be disabled too.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
ospfd/ospf_network.c
ospfd/ospf_network.h
ospfd/ospfd.c