-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 yang model for scheduler in PORT_QOS_MAP #16244
Add yang model for scheduler in PORT_QOS_MAP #16244
Conversation
Signed-off-by: Stephen Sun <[email protected]>
6a9da37
to
3123b80
Compare
The compiling issue is not relevant to the PR. Retrying
|
/azpw run azure.sonic-buildimage |
/AzurePipelines run azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
Can you update sample_config_db.json? |
Signed-off-by: Stephen Sun <[email protected]>
Done @ganglyu |
@dgsudharsan could you please help to review it from yang pov? if so, i will merge once checkers are passing |
"pfc_to_pg_map" : "pfc_prio_to_pg_map1", | ||
"pfc_enable" : "3,4", | ||
"pfcwd_sw_enable" : "3,4", | ||
"scheduler" : "port_scheduler" | ||
}, | ||
"Ethernet4": { |
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.
any reason Ethernet0 and Ethernet4 does not have the same number of parameters as well as in one we have indentation and in the other one we dont.
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.
@liat-grozovik
Usually, we do not have the same port configuration on different ports because we want to have different configurations on different ports to cover different scenarios.
Regarding the indentation, I fixed the indentation in port Ethernet0
because I modified it in my PR. IMO there are many indentation issues in this file, which should not be fixed in this PR because I'm focusing on missing scheduler
in this PR.
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.
ACK. @qiluo-msft FYI you might want to take it to the yang subgroup as a reference and to check if need to fix the file(s)
Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
Cherry-pick PR to 202305: #16583 |
Signed-off-by: Stephen Sun <[email protected]>
ADO: 25200395 |
Signed-off-by: Stephen Sun <[email protected]>
Signed-off-by: Stephen Sun <[email protected]>
Why I did it
Add yang model for scheduler in PORT_QOS_MAP
Work item tracking
How I did it
How to verify it
unit test
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)