Skip to content

Commit

Permalink
Merge branch 'master' into soft_bfd
Browse files Browse the repository at this point in the history
  • Loading branch information
dypet authored Jan 2, 2025
2 parents 9d2ee05 + eae729e commit 8737875
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions orchagent/port/porthlpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,12 @@ bool PortHelper::parsePortConfig(PortConfig &port) const
return false;
}
}
else if (field == PORT_MODE)
{
/* Placeholder to prevent warning. Not needed to be parsed here.
* Setting exists in sonic-port.yang with possible values: routed|access|trunk
*/
}
else
{
SWSS_LOG_WARN("Unknown field(%s): skipping ...", field.c_str());
Expand Down
1 change: 1 addition & 0 deletions orchagent/port/portschema.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,4 @@
#define PORT_SUPPRESS_THRESHOLD "suppress_threshold"
#define PORT_REUSE_THRESHOLD "reuse_threshold"
#define PORT_FLAP_PENALTY "flap_penalty"
#define PORT_MODE "mode"

0 comments on commit 8737875

Please sign in to comment.