]> git.proxmox.com Git - mirror_frr.git/commit
zebra: evpn mh sync mac install as inactive
authorChirag Shah <chirag@nvidia.com>
Fri, 14 Apr 2023 19:57:23 +0000 (12:57 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Sun, 16 Apr 2023 08:28:33 +0000 (08:28 +0000)
commit58ad9b3976d5d65b705f041a22f32856664a6068
treea8b4384965ba2e514f720d54b3b2d6050fcb5c42
parentc323653fc9bd4b2428449877e3bb91ac93a8fe29
zebra: evpn mh sync mac install as inactive

EVPN MH ES reduendant VTEPs need to install
sync MAC as notify inactive and generate
ND:Proxy stamped extended community on Type-2
route.

Ticket:#3436621
Issue:3436621

Testing Done:

tor-11 originates type-2 MAC route:

tor-11# bridge -d fdb show | grep 00:65:00:00:00:01
00:65:00:00:00:01 dev hostbond1 vlan 1000 notify master bridge static

tor-12 receives sync MAC route:

Before fix:
----------
tor-12:/# bridge -d fdb show | grep 00:65:00:00:00:01
00:65:00:00:00:01 dev hostbond1 vlan 1000 notify master bridge static

After fix: inactive is set to MAC entry
----------
tor-12:/#bridge -d fdb show | grep 00:65:00:00:00:01
00:65:00:00:00:01 dev hostbond1 vlan 1000 notify inactive master bridge
static

Notice the difference in `inactive` post notify on tor-12
with the fix.

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Signed-off-by: Chirag Shah <chirag@nvidia.com>
(cherry picked from commit 4a1f91a366bacc8178afcc3d2712e08a3ba3e1ba)
zebra/zebra_evpn_mac.c