[202012] [cherry-pick] Generate switch level dscp_to_tc_map entry from qos_config template#11132
Merged
bingwang-ms merged 5 commits intosonic-net:202012from Jun 17, 2022
Conversation
Signed-off-by: bingwang <wang.bing@microsoft.com>
Contributor
Author
|
/azp run Azure.sonic-buildimage |
|
Azure Pipelines successfully started running 1 pipeline(s). |
prsunny
approved these changes
Jun 14, 2022
neethajohn
reviewed
Jun 14, 2022
Signed-off-by: bingwang <wang.bing@microsoft.com>
Collaborator
|
AFAIK, there is no logic to apply DSCP_TO_TC table on the switch on 202012 branch. |
Contributor
Author
Yes, we need to apply DSCP_TO_TC to switch on 202012 branch. I posted a PR for swss change on 202012 branch sonic-net/sonic-swss#2328 |
Signed-off-by: bingwang <wang.bing@microsoft.com>
Signed-off-by: bingwang <wang.bing@microsoft.com>
neethajohn
reviewed
Jun 16, 2022
Signed-off-by: bingwang <wang.bing@microsoft.com>
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why I did it
This PR is to cherry-pick #11087 into
202012branch after resolving conflicts.This PR is to update template for generating switch level
DSCP_TO_TC_MAPconfig.After PR #10565, there will be two DSCP_TO_TC_MAP
To address the issue, an entry
PORT_QOS_MAP|globalwill be added intoconfig_dbThe entry is generated from
qos_config.j2.Related PRs
How I did it
Update the template
qos_config.j2.How to verify it
Verified by vstest.
Which release branch to backport (provide reason below if selected)
Description for the changelog
This PR is to update template for generating switch level
DSCP_TO_TC_MAPconfig.Link to config_db schema for YANG module changes
TODO
A picture of a cute animal (not mandatory but encouraged)