Skip to content

Commit

Permalink
Add basic fabric link monitoring counters and states handling. (#2988)
Browse files Browse the repository at this point in the history
* Add basic fabric link monitoring counters and states handling.
  • Loading branch information
jfeng-arista authored Mar 15, 2024
1 parent 0c62091 commit ff2b2b8
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 ff2b2b8

Please sign in to comment.