Skip to content

Commit

Permalink
[saimetadata]: Fixed "get_attr_name: object type 20 attr id 256 not f…
Browse files Browse the repository at this point in the history
…ound in map!" (sonic-net#201)

Attribute SAI_QUEUE_ATTR_INDEX added into attribute map
for object type SAI_OBJECT_TYPE_QUEUE

Signed-off-by: Denis Maslov <Denis.Maslov@cavium.com>
  • Loading branch information
Maslov Denis authored and kcudnik committed Jul 31, 2017
1 parent 442eea4 commit 6f60b1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta/sai_meta_sanity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ std::unordered_map<int32_t, std::unordered_map<int32_t, std::string>> get_attr_n
ATTR_MAP_SET(QUEUE,SAI_QUEUE_ATTR_WRED_PROFILE_ID);
ATTR_MAP_SET(QUEUE,SAI_QUEUE_ATTR_BUFFER_PROFILE_ID);
ATTR_MAP_SET(QUEUE,SAI_QUEUE_ATTR_SCHEDULER_PROFILE_ID);
ATTR_MAP_SET(QUEUE,SAI_QUEUE_ATTR_INDEX);
ATTR_MAP_SET(ROUTE,SAI_ROUTE_ATTR_PACKET_ACTION);
ATTR_MAP_SET(ROUTE,SAI_ROUTE_ATTR_TRAP_PRIORITY);
ATTR_MAP_SET(ROUTE,SAI_ROUTE_ATTR_NEXT_HOP_ID);
Expand Down

0 comments on commit 6f60b1d

Please sign in to comment.