-
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
[202012] [cherry-pick] Generate switch level dscp_to_tc_map entry from qos_config template #11132
[202012] [cherry-pick] Generate switch level dscp_to_tc_map entry from qos_config template #11132
Conversation
Signed-off-by: bingwang <wang.bing@microsoft.com>
/azp run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
src/sonic-config-engine/tests/sample_output/py2/qos-arista7800r3-48cq2-lc.json
Outdated
Show resolved
Hide resolved
src/sonic-config-engine/tests/sample_output/py3/qos-arista7800r3-48cq2-lc.json
Outdated
Show resolved
Hide resolved
Signed-off-by: bingwang <wang.bing@microsoft.com>
AFAIK, there is no logic to apply DSCP_TO_TC table on the switch on 202012 branch. |
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>
src/sonic-config-engine/tests/sample_output/py3/qos-arista7800r3-48cq2-lc.json
Outdated
Show resolved
Hide resolved
Signed-off-by: bingwang <wang.bing@microsoft.com>
Why I did it
This PR is to cherry-pick #11087 into
202012
branch after resolving conflicts.This PR is to update template for generating switch level
DSCP_TO_TC_MAP
config.After PR #10565, there will be two DSCP_TO_TC_MAP
To address the issue, an entry
PORT_QOS_MAP|global
will be added intoconfig_db
The 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_MAP
config.Link to config_db schema for YANG module changes
TODO
A picture of a cute animal (not mandatory but encouraged)