]> git.proxmox.com Git - mirror_frr.git/commit - pbrd/pbr_zebra.c
pbrd: Fix installation and deletion in some cases
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 6 Apr 2018 15:41:10 +0000 (11:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 17 Apr 2018 22:40:17 +0000 (18:40 -0400)
commit9b71ea4ba50d38f1d186e40af95a4eba2e46f9a0
tree5bb946b06ce0847d250c7df0d007920ee62b5d6a
parent2fb7892ed19ebff651d5da3a986350659f719a17
pbrd: Fix installation and deletion in some cases

When a nexthop group is modified do not assume that it
is not installed.  The creation of the pnhgc is enough
to set the installed to false.  If we are reinstalling
it is not needed to set it as not installed.

When a pbrms is being installed/removed check to see if it
is already installed/deleted and do the right thing from
there.

Ticket: CM-20371
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pbrd/pbr_nht.c
pbrd/pbr_zebra.c