Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vs] Add workaround for clean up macsec ports #752

Merged
merged 2 commits into from
Dec 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion vslib/src/MACsecManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,10 @@ void MACsecManager::cleanup_macsec_device() const

if (!exec("/sbin/ip macsec show", macsecInfos))
{
SWSS_LOG_THROW("Cannot show MACsec ports");
// this is workaround, there was exception thrown here, and it probably
// suggest that, ip command is in place, but don't support "macsec"
SWSS_LOG_WARN("Cannot show MACsec ports");
return;
}

// Here is an example of MACsec device informations
Expand Down