]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: CLI to advertise gateway IP overlay index
authorAmeya Dharkar <adharkar@vmware.com>
Tue, 5 Jan 2021 02:31:11 +0000 (18:31 -0800)
committerAmeya Dharkar <adharkar@vmware.com>
Tue, 8 Jun 2021 00:58:22 +0000 (17:58 -0700)
commitd4a88de3bb32f76573af09f6758c43773b335bf6
tree1ecf8bbdf7f9e0dea1d3014c8e5471ecce59d9ff
parentd0a4ee6010a6ba66aee396c2fe56e4ec6b45a553
bgpd: CLI to advertise gateway IP overlay index

Adds gateway-ip option to advertise ipv4/ipv6 unicast CLI.

dev(config-router-af)# advertise <ipv4|ipv6> unicast
  <cr>
  gateway-ip      Specify EVPN Overlay Index
  route-map       route-map for filtering specific routes

When gateway-ip is specified, gateway IP field of EVPN RT-5 NLRI is filled with
the BGP nexthop of the vrf prefix being advertised.

No support for ESI overlay index yet.

Test cases:
1) advertise ipv4 unicast
2) advertise ipv4 unicast gateway-ip
3) advertise ipv6 unicast
4) advertise ipv6 unicast gateway-ip
5) Modify from no-overlay-index to gateway-ip
6) Modify from gateway-ip to no-overlay-index
7) CLI with route-map and modify route-map

Author: Sri Mohana Singamsetty <srimohans@gmail.com>
Signed-off-by: Sri Mohana Singamsetty <srimohans@gmail.com>
bgpd/bgp_evpn.h
bgpd/bgp_evpn_vty.c
bgpd/bgp_evpn_vty.h
bgpd/bgp_nb_config.c
bgpd/bgpd.h