Skip to content

Commit

Permalink
modified ERR log to NOTICE log for FDB notification failure after VLA…
Browse files Browse the repository at this point in the history
…N delete (#1595)

the VLAN is already removed and we are receiving a FLUSH notification for the same,
it should be treated as a warning and not an error.

Co-authored-by: Madhan Babu <madhan@arc-build-server.mtr.labs.mlnx>
  • Loading branch information
madhanmellanox and Madhan Babu authored Jan 14, 2021
1 parent c21c883 commit 36f7332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/fdborch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void FdbOrch::update(sai_fdb_event_t type,

if (!m_portsOrch->getPort(entry->bv_id, vlan))
{
SWSS_LOG_ERROR("FdbOrch LEARN notification: Failed to locate vlan port from bv_id 0x%" PRIx64, entry->bv_id);
SWSS_LOG_NOTICE("FdbOrch LEARN notification: Failed to locate vlan port from bv_id 0x%" PRIx64, entry->bv_id);
return;
}

Expand Down

0 comments on commit 36f7332

Please sign in to comment.