Skip to content

Commit

Permalink
Add basic fabric link monitoring counters and states handling. (sonic…
Browse files Browse the repository at this point in the history
…-net#2988)

* Add basic fabric link monitoring counters and states handling.
  • Loading branch information
jfeng-arista authored and cscarpitta committed Apr 5, 2024
1 parent a2e1344 commit 2763f85
Show file tree
Hide file tree
Showing 5 changed files with 570 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cfgmgr/fabricmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ bool FabricMgr::writeConfigToAppDb(const std::string &key, const std::string &fi
if (key == "FABRIC_MONITOR_DATA")
{
m_appFabricMonitorTable.set(key, fvs);
SWSS_LOG_NOTICE("Write FABRIC_MONITOR:%s %s to %s", key.c_str(), field.c_str(), value.c_str());
SWSS_LOG_INFO("Write FABRIC_MONITOR:%s %s to %s", key.c_str(), field.c_str(), value.c_str());
}
else
{
m_appFabricPortTable.set(key, fvs);
SWSS_LOG_NOTICE("Write FABRIC_PORT:%s %s to %s", key.c_str(), field.c_str(), value.c_str());
SWSS_LOG_INFO("Write FABRIC_PORT:%s %s to %s", key.c_str(), field.c_str(), value.c_str());
}

return true;
Expand Down
Loading

0 comments on commit 2763f85

Please sign in to comment.