Skip to content
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

Add verification to NOT upgrade BIOS for C93180YC-FX3S #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions nx-os/poap/poap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2041,6 +2041,13 @@ def is_bios_upgrade_needed():
except:
poap_log("Could not find chassis family.")

try:
chassis_out = cli("show version")
if "C93180YC-FX3S" in chassis_out:
last_upgrade_bios = 1
except:
poap_log("Could not find chassis family.")

poap_log("Comparing present BIOS version %d with base version %d" % (bios_number, last_upgrade_bios))
if bios_number < last_upgrade_bios:
poap_log("Bios needs to be upgraded as switch is "
Expand Down