Skip to content

Commit

Permalink
[Centec]for support mclag of centec to configure port isolate-group s…
Browse files Browse the repository at this point in the history
…onic-net#2529

*Add centec platform to supported platform list for port isolation group
  • Loading branch information
AlanYoush authored Dec 5, 2022
1 parent ec507a4 commit 6b6dda6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mclagsyncd/mclaglink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ void MclagLink::setPortIsolate(char *msg)
{
static const unordered_set<string> supported {
BRCM_PLATFORM_SUBSTRING,
BFN_PLATFORM_SUBSTRING
BFN_PLATFORM_SUBSTRING,
CTC_PLATFORM_SUBSTRING
};

const char *platform = getenv("platform");
Expand Down
1 change: 1 addition & 0 deletions mclagsyncd/mclaglink.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

#define BRCM_PLATFORM_SUBSTRING "broadcom"
#define BFN_PLATFORM_SUBSTRING "barefoot"
#define CTC_PLATFORM_SUBSTRING "centec"

using namespace std;

Expand Down

0 comments on commit 6b6dda6

Please sign in to comment.