]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_evpn_private.h
bgpd: advertise/withdraw type-5 routes upon user config
authormitesh <mitesh@cumulusnetworks.com>
Fri, 27 Oct 2017 21:15:45 +0000 (14:15 -0700)
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Thu, 14 Dec 2017 18:57:07 +0000 (10:57 -0800)
commit342dd0c6230a7d637a8dec08a5ca9c7b6eb148be
tree77e1589ed2e4d81b3cf9b85fafe43eb8c7f9482b
parentb67a60d2cf765302ccde740576dada94f24ac450
bgpd: advertise/withdraw type-5 routes upon user config

CLI config for enabling/disabling type-5 routes

router bgp <as> vrf <vrf>
  address-family l2vpn evpn
    [no] advertise <ipv4|ipv6|both>

loop through all the routes in VRF instance and advertise/withdraw
all ip routes as type-5 routes in default instance.

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_evpn.h
bgpd/bgp_evpn_private.h
bgpd/bgp_evpn_vty.c
bgpd/bgp_route.h
bgpd/bgpd.h
lib/prefix.c