diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-03-19 14:04:17 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-06 19:22:43 +0200 |
commit | b13e5ad68a740b66c921c5ab1314e0898f0ed310 (patch) | |
tree | f08e165c4507040ecfd17ec9c10b109f5b5fa941 /pbrd/pbr_zebra.h | |
parent | lib: Add hash and use const a bit more intelligently (diff) | |
download | frr-b13e5ad68a740b66c921c5ab1314e0898f0ed310.tar.xz frr-b13e5ad68a740b66c921c5ab1314e0898f0ed310.zip |
pbrd: Remove pbr_events
The pbr_events.c file was a mistake in that it overly complicated
the code and made it hard to think about what was happening.
Remove all the events and just do the work where needed.
Additionally rethink the sending of the pbr map to
zebra and only send one notification at a time instead
of having the sending function attempt to figure out
what to do.
Clean up some of the no form of commands to make them
work properly.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'pbrd/pbr_zebra.h')
-rw-r--r-- | pbrd/pbr_zebra.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pbrd/pbr_zebra.h b/pbrd/pbr_zebra.h index 6c1eca9d1..4cbefe263 100644 --- a/pbrd/pbr_zebra.h +++ b/pbrd/pbr_zebra.h @@ -35,5 +35,8 @@ extern void route_delete(struct pbr_nexthop_group_cache *pnhgc, extern void pbr_send_rnh(struct nexthop *nhop, bool reg); -extern void pbr_send_pbr_map(struct pbr_map *pbrm, bool install); +extern void pbr_send_pbr_map(struct pbr_map_sequence *pbrms, + struct pbr_map_interface *pmi, bool install); + +extern struct pbr_interface *pbr_if_new(struct interface *ifp); #endif |