]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: add the registration mechanism for netns
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 7 Dec 2017 17:27:31 +0000 (18:27 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Feb 2018 10:11:24 +0000 (11:11 +0100)
commit3347430b12ecccc4f03fb29111e9621a6e123b3c
treed3a7ce58f828c05cfb32d84f6342c59618932cf7
parent697d3ec73157fde8a008738907fef94fdcd569bb
zebra: add the registration mechanism for netns

If vrf backend is netns, then the zebra will create its own
zebra_ns context for each new netns discovered. As consequence,
a routing table, and other contexts will be created for each
new namespace discovered. When it is enabled, a populate process
will be done, consisting in learning new interfaces and routes, and
addresses from other NETNS.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/ns.c
lib/ns.h
zebra/zebra_ns.c
zebra/zebra_ns.h