]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: nexthop groups vrf's are only a function of namespaces
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 13 Jan 2020 21:11:46 +0000 (16:11 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 31 Jan 2020 13:45:51 +0000 (08:45 -0500)
commit88cafda739dcadeea13b671bfab6e8019968724e
tree774a0a746998584fffa04bd1f70b399e7f0c0789
parent417f01b751f259577c9db14aa778d16c4d9e8d1e
zebra: nexthop groups vrf's are only a function of namespaces

Nexthop groups as a whole do not make sense to have a vrf'ness
As that you can have a arbitrary number of nexthops that point
to separate vrf's.

Modify the code to make this distinction, by clearly delineating
the line between the nhg and the nexthop a bit better.
Nexthop groups having a vrf_id only make sense if you are using
network namespaces to represent them.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_netlink.c
zebra/zebra_nhg.c
zebra/zebra_nhg.h
zebra/zebra_vty.c