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 (sonic-net#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
2 people authored and raphaelt-nvidia committed Oct 5, 2021
1 parent ea30ee8 commit a44d35f
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 a44d35f

Please sign in to comment.