-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[y_cable] add support for manual/standby mode in xcvrd for muxcable; …
…fix download firmware version retrieval logic while download firmware in progress (#220) This PR supports manual/standby mode support for mux_cable config in addition to auto/active. currently xcvrd would not create entries for mux_cable if the config is manual, and this PR resolves that problem. Functionally xcvrd will remain as same if we configure it as active/auto/manual This PR also addresses the problem when there is download firmware operation in progress and streaming_telemetry/CLI needs to query the firmware version. In this case we check the status of download_firmware for the port and retrieve the last known value for it from the state DB. If the download firmware API has failed, we will retrieve the version for cable and just log an error. Description Needed for manual/standby config for muxcable operation Motivation and Context Required for manual/standby config for muxcable operation Also addresses the problem when there is download firmware operation in progress and ST thread/CLI needs to query the firmware version case. In this case we check the status of download_firmware and retrieve the last known value for it for the state DB. Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
- Loading branch information
Showing
1 changed file
with
51 additions
and
19 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