Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Credo][Ycable] Fix Credo firmware download API download_firmware flag #269

Merged
merged 1 commit into from
Mar 16, 2022
Merged
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
2 changes: 2 additions & 0 deletions sonic_y_cable/credo/y_cable_credo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1534,6 +1534,8 @@ def download_firmware(self, fwfile):
self.log_error("platform_chassis is not loaded, failed to download firmware")
return YCable.EEPROM_ERROR

self.download_firmware_status = self.FIRMWARE_DOWNLOAD_STATUS_NOT_INITIATED_OR_FINISHED

return YCableBase.FIRMWARE_DOWNLOAD_SUCCESS

def activate_firmware(self, fwfile=None, hitless=False):
Expand Down