summaryrefslogtreecommitdiff
path: root/lib/netns_linux.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-01-23 18:09:12 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-03-27 15:21:51 +0200
commit301ad80a9976e422090cba1f7fc0bad32eceaa81 (patch)
tree54d0047209f71a0b6d9513dd9655443a7d409d73 /lib/netns_linux.c
parent6a32d26634c2b25489bba94694da374544978c57 (diff)
bgpd: add an API to get incoming VRF from a RT
This commit is relying on bgp vpn-policy. It is needed to configure several bgp vrf instances, and in each of the bgp instance, configure the following command under address-family ipv4 unicast node: [no] rt redirect import RTLIST Then, a function is provided, that will parse the BGP instances. The incoming ecommunity will be compared with the configured rt redirect import ecommunity list, and return the VRF first instance of the matching route target. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/netns_linux.c')
0 files changed, 0 insertions, 0 deletions