]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Auto create the nexthop-vrf if needed.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Mar 2018 14:34:15 +0000 (10:34 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 16 Mar 2018 22:36:10 +0000 (18:36 -0400)
commite7f96f7411f8e622f0dae58744ab9dcd7feceaa4
treeba52b645145ffa238f397d175710d7d146224147
parent911d8ac862b2efc0d3fb69fa352c52690b426b12
zebra: Auto create the nexthop-vrf if needed.

Currently if I try to use a nexthop-vrf that has
not been specified yet we get a failure from the cli.

Add code to zebra so that if we fail to find the nexthop-vrf
we auto create it, instead of failing the install.

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