Added pre-upgrade validation for N9K-C9408 with more than 6 N9K-X9400-16W LEM's for the bug CSCws82819#354
Open
Harinadh-Saladi wants to merge 5 commits intodatacenter:masterfrom
Conversation
…2f and later with 6 or more LEMs'
dhaselva
reviewed
Feb 26, 2026
dhaselva
reviewed
Feb 26, 2026
dhaselva
reviewed
Feb 26, 2026
dhaselva
reviewed
Feb 26, 2026
dhaselva
reviewed
Feb 26, 2026
dhaselva
reviewed
Feb 27, 2026
dhaselva
reviewed
Mar 3, 2026
dhaselva
reviewed
Mar 3, 2026
dhaselva
reviewed
Mar 3, 2026
aci-preupgrade-validation-script.py
Outdated
| headers = ["Node ID", "Switch Model", "LEM Model", "LEM Count"] | ||
| data = [] | ||
| recommended_action = ( | ||
| "Upgrade from pre-16.1(2f) to 16.1(2f) or later on N9K-C9408 with 6 or more LEMs will result in boot loop. Do NOT proceed. Use fewer LEMs or choose a different version. " |
dhaselva
reviewed
Mar 3, 2026
tests/checks/n9k_c9408_model_lem_count_check/test_n9k_c9408_model_lem_count_check.py
Outdated
Show resolved
Hide resolved
| if tversion.older_than("6.1(2f)") or tversion.newer_than("6.2(1g)"): | ||
| return Result(result=NA, msg=VER_NOT_AFFECTED) | ||
|
|
||
| c9408_nodes = {} |
There was a problem hiding this comment.
use general variable match with existing structure.
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.
Tested in the lab and enclosed PASS, FAIL and NA scenarios.
CSCws82819_Logs.txt
CSCws82819_Pytest_Logs.txt
Note: FAIL and PASS logs enclosed in the attachment are simulated logs based on the available switch and line card model as we don't have the models N9K-C9408 and N9K-X9400-16W in our lab.