]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_pbr.c
bgpd: conversion from fs to pbr: support for ip rule from/to
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 29 Nov 2018 14:17:36 +0000 (15:17 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 29 Jan 2019 13:15:10 +0000 (14:15 +0100)
commit9350f1dfd0013b22809228380bdc7523e6bf0d61
tree18b32393b07b3e08d98e191b056b00e44f70d5f1
parent6cfe5d1533b2c8a5daeeb34432153f2f17e5c2e7
bgpd: conversion from fs to pbr: support for ip rule from/to

adding/suppressing flowspec to pbr is supported. the add and the remove
code is being added. now,bgp supports the hash list of ip rule list.
The removal of bgp ip rule is done via search. The search uses the
action field. the reason is that when a pbr rule is added, to replace an
old one, the old one is kept until the new one is installed, so as to
avoid traffic to be cut. This is why at one moment, one can have two
same iprules with different actions. And this is why the algorithm
covers this case.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_pbr.c