diff options
| author | Ameya Dharkar <adharkar@vmware.com> | 2021-05-11 15:26:29 -0700 |
|---|---|---|
| committer | Ameya Dharkar <adharkar@vmware.com> | 2021-06-07 17:59:45 -0700 |
| commit | dc6cef732ecb72e4e3d112ed8ddfd859f35ac465 (patch) | |
| tree | bd488c50c641130771790914d6f4e2117c9133bc /lib/compiler.h | |
| parent | 021b6596652452ad8a3d3dd401164b17f9121519 (diff) | |
bgpd: Add CLI for overlay index recursive resolution
Gateway IP overlay index of the remote type-5 route is resolved
recursively using remote type-2 route. For the purpose of this
recursive resolution, for each L2VNI, we build a hash table of the
remote IP addresses received by remote type-2 routes.
For the topologies where overlay index resolution is not needed, we
do not need to build this remote-ip-hash.
Thus, make the recursive resolution of the overlay index conditional on
"enable-resolve-overlay-index" configuration.
router bgp 65001
bgp router-id 192.168.100.1
neighbor 10.0.1.2 remote-as 65002
!
address-family l2vpn evpn
neighbor 10.0.1.2 activate
advertise-all-vni
enable-resolve-overlay-index----------> New configuration
exit-address-family
Gateway IP overlay index will be resolved only if this configuration is present.
Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions
