]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: add function handling flowspec entries to pass to zebra
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 8 Mar 2018 18:16:03 +0000 (19:16 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 30 Apr 2018 09:56:23 +0000 (11:56 +0200)
commit45918cfb97762002754d71425e855ddd69d0d17d
treeb0ce2f2cc23ea3f1d99ee986478c175260fe070d
parentdacf6ec1205e349dee9e335315a1e0947ea92eed
bgpd: add function handling flowspec entries to pass to zebra

Add a policy-route API to handle flowspec entry.
The entry is analysed, converted, and
selected if it is possible to inject the flowspec entry in local policy
routing entries.
redirect IP and redirect VRF actions are handled. The former extracts
the IPv4 address to redirect traffic to. The latter calculates the
matching VRF to redirect traffic to.

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