From e22a946a89579a5d73bcaf5eb10eb1b830a2419e Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Fri, 2 Nov 2018 08:30:41 -0700 Subject: zebra: dup addr detect warn-only Duplicate address detection warning only action upon an address detected as duplicate. Signed-off-by: Chirag Shah --- zebra/zebra_errors.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'zebra/zebra_errors.c') diff --git a/zebra/zebra_errors.c b/zebra/zebra_errors.c index 17163e2182..32f6653832 100644 --- a/zebra/zebra_errors.c +++ b/zebra/zebra_errors.c @@ -694,6 +694,33 @@ static struct log_ref ferr_zebra_err[] = { .suggestion = "Do not use v6 sourcedest routes, or upgrade your kernel.", }, + { + .code = EC_ZEBRA_DUP_MAC_DETECTED, + .title = + "EVPN MAC is detected duplicate", + .description = + "Zebra has hit duplicate address detection threshold which means host MAC is moving.", + .suggestion = + "Check network topology to detect duplicate host MAC for correctness.", + }, + { + .code = EC_ZEBRA_DUP_IP_INHERIT_DETECTED, + .title = + "EVPN IP is detected duplicate by MAC", + .description = + "Zebra has hit duplicate address detection threshold which means MAC-IP pair is moving.", + .suggestion = + "Check network topology to detect duplicate host MAC for correctness.", + }, + { + .code = EC_ZEBRA_DUP_IP_DETECTED, + .title = + "EVPN IP is detected duplicate", + .description = + "Zebra has hit duplicate address detection threshold which means host IP is moving.", + .suggestion = + "Check network topology to detect duplicate host IP for correctness.", + }, { .code = END_FERR, } -- cgit v1.2.3