Add yang model for scheduler in PORT_QOS_MAP#16244
Add yang model for scheduler in PORT_QOS_MAP#16244liat-grozovik merged 2 commits intosonic-net:masterfrom
Conversation
Signed-off-by: Stephen Sun <stephens@nvidia.com>
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 <stephens@nvidia.com>
Done @ganglyu |
|
@dgsudharsan could you please help to review it from yang pov? if so, i will merge once checkers are passing |
| "pfcwd_sw_enable" : "3,4", | ||
| "scheduler" : "port_scheduler" | ||
| }, | ||
| "Ethernet4": { |
There was a problem hiding this comment.
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.
@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.
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 <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
|
Cherry-pick PR to 202305: #16583 |
|
ADO: 25200395 |
Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
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)