Fix fabric firmware version path — add VikingEnterpriseSolutions key

The Redfish response nests the version under
Oem.VikingEnterpriseSolutions.Version.ActiveFirmwareVersion, not
Oem.Version.ActiveFirmwareVersion. Fixed in both redfish.py
(_get_fabric_fw_version, used by network check and firmware workflow)
and workflow_check.py (serial inline parsing).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-16 11:28:07 -04:00
parent f08550dbea
commit 6912680ed4
2 changed files with 2 additions and 0 deletions

View File

@@ -208,6 +208,7 @@ def _get_fabric_fw_version(password: str, host: str, iom: str) -> str:
)
if ok_flag and isinstance(data, dict):
version = (data.get("Oem", {})
.get("VikingEnterpriseSolutions", {})
.get("Version", {})
.get("ActiveFirmwareVersion"))
return version or "Unknown"