-
Notifications
You must be signed in to change notification settings - Fork 562
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
Fix issue config qos reload causing orchagent aborted via tracking dependencies among QoS tables #2116
Merged
Conversation
This file contains 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
…pendencies among QoS tables 1. Track dependencies among QoS tables. Won't call SAI remove API for an object if it is still referenced. 2. Support removing/replacing one field in PORT_QOS_MAP and QUEUE tables. 3. Optimize logic to handle QUEUE table. 4. Remove switch level DSCP_TO_TC map before the map is removed. 5. Add mock test Signed-off-by: Stephen Sun <stephens@nvidia.com>
Address typos Fix issue: port qos map was not removed from the object store Fix issue: if 2 dscp to tc maps were created and then 1 is removed, the global map can be removed as well. Signed-off-by: Stephen Sun <stephens@nvidia.com>
Signed-off-by: Stephen Sun <stephens@nvidia.com>
There is one dscp to tc map which is set as global map Create a new one and then remove it, the global map is removed Add test case as well Signed-off-by: Stephen Sun <stephens@nvidia.com>
This is to fix issue sonic-net/sonic-buildimage#9088 |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
@neethajohn kindly reminder to review this fix. |
1 similar comment
@neethajohn kindly reminder to review this fix. |
@neethajohn - Can you please approve this PR ? |
neethajohn
reviewed
Feb 21, 2022
Signed-off-by: Stephen Sun <stephens@nvidia.com>
LGTM failed due to
which looks like a common issue. |
neethajohn
approved these changes
Feb 22, 2022
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azpw run |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
6 tasks
judyjoseph
pushed a commit
that referenced
this pull request
Mar 20, 2022
…pendencies among QoS tables (#2116) - What I did Fix issue config qos reload causing orchagent aborted via tracking dependencies among QoS tables 1. Track dependencies among QoS tables. 2. Won't call SAI remove API for an object if it is still referenced. 3. Support removing/replacing one field in PORT_QOS_MAP and QUEUE tables. 4. Optimize logic to handle QUEUE table. 5. Remove switch level DSCP_TO_TC map before the map is removed. 6. Add mock test - Why I did it Fix issue. - How I verified it Manually test and mock test. Signed-off-by: Stephen Sun <stephens@nvidia.com>
preetham-singh
pushed a commit
to preetham-singh/sonic-swss
that referenced
this pull request
Aug 6, 2022
…pendencies among QoS tables (sonic-net#2116) - What I did Fix issue config qos reload causing orchagent aborted via tracking dependencies among QoS tables 1. Track dependencies among QoS tables. 2. Won't call SAI remove API for an object if it is still referenced. 3. Support removing/replacing one field in PORT_QOS_MAP and QUEUE tables. 4. Optimize logic to handle QUEUE table. 5. Remove switch level DSCP_TO_TC map before the map is removed. 6. Add mock test - Why I did it Fix issue. - How I verified it Manually test and mock test. Signed-off-by: Stephen Sun <stephens@nvidia.com>
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.
What I did
Fix issue
config qos reload
causing orchagent aborted via tracking dependencies among QoS tablesWon't call SAI remove API for an object if it is still referenced.
Signed-off-by: Stephen Sun stephens@nvidia.com
Why I did it
Fix issue.
How I verified it
Manually test and mock test.
Details if related