[autorestart][Multi ASIC] support autorestart test for multi ASIC platform#3696
Merged
smaheshm merged 8 commits intosonic-net:masterfrom Jul 26, 2021
Merged
[autorestart][Multi ASIC] support autorestart test for multi ASIC platform#3696smaheshm merged 8 commits intosonic-net:masterfrom
smaheshm merged 8 commits intosonic-net:masterfrom
Conversation
smaheshm
commented
Jun 22, 2021
|
This pull request introduces 1 alert when merging ba4817d into 9268ecb - view on LGTM.com new alerts:
|
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
arlakshm
approved these changes
Jul 26, 2021
4 tasks
vmittal-msft
pushed a commit
to vmittal-msft/sonic-mgmt
that referenced
this pull request
Sep 28, 2021
…tform (sonic-net#3696) * For multi ASIC platform, added container names in meta data file for frontend and backend ASIC on which autorestart test will be performed.
yxieca
pushed a commit
that referenced
this pull request
Oct 22, 2021
…4070) What is the motivation for this PR? PR #3696 added container names in meta data file for frontend and backend ASIC on which autorestart test will be performed for multi-asic platform. This assumes that on a multi-asic platform, there are always front-end and back-end asics. However, on a VoQ chassis linecards don't have back-end asics. supervisor card has niether front-end nor back-end asics So, need to check if we have front-end or back-end asics before trying to add them to asic_services. How did you do it? If we have front-end or back-end asics, (len != 0), only then pick up randomly and add it to asic_services. How did you verify/test it? Tested on multi-asic linecard and supervisor card in a VoQ chassis.
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.
Description of PR
Made changes to run autorestart feature test on multi ASIC platforms.
Summary:
Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
Add multi ASIC platform to the autorestart test case.
How did you do it?
Add new values in meta data file, updated the fixture to return container names, updated APIs to work on mutli ASIC platform.
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation