Skip to content

Commit

Permalink
Revert "[syncd] Fix bulk api object type for next hop group members (s…
Browse files Browse the repository at this point in the history
…onic-net#685)"

This reverts commit 797197c.
  • Loading branch information
KostiantynYarovyiBf committed Sep 21, 2021
1 parent b6901f0 commit 217c7d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions syncd/VendorSai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ sai_status_t VendorSai::bulkCreate(
ptr = m_apis.lag_api->create_lag_members;
break;

case SAI_OBJECT_TYPE_NEXT_HOP_GROUP_MEMBER:
case SAI_OBJECT_TYPE_NEXT_HOP_GROUP:
ptr = m_apis.next_hop_group_api->create_next_hop_group_members;
break;

Expand All @@ -633,7 +633,7 @@ sai_status_t VendorSai::bulkCreate(
break;

default:
SWSS_LOG_ERROR("not implemented %s, FIXME", sai_serialize_object_type(object_type).c_str());
SWSS_LOG_ERROR("not implemented, FIXME");
return SAI_STATUS_NOT_IMPLEMENTED;
}

Expand Down Expand Up @@ -675,7 +675,7 @@ sai_status_t VendorSai::bulkRemove(
ptr = m_apis.lag_api->remove_lag_members;
break;

case SAI_OBJECT_TYPE_NEXT_HOP_GROUP_MEMBER:
case SAI_OBJECT_TYPE_NEXT_HOP_GROUP:
ptr = m_apis.next_hop_group_api->remove_next_hop_group_members;
break;

Expand All @@ -692,7 +692,7 @@ sai_status_t VendorSai::bulkRemove(
break;

default:
SWSS_LOG_ERROR("not implemented %s, FIXME", sai_serialize_object_type(object_type).c_str());
SWSS_LOG_ERROR("not implemented, FIXME");
return SAI_STATUS_NOT_IMPLEMENTED;
}

Expand Down

0 comments on commit 217c7d1

Please sign in to comment.