Skip to content

Commit

Permalink
Syncs: Disable STP instance temporary (sonic-net#149)
Browse files Browse the repository at this point in the history
Revert this change when SAI implementation supports this.
  • Loading branch information
kcudnik authored and Shuotian Cheng committed Jan 18, 2017
1 parent 1750f36 commit e5d0aa9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion syncd/syncd_hard_reinit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ sai_object_id_t processSingleVid(sai_object_id_t vid)
{
if (shouldSkipCreateion(vid, rid, createObject, [](sai_object_id_t id) { return id == redisGetDefaultStpInstanceId(); }))
{
SWSS_LOG_INFO("default virtual router will not be created, processed VID 0x%lx to RID 0x%lx", vid, rid);
SWSS_LOG_INFO("default stp instance will not be created, processed VID 0x%lx to RID 0x%lx", vid, rid);
}
}
else if (objectType == SAI_OBJECT_TYPE_QUEUE)
Expand Down
3 changes: 2 additions & 1 deletion syncd/syncd_reinit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,8 @@ void onSyncdStart(bool warmStart)

helperCheckDefaultTrapGroup();

helperCheckDefaultStpInstance();
// currently STP is disabled since not all vendors supports that
//helperCheckDefaultStpInstance();

helperCheckVlanId();

Expand Down

0 comments on commit e5d0aa9

Please sign in to comment.