Prompt for IOM1 or IOM2 in serial system check workflow

Mirrors the same change made to option 1 — asks which IOM the serial
cable is connected to after login, then uses that selection in all
Redfish paths for network settings, IOM firmware, and Fabric Card firmware.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-16 12:24:17 -04:00
parent d98fcdc265
commit 998fb034a2
2 changed files with 25 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ Updates IOM firmware and/or Fabric Card firmware over the network:
### 3 — System Check (`workflow_check.py`)
Read-only diagnostic workflow — queries current network settings and firmware versions, makes no changes:
- **Serial:** logs in via serial console, queries IOM1 only using `_serial_redfish_request()` (curl over the serial session); covers network settings, IOM firmware, and Fabric Card firmware. IOM2 is not reachable over serial.
- **Serial:** prompts for IOM1 or IOM2, logs in via serial console, queries the selected IOM using `_serial_redfish_request()` (curl over the serial session); covers network settings, IOM firmware, and Fabric Card firmware.
- **Network:** prompts for management IP(s), queries via direct HTTPS using `Admin` credentials; reuses `_redfish_request()`, `_get_iom_fw_version()`, `_get_fabric_fw_version()` from `redfish.py`
- Displays results in two tables: network configuration and firmware versions
- User selects Serial, Network, or Cancel at the sub-menu prompt