]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_dplane.c
bgpd, lib, pbrd, zebra: Pass by ifname
authorDonald Sharp <sharpd@nvidia.com>
Thu, 10 Sep 2020 15:31:39 +0000 (11:31 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 12 Sep 2020 00:04:45 +0000 (20:04 -0400)
commit58a1d249249840694e04f7b31a45c35ef6d067c8
tree663ac92256f90326dabc7d099d5eb3b8ba4124c9
parent2525fc315a57bb2e9009da83227bf1912ed8759c
bgpd, lib, pbrd, zebra: Pass by ifname

When installing rules pass by the interface name across
zapi.

This is being changed because we have a situation where
if you quickly create/destroy ephermeal interfaces under
linux the upper level protocol may be trying to add
a rule for a interface that does not quite exist
at the moment.  Since ip rules actually want the
interface name ( to handle just this sort of situation )
convert over to passing the interface name and storing
it and using it in zebra.

Ticket: CM-31042
Signed-off-by: Stephen Worley <sworley@nvidia.com>
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
12 files changed:
bgpd/bgp_zebra.c
lib/pbr.h
lib/zclient.c
lib/zclient.h
pbrd/pbr_map.c
pbrd/pbr_map.h
pbrd/pbr_zebra.c
zebra/rule_netlink.c
zebra/zapi_msg.c
zebra/zebra_dplane.c
zebra/zebra_dplane.h
zebra/zebra_pbr.c