Skip to content

Commit

Permalink
Update metadata for scheduler group allowed object types (sonic-net#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik authored and lguohan committed Oct 13, 2016
1 parent b14b0f8 commit a8675d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/sai_meta_schedulergroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const sai_attr_metadata_t sai_scheduler_group_attr_metadata[] = {
.attrid = SAI_SCHEDULER_GROUP_ATTR_CHILD_LIST,
.serializationtype = SAI_SERIALIZATION_TYPE_OBJECT_LIST,
.flags = SAI_ATTR_FLAGS_READ_ONLY,
.allowedobjecttypes = { SAI_OBJECT_TYPE_SCHEDULER }, // TODO there may be different types like QUEUE or PORT here
.allowedobjecttypes = { SAI_OBJECT_TYPE_SCHEDULER_GROUP, SAI_OBJECT_TYPE_QUEUE },
.allownullobjectid = false,
.defaultvaluetype = SAI_DEFAULT_VALUE_TYPE_NONE,
.defaultvalue = { },
Expand Down

0 comments on commit a8675d7

Please sign in to comment.