forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[y_cable] refactor upgrade firmware API's; Fix vendor and part number…
… API's read size for read_eeprom (sonic-net#174) This PR adds stub functions definition with details as to how firmware upgrade should be implemented by a Y cable vendor. It also fixes the read_eeprom read size for vendor part number and vendor name retreival API's Description Added a stub functions definition with a doc string describing how it should be implemented Added these API's stub functions for vendors to implement def download_firmware(physical_port, fwfile) def activate_firmware(physical_port) def rollback_firmware(physical_port) Motivation and Context Firmware upgrade is a functionality that vendors need to implement, this PR adds the definition's and a description of how the implementation of this firmware upgrade procedure API's should be implemented by breaking down the firmware upgrade into above specified sub routines. Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
- Loading branch information
Showing
1 changed file
with
66 additions
and
20 deletions.
There are no files selected for viewing
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