]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: evpn dup addr detect fix unfreeze action
authorChirag Shah <chirag@cumulusnetworks.com>
Mon, 17 Dec 2018 22:36:27 +0000 (14:36 -0800)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 7 Jan 2019 09:37:20 +0000 (10:37 +0100)
commita4445ecefed9be067cc6a6a840a7aefc678b356c
tree2ac0dbc7da48b4d95ca7f6a65af5d10129068fcb
parente4587bc559f863428b3380648e3ab157eb31dee8
zebra: evpn dup addr detect fix unfreeze action

Below are cases where EVPN duplicate detection
Freeze and Unfreeze required fixes:

Auto recovery needs to check neighbor's duplicate flag
to take action, as neigh could be marked duplicate
via inherited from MAC where IP detection count could be 0.

MAC duplicate detection needs to set flag to true
if freeze action is configured.

Local MAC add update should not send update to bgp
if MAC is in frozen state.

Remote MAC-IP update should not process neigh update if MAC
is detected as duplicate during remote update.

Ticket:CM-23344
Testing Done:
Trigger duplicate detection via both local and remote update trigger,
Validate clear command and other changes expected behavior.

Auto-recovery takes appropriate action on inherited IPs.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
zebra/zebra_vxlan.c