Skip to content

Commit

Permalink
sai: adding LAG support in serialization lib (sonic-net#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
stcheng committed May 4, 2016
1 parent 3325b96 commit e586466
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/saiserialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ sai_serialization_map_t sai_get_serialization_map()
map[SAI_OBJECT_TYPE_TRAP][SAI_HOSTIF_TRAP_ATTR_TRAP_CHANNEL] = SAI_SERIALIZATION_TYPE_INT32;
map[SAI_OBJECT_TYPE_TRAP][SAI_HOSTIF_TRAP_ATTR_TRAP_PRIORITY] = SAI_SERIALIZATION_TYPE_UINT32;

map[SAI_OBJECT_TYPE_LAG_MEMBER][SAI_LAG_MEMBER_ATTR_LAG_ID] = SAI_SERIALIZATION_TYPE_OBJECT_ID;
map[SAI_OBJECT_TYPE_LAG_MEMBER][SAI_LAG_MEMBER_ATTR_PORT_ID] = SAI_SERIALIZATION_TYPE_OBJECT_ID;

return map;
}

Expand Down

0 comments on commit e586466

Please sign in to comment.