Skip to content

Commit 6b6dda6

Browse files
authored
[Centec]for support mclag of centec to configure port isolate-group #2529
*Add centec platform to supported platform list for port isolation group
1 parent ec507a4 commit 6b6dda6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

mclagsyncd/mclaglink.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,8 @@ void MclagLink::setPortIsolate(char *msg)
191191
{
192192
static const unordered_set<string> supported {
193193
BRCM_PLATFORM_SUBSTRING,
194-
BFN_PLATFORM_SUBSTRING
194+
BFN_PLATFORM_SUBSTRING,
195+
CTC_PLATFORM_SUBSTRING
195196
};
196197

197198
const char *platform = getenv("platform");

mclagsyncd/mclaglink.h

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353

5454
#define BRCM_PLATFORM_SUBSTRING "broadcom"
5555
#define BFN_PLATFORM_SUBSTRING "barefoot"
56+
#define CTC_PLATFORM_SUBSTRING "centec"
5657

5758
using namespace std;
5859

0 commit comments

Comments
 (0)