Skip to content

Commit

Permalink
Fix SRV6 NHOP CRM object type (#2072)
Browse files Browse the repository at this point in the history
*Change CRM object type from SAI_SWITCH_ATTR_AVAILABLE_IPV6_NEXTHOP_ENTRY to SAI_OBJECT_TYPE_NEXT_HOP
  • Loading branch information
Kumaresh Perumal authored Dec 9, 2021
1 parent ef5b35f commit 8bbdbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/crmorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const map<CrmResourceType, uint32_t> crmResSaiAvailAttrMap =
{ CrmResourceType::CRM_MPLS_INSEG, SAI_OBJECT_TYPE_INSEG_ENTRY },
{ CrmResourceType::CRM_MPLS_NEXTHOP, SAI_OBJECT_TYPE_NEXT_HOP },
{ CrmResourceType::CRM_SRV6_MY_SID_ENTRY, SAI_OBJECT_TYPE_MY_SID_ENTRY },
{ CrmResourceType::CRM_SRV6_NEXTHOP, SAI_SWITCH_ATTR_AVAILABLE_IPV6_NEXTHOP_ENTRY },
{ CrmResourceType::CRM_SRV6_NEXTHOP, SAI_OBJECT_TYPE_NEXT_HOP },
{ CrmResourceType::CRM_NEXTHOP_GROUP_MAP, SAI_OBJECT_TYPE_NEXT_HOP_GROUP_MAP },
};

Expand Down

0 comments on commit 8bbdbd2

Please sign in to comment.