-
Notifications
You must be signed in to change notification settings - Fork 682
Add two new enums for scheduler-policy priority. #1311
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
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,13 @@ submodule openconfig-qos-elements { | |
packets for transmission, including policer and shaper | ||
functions"; | ||
|
||
oc-ext:openconfig-version "0.11.2"; | ||
oc-ext:openconfig-version "0.11.3"; | ||
|
||
revision "2025-05-22" { | ||
description | ||
"Add two new enums for scheduler-policy priority."; | ||
reference "0.11.3"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Following https://github.com/openconfig/public/blob/master/doc/semver.md#general-guidelines-for-versioning-openconfig-yang-modules, should this be |
||
} | ||
|
||
revision "2023-10-13" { | ||
description | ||
|
@@ -1231,6 +1237,18 @@ submodule openconfig-qos-elements { | |
term - such that packets that arrive in the queue are | ||
immediately serviced."; | ||
} | ||
enum DWRR { | ||
description | ||
"This scheduler term is considered as a deficit weighted | ||
round robin term - such that packets that arrive in the queue are | ||
serviced based on deficit counter with weighted round robin fashion."; | ||
} | ||
enum WRR { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With the existing model, it seems like setting priority was optional, and at least for our mappings, I think that we defaulted to WRR if STRICT priority wasn't explicitly set. Is the intention with this change that priority should always be set? Would it make sense to mark WRR as the default so that this change is backwards compatible from an existing implementation perspective (with the underlying assumption that other implementations map similarly)? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems like OpenConfig prefers not to define defaults, at least according to #1165 (comment). |
||
description | ||
"This scheduler term is considered as a deficit weighted | ||
|
||
round robin term - such that packets that arrive in the queue are | ||
serviced based on weighted round robin fashion."; | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are there any strong references that provide a strong definition of what WRR or DWRR actually means? My fear is that at least DWRR may end up being quite platform/hardware specific and if that is the case I'm thinking that we may need to pull that out in the description. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1. opening a featureprofiles PR with a functional test README would also help clarify the behaviour of these new enum values. For examples, see the following tests: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aruba seems to also use the DWRR term: https://arubanetworking.hpe.com/techdocs/AOS-CX/AOSCX-CLI-Bank/cli_832x/Content/QoS_cmds/dwrr-queue.htm |
||
description | ||
"Priority of the scheduler within the scheduler policy."; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we specify the two new enums in the description? "Add WRR and DWRR enums ..."