diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2017-12-13 11:04:31 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-02-27 11:11:24 +0100 |
| commit | e27dec3cf15d627cc26c07f40ded138b0bcc6a0a (patch) | |
| tree | ee0111790a084d52be8210bf75a532679ed6543b /lib/vrf.c | |
| parent | 05895ad0be6c8fadcd895c3b1aa137b89791fbde (diff) | |
zebra: collect and get netnamespaces information
upon zebra initialisation, and upon further netnamespace creation, the
the netnamespaces are created and a vrf associated to the netnamespace
is created. By convention, the name of the netns will be the same as the
VRF.
Add a stub routine that returns a fake ns identifier, in case netlink (
linux machines) is not available.
Also, upon each newly discovered NETNS, a NSID id being generated,
either by relying on kernel NSID feature, or by generating locally the
NSID ( see previous commit for more information).
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/vrf.c')
0 files changed, 0 insertions, 0 deletions
