]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vrf.c
lib: add namespace name structure in zebra message
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 22 Dec 2017 15:02:51 +0000 (16:02 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Feb 2018 10:11:24 +0000 (11:11 +0100)
commit4691b65ae4c3e50c295dce4fc007738080826b49
tree80ed778117ec0305a8fb67cd4b0eeb3b09b197b8
parent81c9005ff6edd2294ec945b93d49f03470b3b827
lib: add namespace name structure in zebra message

The addition of the name of the netns in the vrf message introduces also
a limitation when the size of the netns is bigger than 15 bytes. Then
the netns are ignored by the library.
In addition to this, some sanity checks have been introduced. some
functions to create the netns from a call not coming from the vty is
being added with traces.
Also, the ns vty function is reentrant, if the context is already
created.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/ns.c
lib/vrf.c
lib/vrf.h
lib/zclient.c
zebra/zebra_vrf.c
zebra/zserv.c