]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
bgpd: evpn pip handle svi ip route
authorChirag Shah <chirag@cumulusnetworks.com>
Fri, 9 Aug 2019 01:58:03 +0000 (18:58 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Fri, 22 Nov 2019 15:53:32 +0000 (07:53 -0800)
commit0ca10580967be267ef97f442838953e463934a0c
treeb5ae0fdd984d5e179d8b429079c0e390d2a2b9d1
parent14e814ea75ca8211499106e472a3acdd4730b370
bgpd: evpn pip handle svi ip route

By default announct Self Type-2 routes with
system IP as nexthop and system MAC as
nexthop.

An API to check type-2 is self route via
checking ipv4/ipv6 address from connected interfaces list.

An API to extract RMAC and nexthop for type-2
routes based on advertise-svi-ip knob is enabled.

When advertise-pip is enabled/disabled, trigger type-2
route update. For self type-2 routes to use
anycast or individual (rmac, nexthop) addresses.

Ticket:CM-26190
Reviewed By:
Testing Done:

Enable 'advertise-svi-ip' knob in bgp default instance.
the vrf instance svi ip is advertised with nexthop
as default instance router-id and RMAC as system MAC.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
bgpd/bgp_evpn.c
bgpd/bgp_evpn_private.h
bgpd/bgp_evpn_vty.c
bgpd/bgp_route.h
lib/zclient.h
zebra/zebra_vxlan.c
zebra/zebra_vxlan_private.h