Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add label attribute for Policer, RIF, Scheduler and UDF #2046

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions inc/saipolicer.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,15 @@ typedef enum _sai_policer_attr_t
*/
SAI_POLICER_ATTR_OBJECT_STAGE = 0x0000000b,

/**
* @brief Label attribute used to uniquely identify identical policer.
*
* @type char
* @flags CREATE_AND_SET
* @default ""
*/
SAI_POLICER_ATTR_LABEL,

/**
* @brief End of attributes
*/
Expand Down
9 changes: 9 additions & 0 deletions inc/sairouterinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,15 @@ typedef enum _sai_router_interface_attr_t
*/
SAI_ROUTER_INTERFACE_ATTR_ADMIN_MPLS_STATE,

/**
* @brief Label attribute used to uniquely identify router interface.
*
* @type char
* @flags CREATE_AND_SET
* @default ""
*/
SAI_ROUTER_INTERFACE_ATTR_LABEL,

/**
* @brief End of attributes
*/
Expand Down
9 changes: 9 additions & 0 deletions inc/saischeduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ typedef enum _sai_scheduler_attr_t
*/
SAI_SCHEDULER_ATTR_MAX_BANDWIDTH_BURST_RATE = 0x00000006,

/**
* @brief Label attribute used to uniquely identify scheduler.
*
* @type char
* @flags CREATE_AND_SET
* @default ""
*/
SAI_SCHEDULER_ATTR_LABEL,

/**
* @brief End of attributes
*/
Expand Down
9 changes: 9 additions & 0 deletions inc/saiudf.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,15 @@ typedef enum _sai_udf_group_attr_t
*/
SAI_UDF_GROUP_ATTR_LENGTH,

/**
* @brief Label attribute used to uniquely identify UDF group.
*
* @type char
* @flags CREATE_AND_SET
* @default ""
*/
SAI_UDF_GROUP_ATTR_LABEL,

/**
* @brief End of attributes
*/
Expand Down
Loading